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 kouroshez/coding-os --skill typescriptgit clone --depth 1 https://github.com/kouroshez/coding-osWrote 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/kouroshez/coding-os/typescript)<a href="https://agentmods.dev/skills/kouroshez/coding-os/typescript"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/typescript/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/kouroshez/coding-os/typescript"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/typescript.svg" alt="Reviewed on agentmods" width="80" 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.00179 | $0.01482 |
| Opus 5.5 | $0.00072 | $0.00593 |
| Sonnet 5.5 | $0.00036 | $0.00296 |
| Haiku 4.5 | $0.00018 | $0.00148 |
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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript
TypeScript is only as safe as its strictness lets it be. With strict off (or any/! sprinkled in) it's JavaScript with extra syntax — the checker is on but blindfolded. The craft is letting the type system prove the bug can't happen, not narrating types after the fact.
Check a tsconfig for the strict flags that actually matter:
python3 scripts/check_tsconfig.py tsconfig.json
Strict is the floor
// tsconfig.json — the flags that catch real bugs
{
"compilerOptions": {
"strict": true, // the umbrella — turn it on, always
"noUncheckedIndexedAccess": true, // arr[i] is T | undefined (it really is!)
"noImplicitOverride": true,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true
}
}
strict: true enables noImplicitAny, strictNullChecks, and more — without it, null/undefined are assignable everywhere and the #1 class of runtime crash goes uncaught. noUncheckedIndexedAccess is the highest-value non-default: it makes arr[i] honestly T | undefined. Full rationale → references/strictness.md.
unknown, never any
// Wrong — any disables the checker for everything downstream; the bug ships
function parse(json: string): any { return JSON.parse(json); }
const u = parse(s); u.naem.toUpperCase(); // typo compiles, crashes at runtime
// Correct — unknown forces you to narrow before use
function parse(json: string): unknown { return JSON.parse(json); }
const u = parse(s);
if (isUser(u)) u.name.toUpperCase(); // narrowed via a type guard
any is a hole in the type system that spreads — every value derived from an any is any. unknown is the safe top type: you must narrow it before you touch it. Reserve any for genuinely untypable third-party seams, and isolate it behind a typed wrapper.
Discriminated unions over optional-flag soup
// Wrong — every field optional; illegal combinations compile
type Result = { ok?: boolean; data?: User; error?: string };
// Correct — a discriminant makes illegal states unrepresentable
type Result =
| { status: "ok"; data: User }
| { status: "error"; error: string };
function render(r: Result) {
if (r.status === "ok") r.data; // narrowed — r.error doesn't exist here
else r.error; // exhaustive
}
What ships with it
5 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 First seen · 111 lines · 179 tokens per session scan A edead08b36c1
typescript is a skill published in the GitHub repository kouroshez/coding-os (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 179 tokens to every session and 1,482 once invoked, about $0.0007 per session on Opus 5.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.
typescript compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| typescriptkouroshez/coding-os | Skill | 7 | yesterday | Apache-2.0 | A | 179 | Claude Code |
| no-bare-castsprisma/orm | Skill | 48k | today | 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 | yesterday | MIT | A | 58 | Claude Code, Codex |
| dd-code-generationDataDog/pup | Skill | 1.0k | today | Apache-2.0 | A | 16 | Claude Code |
| fast-typescript-checkinternet-development/www-sacred | Skill | 1.6k | 13d ago | MIT | A | 84 | Claude Code, Codex |
| typescript-magicianmcollina/skills | Skill | 2.0k | 14d ago | MIT | A | 108 | Claude Code, Codex |