Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/dhaupin/vant/vant-skill-typescriptnpx skills add dhaupin/vant --skill vant-skill-typescriptgit clone --depth 1 https://github.com/dhaupin/vantWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/dhaupin/vant/vant-skill-typescript)<a href="https://agentmods.dev/skills/dhaupin/vant/vant-skill-typescript"><img src="https://agentmods.dev/badge/skills/dhaupin/vant/vant-skill-typescript.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00006 | $0.00254 |
| Opus 5 | $0.00003 | $0.00127 |
| Sonnet 5 | $0.00001 | $0.00051 |
| Haiku 4.5 | $0.00001 | $0.00025 |
Grade A, and why
typescript scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
TypeScript
Typed JavaScript.
When To Use
- Type safety needed
- Large codebases
- Modern JS projects
What To Do
1. Types
interface User {
id: number
name: string
email?: string // optional
}
function getUser(id: number): User {
return { id, name: 'User' }
}
2. Generics
function first<T>(arr: T[]): T {
return arr[0]
}
3. Compile
npx tsc --init
npx tsc
npx tsc --watch
4. Config
{
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"strict": true
}
}
Role: TypeScript Developer
Input: .ts files
Output: .js files
Typed JS.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 74 lines · 6 tokens per session scan A c0d7004a254f
typescript is a skill published in the GitHub repository dhaupin/vant (9 stars, last pushed 7d ago), licensed MIT. It adds 6 tokens to every session and 254 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
typescript-strict
TypeScript strict mode patterns with interfaces, type guards, generics, and utility types. Use when defining types, creating type-safe functions, handling nullable values, or implementing generic components.
python-run
Run and debug Python scripts in the project. Use when the user says "run python", "execute this script", "debug this py file", or wants to run/modify a .py file. Handles dependency checks, linting, execution, and error analysis.
goga-lang-disp
Detects the project language and dispatches execution to the matching language-specific skill. Apply this specification within the calling skill's context. Do not restate the contents — use them for decision-making.
react-dev
This skill should be used when building React components with TypeScript, typing hooks, handling events, or when React TypeScript, React 19, Server Components are mentioned. Covers type-safe patterns for React 18-19 including generic components, proper event typing, and routing integration (TanStack Router, React…
react-best-practices
Modern React development guidelines covering hooks, component patterns, state management, performance optimization, and TypeScript integration.
javascript-typescript
JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks. Use for frontend, backend, or full-stack JavaScript/TypeScript projects.