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 skills add d-padmanabhan/agent-engineering-handbook --skill typescript-javascriptgit clone --depth 1 https://github.com/d-padmanabhan/agent-engineering-handbookWrote 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/d-padmanabhan/agent-engineering-handbook/typescript-javascript)<a href="https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/typescript-javascript"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/typescript-javascript/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/d-padmanabhan/agent-engineering-handbook/typescript-javascript"><img src="https://agentmods.dev/badge/skills/d-padmanabhan/agent-engineering-handbook/typescript-javascript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00085 | $0.02017 |
| Opus 5.5 | $0.00034 | $0.00807 |
| Sonnet 5.5 | $0.00017 | $0.00403 |
| Haiku 4.5 | $0.00009 | $0.00202 |
Grade A, and why
typescript-javascript scanned grade A with 1 finding 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 2mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
const response = await fetch(url, { How it starts
The opening of the file, as written. The whole thing — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript & JavaScript Development
Mandatory gates are owned by the JavaScript and TypeScript rule (${HANDBOOK_ROOT}/rules/225-javascript-typescript.mdc). This skill and its references own procedures and examples.
Guiding Principles
- Type Safety: Leverage strict mode, avoid
any, use discriminated unions - Explicit Over Implicit: Prefer explicit types for clarity and maintainability
- Modern Defaults: ESM, const/let, async/await, optional chaining
- Security First: Never use
eval, sanitize HTML, validate inputs
Quick Reference
| Aspect | TypeScript | JavaScript |
|---|---|---|
| Package Manager | pnpm preferred |
pnpm preferred |
| Module System | ES Modules | ES Modules + // @ts-check |
| Linting | eslint --max-warnings=0 |
eslint --max-warnings=0 |
| Formatting | Prettier | Prettier |
| Types | Strict mode | JSDoc types |
Non-Negotiables
NN-1: Validate at trust boundaries
Static types do not validate runtime data. Treat HTTP bodies, responses, webhooks, queue messages, localStorage/sessionStorage, environment variables, CLI args, and JSON files as unknown until validated with Zod or an explicit type guard.
Reject:
JSON.parse(raw) as Tawait response.json() as T- unchecked property access on remote JSON
as anyor double assertions (value as unknown as T)
NN-2: Fetch/API calls require timeout + status check + schema validation
Every service/network fetch must include a timeout, check response.ok, and validate the JSON shape before returning typed data.
import { z } from 'zod';
async function fetchJson<T>(
url: string,
schema: z.ZodType<T>,
options: RequestInit = {},
): Promise<T> {
const response = await fetch(url, {
...options,
signal: options.signal ?? AbortSignal.timeout(5_000),
headers: { Accept: 'application/json', ...options.headers },
});
if (!response.ok) {
throw new Error(`request failed: HTTP ${response.status}`);
}
return schema.parse(await response.json());
}
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2mo ago Changed · +5 lines ced3bfe44165
- 3mo ago First seen · 244 lines · 85 tokens per session scan A 8a3e6062b5c7
typescript-javascript is a skill published in the GitHub repository d-padmanabhan/agent-engineering-handbook (21 stars, last pushed 9d ago), licensed MIT. It adds 85 tokens to every session and 2,017 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
typescript-javascript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| typescript-javascriptd-padmanabhan/agent-engineering-handbook | Skill | 21 | 9d ago | MIT | A | 85 | Claude Code, Codex |
| no-bare-castsprisma/orm | Skill | 48k | yesterday | Apache-2.0 | A | 52 | Claude Code, Codex |
| aws-sst-developmentsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 26 | Claude Code |
| league-akari-shard-developmentLeagueAkari/LeagueAkari | Skill | 4.9k | 4d ago | MIT | A | 58 | Claude Code, Codex |
| dd-code-generationDataDog/pup | Skill | 1.1k | yesterday | Apache-2.0 | A | 16 | Claude Code |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 19d ago | MIT | A | 84 | Claude Code, Codex |
| typescript-magicianmcollina/skills | Skill | 2.0k | 20d ago | MIT | A | 108 | Claude Code, Codex |