Agent skill

Typescript

by ccusage in ccusage/ccusage

Guides ccusage TypeScript and JavaScript work. An agent skill from ccusage/ccusage.

Custom licenceAuto-check passedFrontend & Design

Install Typescript

skills CLI
$ npx skills add ccusage/ccusage --skill typescript -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ccusage/ccusage typescript --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ccusage/ccusage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/typescript .claude/skills/typescript && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
typescript
GitHub stars
19k
Token cost
~696 tokens
SKILL.md length
300 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
Custom licence

At a glance

Guides ccusage TypeScript and JavaScript work. An agent skill from ccusage/ccusage.

  • Tasks that involve React components
  • SKILL.md covers Style and Routing
  • Calls just

What it does

Typescript is an agent skill from ccusage/ccusage. Guides ccusage TypeScript and JavaScript work. Use before reading or editing .ts, .tsx, .js, or .jsx files, including the npm launcher, Node tests, build and fixture scripts, mocks, and typed literals.

Its SKILL.md is about 700 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering React components. It works with TypeScript, JavaScript and npm.

When your agent uses it

  • Tasks that involve React components

Example prompts

  • “Use the typescript skill to guide ccusage TypeScript and JavaScript work. An agent skill from ccusage/ccusage”
  • “/typescript”

What it can do on your machine

Read from SKILL.md and the folder at commit d2fd844. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • just

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Typescript loads about 696 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 300 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~696

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 300 words (~696 tokens).

“Runtime CLI behavior lives in Rust under rust/. New adapter logic belongs there, not here, unless the user scopes work to the package layer. What remains in TypeScript and JavaScript:”

— opening of SKILL.md by ccusage, Custom licence
name
typescript
paths
**/*.ts, **/*.tsx, **/*.js, **/*.jsx
globs
*.ts,*.tsx,*.js,*.jsx

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/typescript of ccusage/ccusage.

Open the folder on GitHubat commit d2fd844

Compare with similar skills

Typescript next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Typescript compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Typescript this skillccusage/ccusage19k—~696Automated safety check: PassCustom licence
Typescript Best Practicesbretzel-app/crumbs1271 repos~2.2kAutomated safety check: PassMIT
Compare Array Bundle SizePostHog/posthog-js613—~599Automated safety check: PassCustom licence
Connect Component To Figmadequelabs/cauldron129—~2kAutomated safety check: PassMPL-2.0
npm Library Setupvana-com/personal-server116—~1.1kAutomated safety check: PassMIT
Spotpatchhuanglvjing/spotpatch134—~998Automated safety check: PassMIT

Similar skills

  • Typescript Best Practices

    bretzel-app/crumbs

    Provides TypeScript patterns for type-first development, making illegal states unrepresentable, exhaustive handling, and runtime validation.

    127 GitHub starsUsed in 1 repo~2.2k tokens
    Frontend & DesignAuto-check passed
  • Compare Array Bundle Size

    PostHog/posthog-js

    Official

    Quickly compare the posthog-js array.js bundle size in the current working tree against a git baseline using the repository's esbuild proxy.

    613 GitHub stars~599 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Connect Component To Figma

    dequelabs/cauldron

    Add a Figma Code Connect (.figma.tsx) file for a Cauldron React component.

    129 GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • npm Library Setup

    vana-com/personal-server

    Comprehensive guidance on setting up npm libraries with package.json, with a preference for ES Modules (ESM).

    116 GitHub stars~1.1k tokensUpdated 29 days ago
    Frontend & DesignAuto-check passed
  • Spotpatch

    huanglvjing/spotpatch

    为 React 项目建立从浏览器页面元素到精确 JSX/TSX 源码、结构化上下文与可审阅修改的 SpotPatch 工作流。用户提到 SpotPatch、截图沟通前端修改、页面元素定位源码、Vite 或 Next.js 接入、组件数据链路、结构化 Prompt、AI 补丁审阅、安装检查或故障排查时使用此技能。

    134 GitHub stars~998 tokensUpdated 9 days ago
    Frontend & DesignAuto-check passed
  • Fork And Go

    SimplePDF/simplepdf-embed

    Guided walkthrough for forking and deploying your own SimplePDF Copilot: hosting choice, Pro-account confirmation, AI-provider wiring, demo customization, deploy, and the SimplePDF whitelist step.

    407 GitHub stars~7.9k tokensUpdated 7 days ago
    Frontend & DesignAuto-check: notes

More from ccusage/ccusage

All 17 skills in this repo
  • Nushell

    ccusage/ccusage

    Guides ccusage Nushell scripts. An agent skill from ccusage/ccusage.

    19k GitHub stars~938 tokensUpdated today
    Auto-check passed
  • Rust Binary Size

    ccusage/ccusage

    Guides Rust binary size reduction for ccusage. An agent skill from ccusage/ccusage.

    19k GitHub stars~591 tokensUpdated today
    Auto-check passed
  • Skill Creator

    ccusage/ccusage

    Guides repo-local skill creation and updates. An agent skill from ccusage/ccusage.

    19k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • TDD

    ccusage/ccusage

    Guides t-wada Red-Green-Refactor TDD for ccusage logic changes.

    19k GitHub stars~665 tokensUpdated today
    Auto-check passed
  • Commit

    ccusage/ccusage

    Creates atomic Conventional Commits. An agent skill from ccusage/ccusage.

    19k GitHub stars~722 tokensUpdated today
    Auto-check passed
  • Create PR

    ccusage/ccusage

    Runs the full PR lifecycle. An agent skill from ccusage/ccusage.

    19k GitHub stars~646 tokensUpdated today
    Auto-check passed

Questions about Typescript

What does Typescript do?

Guides ccusage TypeScript and JavaScript work. An agent skill from ccusage/ccusage. Typescript is an agent skill from ccusage/ccusage. Guides ccusage TypeScript and JavaScript work.

When should I use Typescript?

Typescript fits situations like: tasks that involve React components.

How do I install Typescript in Claude Code?

Run `npx skills add ccusage/ccusage --skill typescript -a claude-code`. Or copy the skill folder (.agents/skills/typescript in ccusage/ccusage) into .claude/skills/typescript in your project. Claude Code loads it when a task matches its description.

How do I install Typescript in Codex?

Run `npx skills add ccusage/ccusage --skill typescript -a codex`. Or copy the skill folder (.agents/skills/typescript in ccusage/ccusage) into .agents/skills/typescript in your project. Codex loads it when a task matches its description.

Can I use Typescript in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ccusage/ccusage --skill typescript -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/typescript, .gemini/skills/typescript, .github/skills/typescript and .opencode/skills/typescript in your project.

What does Typescript need to run?

Going by SKILL.md and its folder, Typescript needs the command-line tools its instructions call (just).

Does Typescript access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Typescript safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Typescript use?

Typescript has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Typescript use?

About 696 tokens (SKILL.md is roughly 2.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Typescript?

Skills that share tags, products or a category with Typescript: Typescript Best Practices (bretzel-app/crumbs, 127 stars), Compare Array Bundle Size (PostHog/posthog-js, 613 stars), Connect Component To Figma (dequelabs/cauldron, 129 stars) and npm Library Setup (vana-com/personal-server, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Typescript?

ccusage (a GitHub organization) maintains it in ccusage/ccusage, which has 18,901 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 7, 2026.

Source: ccusage/ccusage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.