typescript-stack

typescript-stack is a skill for Claude Code, Codex from fmind/dot. It costs 43 tokens per session (2,849 once invoked), scanned C, original, MIT.

A standard development setup for TypeScript, a programming language that adds type checking to JavaScript, and for Node.js services and packages.

In plain words
What is it for?
Use it to build TypeScript packages, Node services, command-line tools, and backend projects with pnpm, Vitest, Biome, and related checks.
Why use it?
It gives TypeScript and Node projects consistent tools for installing packages, checking types, formatting code, testing, and finding unused code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Install

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.

agentmods
npx agentmods add skills/fmind/dot/typescript-stack
Any agent
npx skills add fmind/dot --skill typescript-stack
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for typescript-stack

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/typescript-stack.svg)](https://agentmods.dev/skills/fmind/dot/typescript-stack)
Your own site
<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>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,849 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured yesterday against content hash 664f1118f4fb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 9 executable files (references/config.test.ts, references/config.ts, references/index.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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
skills/typescript-stack/SKILL.md · 87 lines

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); strict is on by default and erasableSyntaxOnly keeps sources runnable by node src/main.ts with no build step.
  • Dependencies: pnpm exclusively — pnpm add, pnpm exec, pnpm install --frozen-lockfile; commit pnpm-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 --noEmit is 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.ts files beside the code they cover.
  • Dependency hygiene: Knip is check:deps and starts from auto-detection; knip.json only lists what it provably cannot see.
  • Security: pnpm audit --audit-level high is check:vuln and gitleaks is check: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: pinopino-pretty locally, Cloud Logging JSON (severity, message) in production (logger.ts) per observability.
  • Publishing: publint as check:pkg for anything published to npm; pnpm dlx @arethetypeswrong/cli --pack . before the first release.

Read the full file on GitHub · 87 lines

Changes

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.

  1. yesterday Changed 664f1118f4fb
  2. 2d ago First seen · 87 lines · 43 tokens per session scan C eb16aa48c5b8

Subscribe to this mod's changes

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.