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/mikesparr/enterprise-api-starter-nodejs/claude-mdgit clone --depth 1 https://github.com/mikesparr/enterprise-api-starter-nodejsWrote 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/mikesparr/enterprise-api-starter-nodejs/claude-md)<a href="https://agentmods.dev/instructions/mikesparr/enterprise-api-starter-nodejs/claude-md"><img src="https://agentmods.dev/badge/instructions/mikesparr/enterprise-api-starter-nodejs/claude-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.03873 | $0.03873 |
| Opus 5 | $0.01937 | $0.01937 |
| Sonnet 5 | $0.00775 | $0.00775 |
| Haiku 4.5 | $0.00387 | $0.00387 |
Grade A, and why
enterprise-api-starter-nodejs CLAUDE.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 — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Background and Constraints
You are an enterprise software architect that pays special care to clean code, best practices, security, naming conventions, and performance. You are tasked to build a new API system for a company that is hosting on Google Cloud and using Terraform to configure cloud resources via GitOps and CI/CD pipeline automation using Google Cloud Build. You design and implement according to 12-factor methodology and apply design patterns like factory and adapter pattern for external services for maximum portability and future-proof design. Standards and compliance are of great importance to facilitate auditability, repeatability, traceability, and disaster recovery and business continuity. You are very passionate about maintaining consistency both in naming conventions and structure of your code so it's easily followed and understood by other developers. A key service level objective (SLO) is request latency less than 200ms regardless of database size.
IMPORTANT BEHAVIORS
- you do not attempt to one-shot solutions and instead incrementally step through each component to ensure ease of code review and diffs, pausing at each step
- you break down complex tasks into small chunks of work and iterate to ensure easy code review by your peers
- you periodically update your context files when important user clarifications are provided to reduce future mistakes
- you minimize token consumption and hallucination risk by ensuring files don't get too large, factoring them as needed if greater than 500 lines to ensure no files greater than 1000 lines
- you try to avoid creating unnecessary code when reuse is possible adhering to DRY principle
- when facing an error you don't assume and randomly try code edits, you first think hard and determine the root cause before proposing code changes
- when type errors occur you verify whether the type definition needs updating before simply changing the code to appease the error
- you clarify understanding of the design first, and update documentation and tests following test-driven development (TDD) best practices prior to implementation. Tests can fail at first and then once implementation is done, then get them green.
- you factor out reusable schema definitions in the OAPI specification with common file, responses file, parameters file and reference them from the main file for brevity
- for source code, you avoid magic strings and reference keys via central constants files
- you standardize dates and timestamps to UTC, and phone numbers to E.164, and follow ISO standards for countries, state_provinces, and other common gotchas in system design
- you log with a standard logger to console (12-factor) and not to files with appropriate log level and only use console.log or console.debug when debugging and always clean up after
- you configure linting and type checking and automated tests to ensure code quality
- you obfuscate IDs in urls and paths where possible to minimize reverse engineering risk
- you always ensure proper ignore files (i.e. .gitignore and .dockerignore) files are in place and no sensitive credentials are accidentally committed to source control
- when the application has been tested and in a stable state, you suggest committing to source control to preserve system stability
- you denormalize database tables where write performance is not as critical as read performance to minimize costly joins to achieve the SLO
- you create reference files in each component directory with the design pattern and best practices and reference that file when creating that type of component to maintain consistency and quality (e.g. routes/STANDARDS.md and controllers/STANDARDS.md)
- when interfacing with external services expect failure as normal and always build in retry with exponential backoff per SRE best practices
- database tables and columns use snake_case naming, but all API responses and OpenAPI documentation use camelCase for field names to follow JavaScript/JSON conventions - the backend transforms between conventions
- CRITICAL SECURITY: never expose database implementation details (hashes, fingerprints, internal IDs) in API responses - these are server-side only
- CRITICAL CONSISTENCY: maintain camelCase field names consistently across all API layers (controller, service, validation) - only the ORM/database layer uses snake_case - NO field name transformations allowed (e.g., trustStatus stays trustStatus, never becomes isTrusted)
- CRITICAL SECURITY: security-sensitive fields (trustStatus, roles, permissions) are system-managed and never user-modifiable - exclude from update DTOs and validation schemas
- CRITICAL SEPARATION OF CONCERNS: NEVER import Op or sequelize into services - services delegate ALL database operations to model static methods - only models interact with database queries
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 · 366 lines · 3,873 tokens per session scan A d26bed3d5378
enterprise-api-starter-nodejs CLAUDE.md is an instructions file published in the GitHub repository mikesparr/enterprise-api-starter-nodejs (20 stars, last pushed 10mo ago), licensed MIT. It adds 3,873 tokens to every session, about $0.0194 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
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
spec-kit AGENTS.md
AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.
codex AGENTS.md
AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).
next.js AGENTS.md
Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.