node-typescript-boilerplate is a starter repository for Node.js projects written in TypeScript, with configurations and tools for modules, testing, linting, formatting, continuous integration, and local tool versions. Developers use it as a foundation for backend services, command-line tools, workers, APIs, and libraries. Its catalogue instructions guide coding agents working in projects based on the template.
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 instructions/jsynowiec/node-typescript-boilerplate/agents-mdgit clone --depth 1 https://github.com/jsynowiec/node-typescript-boilerplateWrote 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/instructions/jsynowiec/node-typescript-boilerplate/agents-md)<a href="https://agentmods.dev/instructions/jsynowiec/node-typescript-boilerplate/agents-md"><img src="https://agentmods.dev/badge/instructions/jsynowiec/node-typescript-boilerplate/agents-md.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 | $0.00543 | $0.00543 |
| Opus 5 | $0.00271 | $0.00271 |
| Sonnet 5 | $0.00109 | $0.00109 |
| Haiku 4.5 | $0.00054 | $0.00054 |
Grade A, and why
node-typescript-boilerplate AGENTS.md 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 4d 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 — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Ground rules (always)
- Be conservative, explicit, and boring.
- When unsure, ask; don’t guess.
- Make minimal, targeted changes; avoid refactors unless requested/necessary.
- Preserve existing structure, conventions, and tooling.
- Don’t add dependencies without strong justification.
TypeScript
- Write strict, idiomatic TS; follow the repo’s tsconfig and lint rules.
- No
any(useunknown, generics, or proper types). - Prefer
interfacefor public shapes;typefor unions/helpers. - Prefer immutability (
readonly,ReadonlyArray) where practical. - Narrow with type guards; avoid assertions and
!except as a last resort. - Prefer exhaustive handling (
neverchecks) for unions. - Treat caught errors as
unknownand narrow before use.
Node.js
- Target the repo’s supported Node LTS (don’t assume versions; check config/docs).
- Prefer
async/await; never swallow rejections. - Avoid module top-level side effects (I/O, network, reading env, global mutations) unless explicitly intended.
- Env vars: validate centrally; read at runtime (not import-time); don’t mutate in app code (tests only with scoped setup/teardown).
- Error handling: rethrow with context; preserve
causewhen available; don’t throw strings. - Library code should not log; CLIs may log intentionally with consistent exit codes.
Testing (Vitest)
- New logic requires tests unless truly trivial (types-only, re-exports, comments/formatting).
- Tests must be deterministic and isolated; avoid shared mutable state.
- Prefer behavioral tests; mock sparingly.
- No committed
.only/.skip(unless explicitly justified). - Bug fixes must include a regression test.
- Avoid snapshots unless they add clear value and are stable.
Style, docs, and security
- Follow existing formatting/lint; keep functions small and readable.
- Prefer named exports.
- Update docs/comments when behavior changes (comments explain “why”, not “what”).
- Never log secrets; validate/sanitize external inputs (paths/URLs/user data).
- Dependency adds must be justified (need, alternatives, maintenance/license/security impact).
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.
- 4d ago First seen · 49 lines · 543 tokens per session scan A 460d83f28212
node-typescript-boilerplate AGENTS.md is an instructions file published in the GitHub repository jsynowiec/node-typescript-boilerplate (2,953 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 543 tokens to every session, about $0.0027 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-08-30.
Other instructions, from other repositories
react-starter-kit AGENTS.md
AGENTS.md instructions for kriasoft/react-starter-kit, covering monorepo structure, tech stack, commands, database: bun db:{push,generate,migrate,studio,seed,export} and verification.
react-starter-kit CLAUDE.md
Claude Code instructions for kriasoft/react-starter-kit, a project described as: Modern React starter kit with Bun, TypeScript, Tailwind CSS, tRPC, Stripe, and Cloudflare Workers. Production-ready monorepo for building fast web apps.
react-starter-kit copilot-instructions.md
Copilot instructions for kriasoft/react-starter-kit: Read AGENTS.md in the repository root and any subdirectory AGENTS.md files for project context, conventions, and architecture details before making changes.
chassis AGENTS.md
Instructions for dvd90/chassis, covering agent guide, the 60-second mental model, do this, don't do this and where things live.
chassis copilot-instructions.md
Instructions for dvd90/chassis: This project follows the conventions in AGENTS.md — read it before making changes. Summary of the non-negotiables.
chassis CLAUDE.md
Instructions for dvd90/chassis: This project follows the conventions in AGENTS.md — read it before making changes. Summary of the non-negotiables.