Borrowing it
Nothing to install: this file belongs to AkashGoenka/coldstart. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AkashGoenka/coldstart/main/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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/akashgoenka/coldstart/claude-md"><img src="https://agentmods.dev/badge/instructions/akashgoenka/coldstart/claude-md.svg" alt="Reviewed on agentmods" width="80" 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.06261 | $0.06261 |
| Opus 5.5 | $0.02504 | $0.02504 |
| Sonnet 5.5 | $0.01252 | $0.01252 |
| Haiku 4.5 | $0.00626 | $0.00626 |
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 1mo 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.
- 1mo ago Changed · +58 tokens per session f38cf10ed418
- 2mo 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 (11 stars, last pushed yesterday), licensed MIT. It adds 6,261 tokens to every session, about $0.0250 per session on Opus 5.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
weld testing.instructions.md
Test guidance for implementation changes.
weld copilot-instructions.md
Copilot instructions for configflux/weld: Use @docs/architecture/principles.md for architecture-sensitive changes.
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).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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.