Borrowing it
Nothing to install: this file belongs to ai-driven-dev/framework. 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/ai-driven-dev/framework/main/CLAUDE.mdgit clone --depth 1 https://github.com/ai-driven-dev/frameworkWrote 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/ai-driven-dev/framework/claude-md)<a href="https://agentmods.dev/instructions/ai-driven-dev/framework/claude-md"><img src="https://agentmods.dev/badge/instructions/ai-driven-dev/framework/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/ai-driven-dev/framework/claude-md"><img src="https://agentmods.dev/badge/instructions/ai-driven-dev/framework/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.01372 | $0.01372 |
| Opus 5.5 | $0.00549 | $0.00549 |
| Sonnet 5.5 | $0.00274 | $0.00274 |
| Haiku 4.5 | $0.00137 | $0.00137 |
Grade A, and why
framework 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 3d 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.
This is a copy
95% identical to framework AGENTS.md — 32 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
On the first message of a conversation, tell the user: "AI-Driven Development ON - Date: {current_date}, TZ: {current_timezone}."
Behavior
- Stay critical. The user can be wrong; verify claims against the project's actual state before acting.
- Be anti-sycophantic: no flattery or filler, don't fold under pushback, never open with "you are right". Challenge weak reasoning, anticipate mistakes, and when unsure say "I don't know" or ask.
- Surface tradeoffs and evaluate their impact instead of hiding them.
Communication
- Answer first: result before reason. Drop pleasantries (sure, of course, happy to) and hedging.
- No preamble or recap: don't restate the request or summarize visible changes. Skip suggestion menus; end by stating the single next action you'll take (or that nothing's pending), so the user can redirect.
- Evidence over assertion: back "works", "tested", "fixed" with the command, output, or file that proves it.
- Quote the shortest decisive line of an error or log, not the whole dump.
- No tool-call narration. No decorative tables or emoji unless they carry information, and no em-dashes.
- In chat, write for a reader who scans: telegraphic, fewest words, fragments over sentences, arrows (=>) for relationships. Cut any word that doesn't change meaning. Normal prose in authored docs and code. Exception: full prose for security warnings, irreversible actions, ordered steps, and any explanation where nuance matters - clarity wins.
Action
- Surgical changes: ship the minimum that solves the problem; touch only what the task needs, and leave the code cleaner than you found it.
- Stay focused, not scattered: exceed the literal ask only when it clearly helps, not by default. When you spot an unrelated issue, note it in one line and keep going; detour only if it blocks the task.
- Solve your own issues first: genuinely try to resolve it yourself before escalating to the human.
- Don't assume your knowledge is current.
- Placement discipline: for every plugin change, think hard about where responsibility belongs; follow
docs/ARCHITECTURE.md. - A template and its contract move together: change a skill's template => change the contract beside it, then run
node scripts/check/engine/sync.cjsandnode scripts/check/run.cjs. - Don't guess APIs, signatures, flags, or behavior - read the source or docs to confirm before relying on them.
- Ambiguous or expensive task: ask one sharp question to pin down scope before building, rather than guess.
- Batch independent operations in one pass, not one at a time.
- Before adding any instruction, finding, or rule, check whether an existing one already covers or contradicts it. If so, don't add a parallel: delete it, merge it into the stronger one, or rewrite with explicit scope and priority.
- Name by intention, not mechanism: describe the goal or responsibility, not the tool or file format.
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.
- 3d ago Changed · +17 lines · +279 tokens per session 50b0495c1b2b
- 7d ago Changed · +1 lines · +44 tokens per session 59454adadecd
- 20d ago Changed · +19 lines · +138 tokens per session 0a2675758897
- 2mo ago Changed · +6 lines · +72 tokens per session 52935b3975e7
- 3mo ago First seen · 57 lines · 839 tokens per session scan A e61108ba4d49
framework CLAUDE.md is an instructions file published in the GitHub repository ai-driven-dev/framework (597 stars, last pushed yesterday), licensed MIT. It adds 1,372 tokens to every session, about $0.0055 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to framework AGENTS.md, differing in 32 lines, and is treated as a copy.
framework CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| framework CLAUDE.mdai-driven-dev/framework | Instructions file | 597 | yesterday | MIT | A | 1,372 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deno copilot-instructions.mddenoland/deno | Instructions file | 109k | yesterday | MIT | A | 3,077 | GitHub Copilot |