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/akashgoenka/coldstart/claude-mdgit clone --depth 1 https://github.com/AkashGoenka/coldstartWrote 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/akashgoenka/coldstart/claude-md)<a href="https://agentmods.dev/instructions/akashgoenka/coldstart/claude-md"><img src="https://agentmods.dev/badge/instructions/akashgoenka/coldstart/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.06203 | $0.06203 |
| Opus 5 | $0.03102 | $0.03102 |
| Sonnet 5 | $0.01241 | $0.01241 |
| Haiku 4.5 | $0.00620 | $0.00620 |
Grade A, and why
coldstart 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 5d 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
coldstart-mcp
Lightweight navigation layer for AI agents. Answers one question: which files are relevant to this task? Fast static index over file paths, symbol names, and exports — queried via two operations, find (ranked file paths matched against declared names: filenames, path segments, exported symbols, plus a repo-wide grep-recall pass) and gs (for a single file: top-level symbols with per-symbol cross-file callers, 1-hop internal imports, reverse importers, and a "Edited together" section derived from git history — files that keep changing in the same commits, which is a habit and NOT a dependency edge, rendered in EVERY view because narrowing asks for less of the file rather than fewer channels; view: "full" is the default and returns all of it in one call). Both are exposed two ways with identical output: as CLI commands (coldstart find / coldstart gs) for shell-capable agents — the primary path — and as MCP tools (find / gs) for no-shell clients like Claude Desktop.
Architecture — one keeper, thin readers. The query surfaces are stateless readers over an on-disk cache; a single background keeper process keeps that cache fresh. It does NOT serve queries.
- Keeper (
coldstart --daemon,src/index.tsrunKeeper +src/index-manager.ts): watches the repo, patches/rebuilds the index, debounce-saves it to the disk cache. Lazy-spawned by the first reader (src/keeper.tsensureKeeper); logs to~/.coldstart/daemon/<root>.log; exits when its lockfile is removed, a foreign pid takes over the lock, or its own entry binary disappears (watchOwnBinaryinsrc/daemon-lock.ts— a 15 s poll, two consecutive misses, so a keeper self-reaps within ~30 s of annpm uninstall/moved install, the only shutdown path once the CLI is gone). The lock carries pid/rootDir/version (no port — it serves nothing). - CLI readers (
coldstart find/gs,src/cli.ts): load the cache under a load profile, run the same engine, print, exit. TheyensureKeeperso uncommitted edits stay live. Readers NEVER build: cache miss → wait for the keeper's first save (180 s); git-HEAD drift → wait for its reconcile re-save (12 s); in-process build only on the no-keeper fallback. - MCP reader (default invocation,
src/server/mcp.ts+src/index.tsmakeCacheReader): a long-lived stdio server that reads the keeper's cache and mtime-reloads when it changes. The keeper is the single freshness authority; the server has no watcher of its own.
Freshness (no TTL — deleted in v18). Validity = CACHE_VERSION + git HEAD + reconcile + live watcher. At keeper start, src/indexer/reconcile.ts stat-walks every indexed file against its [mtimeMs,size] fingerprint (stamped in baseIndexedFile) + git-diffs against the indexed HEAD, then patches exactly the changed set (branch switch = ~3 s patch, was a full rebuild). After every patch, src/indexer/invariants.ts lints the index (violation → auto-rebuild); after every save, a rotating 50-file fingerprint audit re-patches watcher-missed drift. keeper-state.json (last reconcile/patch/rebuild/save) + repair.jsonl (failures) sit beside the cache; status renders both. The keeper watches its own lockfile with pid-ownership + a 30 s poll backstop (foreign pid → exit).
find speed: the repo-wide reference scan resolves a real ripgrep (src/server/searcher.ts: COLDSTART_RG → PATH → bundled @vscode/ripgrep → editor-app copies; winner persisted in ~/.coldstart/searcher.json), falling back to git grep → grep → Node scan.
For Rails repos: the Ruby parser emits synthetic edges for has_many/belongs_to/has_one/has_and_belongs_to_many (gated to app/models/), parses config/routes.rb resources, and adds bidirectional controller↔views edges. Polymorphic associations and gem-backed models stay unresolved (runtime DSL).
Index pipeline: walk → parse (Tree-sitter via web-tree-sitter (WASM) — the native node-tree-sitter engine was dropped in #68; all 15 grammars are inert .wasm vendored in vendor/wasm/, loaded once by ensureParsersReady() in src/indexer/parser.ts, no per-grammar peer-dep / node-gyp / install scripts → plain npm i for TS/JS/JSX/TSX/Java/Ruby/Python/Go/Rust/C#/PHP/Kotlin/C++/YAML/TOML/XML/Groovy; SFC script blocks extracted from Vue/Svelte/Astro before TS parsing; GraphQL/.env/AngularJS 1.x via regex extractors; Swift/Dart not indexed) → resolve imports → build graph (including cross-file call edge resolution) → save cache. Behaviour is byte-identical to the old native engine (proven with natives pruned) and 1.3–3.6× faster through the walk-heavy extract phase.
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.
- 5d ago First seen · 57 lines · 6,203 tokens per session scan A db2cd3a8823c
coldstart CLAUDE.md is an instructions file published in the GitHub repository AkashGoenka/coldstart (9 stars, last pushed 9d ago), licensed MIT. It adds 6,203 tokens to every session, about $0.0310 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-31.
Other instructions, from other repositories
leantoken AGENTS.md
AGENTS.md instructions for morluto/leantoken, covering repository guidance, architecture, development, change-specific validation and contributions.
repolayer CLAUDE.md
Instructions for zhousiyao03-cyber/repolayer, covering claude.md, project, common commands, build / test and end-to-end usage.
astra copilot-instructions.md
Copilot instructions for nimelkot/astra: Astra uses the official MCP Python SDK and targets Python 3.10+. The MCP server is stdio-based and exposes the same core services as the CLI.
repobrain copilot-instructions.md
Copilot instructions for study8677/repobrain, covering github copilot bootstrap instructions and hard rule — query the repobrain hub first.
repobrain AGENTS.md
AGENTS.md instructions for study8677/repobrain: Beautiful is better than ugly. Explicit is better than implicit. Simple is better than complex. Complex is better than complicated. Flat is better than nested. Sparse is better than dense. Readability counts. Special cases aren't special enough to break the rules.…
mcpls copilot-instructions.md
Copilot instructions for bug-ops/mcpls, covering copilot instructions for mcpls, type safety, idiomatic rust, architecture and async.