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/fmind/dot/typescript-stacknpx skills add fmind/dot --skill typescript-stackgit clone --depth 1 https://github.com/fmind/dotWrote 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/fmind/dot/typescript-stack)<a href="https://agentmods.dev/skills/fmind/dot/typescript-stack"><img src="https://agentmods.dev/badge/skills/fmind/dot/typescript-stack.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.00043 | $0.02849 |
| Opus 5 | $0.00022 | $0.01425 |
| Sonnet 5 | $0.00009 | $0.00570 |
| Haiku 4.5 | $0.00004 | $0.00285 |
Grade C, and why
typescript-stack scanned grade C 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 yesterday.
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.
Instruction-override phrasinghighPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
- **The browser is untrusted**: Firebase web configuration ships to clients, but service-account credentials, model keys, and privileged operations stay server-side; Admin SDK calls bypass Security Rules, so server handl How it starts
The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TypeScript Stack Standard
Canonical TypeScript development: the shared toolchain, the Node package scaffold that Genkit flows, MCP servers, and Firebase Functions sit on, and the architecture choice behind a website. Angular application work belongs to angular; a general HTTP API, CLI, or TUI belongs to go-stack or python-stack.
1. Core & Quality Stack
- Runtime and language: Node LTS (24) with ESM only, TypeScript 7 (the Go-native compiler);
strictis on by default anderasableSyntaxOnlykeeps sources runnable bynode src/main.tswith no build step. - Dependencies:
pnpmexclusively —pnpm add,pnpm exec,pnpm install --frozen-lockfile; commitpnpm-lock.yaml. - Tasks and hooks: mise.toml exposes the canonical vocabulary per mise; lefthook.yml wires pre-commit and pre-push per lefthook.
- Formatting and linting: Biome (biome.json) owns TypeScript, JavaScript, JSON, and CSS plus import sorting; dprint (dprint.json) keeps Markdown, TOML, and YAML per dprint.
- Types:
tsc --noEmitis the type gate over sources, tests, and configs (tsconfig.json); tsconfig.build.json is the only config that emits. - Testing: Vitest with the v8 provider and an 85% coverage gate (vitest.config.ts); tests are
*.test.tsfiles beside the code they cover. - Dependency hygiene: Knip is
check:depsand starts from auto-detection; knip.json only lists what it provably cannot see. - Security:
pnpm audit --audit-level highischeck:vulnandgitleaksischeck:leaks; SAST is opt-in per opengrep. - Validation and config: Zod v4 parses every untrusted boundary;
loadConfig()reads the environment once at startup and fails fast (config.ts). - Logging:
pino—pino-prettylocally, Cloud Logging JSON (severity,message) in production (logger.ts) per observability. - Publishing:
publintascheck:pkgfor anything published to npm;pnpm dlx @arethetypeswrong/cli --pack .before the first release.
What ships with it
20 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.
- references/AGENTS.md 3.3 KB
- references/biome.json 480 B
- references/config.test.ts 364 B runs code
- references/config.ts 671 B runs code
- references/dprint.json 315 B
- references/env.example 239 B
- references/gitignore 180 B
- references/index.ts 145 B runs code
- references/knip.json 126 B
- references/lefthook.yml 538 B
- references/lib.test.ts 175 B runs code
- references/lib.ts 136 B runs code
- references/logger.test.ts 383 B runs code
- references/logger.ts 512 B runs code
- references/main.ts 398 B runs code
- references/mise.toml 2.6 KB
- references/package.json.template 686 B
- references/tsconfig.build.json 398 B
- references/tsconfig.json 1.1 KB
- references/vitest.config.ts 381 B runs code
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.
- yesterday Changed 664f1118f4fb
- 2d ago First seen · 87 lines · 43 tokens per session scan C eb16aa48c5b8
typescript-stack is a skill published in the GitHub repository fmind/dot (4 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 2,849 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
go-stack
Build Go projects, libraries, CLIs, TUIs, web apps, or ADK agents with the standard package layout and pinned tooling.
python-stack
Build typed Python projects with uv, Ruff, ty, pytest, Litestar, and Typer. Use for packages, CLIs, web apps, tests, typing, or API verification.
python-script
Write standalone single-file Python scripts using PEP 723 inline metadata and uv. Use when creating a quick CLI script that needs dependencies without a full project.
hugo
Canonical Hugo static-site stack with the Hextra docs theme — Hugo Modules, mise tasks, dprint, lefthook, and GitHub Pages deploy. Use for documentation sites, project docs, and static websites.
k8s-local
Create and manage local Kubernetes clusters (k3d or kind) and deploy to them with kubectl, helm, helmfile, and skaffold. Use for local k8s cluster setup, dev loops, and debugging.
release
Cut or verify a versioned release — bump semver, generate the changelog with git-cliff, tag and publish on GitHub, or reconcile an already-published tag and assets.