Borrowing it
Nothing to install: this file belongs to davisjam/model-based-agentic-software-engineering. 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/davisjam/model-based-agentic-software-engineering/main/CLAUDE.mdgit clone --depth 1 https://github.com/davisjam/model-based-agentic-software-engineeringWrote 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/davisjam/model-based-agentic-software-engineering/claude-md)<a href="https://agentmods.dev/instructions/davisjam/model-based-agentic-software-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/davisjam/model-based-agentic-software-engineering/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/davisjam/model-based-agentic-software-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/davisjam/model-based-agentic-software-engineering/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.32137 | $0.32137 |
| Opus 5.5 | $0.12855 | $0.12855 |
| Sonnet 5.5 | $0.06427 | $0.06427 |
| Haiku 4.5 | $0.03214 | $0.03214 |
Grade C, and why
model-based-agentic-software-engineering CLAUDE.md scanned grade C with 3 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 today.
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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
`rm -rf` leaves dangling worktree registrations behind. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- **The honest end-to-end check is the PUBLISHED PAGE**, not the pipeline: `curl` the URL and Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
`-C`; reach for it rather than `subprocess.run(["git", …], cwd=…)`. How it starts
The opening of the file, as written. The whole thing — 1,499 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md — agent-governance-mechanisms
This repo is a pattern catalogue: 85 governance mechanisms that keep a fleet of autonomous coding agents productive while bounding their failures, each written as a Gang-of-Four-style design pattern. It is published as a static GitHub Pages site and embedded in a parent repo as a git submodule.
catalog.py is the one tool — stdlib-only, no dependencies (so python3 catalog.py … runs on a
fresh checkout with nothing installed). Do not add pip dependencies; keep it clone-and-run.
Site is a preview; the book claims and expands
The published site — the landing, the catalogue views, the entry pages — is a preview: concise
framings and entry points. The book (under book/) is where each idea is claimed and expanded.
Two jobs, one for each surface.
The standing implication: book coverage ⊇ site framings. Any conceptual framing that appears on the
site should have a fuller treatment in the book. When you add a framing to the site's landing prose (the
LANDING_INTRO, the schools, the ways, the spectrum axis) or an entry page, either the book already
expands it or you owe it a home there. Site-only material is limited to adoption and navigation —
DIY-vs-install, the nav cards, the quick-start; those need no book counterpart. Everything conceptual does.
What is a mechanism?
A mechanism is a recurring, failure-killing pattern of governance — written like a Gang-of-Four design pattern: the failure class it prevents, the shape that prevents it, and why it is not just the cheaper thing everyone already does. A mechanism earns its own entry only when it clears three bars:
- It kills a failure class, not a one-off bug. If you can't name the recurring failure, it isn't a mechanism yet.
- It's distinct. It does something the naive or adjacent alternative can't — every entry must survive its own "Why it's not just [X]" section. Two entries built on the same pattern are distinct only when they vary a named axis (lock cardinality, object model, enforcement scope, domain); if nothing varies, merge them.
- Its examples instantiate it. Every example — in Motivation, in "Why it's not just…", in Known uses — must be a real case of this mechanism, not a sibling's. (A relational config-field ⊆ sample check is a coherence lint, not a per-source semantic lint — so cite it under coherence only.) An example borrowed from a neighbour blurs the exact boundary the catalogue exists to draw.
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.
- today Changed · +16 lines · +336 tokens per session 9ae792e9c5ed
- 12d ago Changed · +65 lines · +1,314 tokens per session 16615f8b5e85
- 13d ago Changed · +69 lines · +1,508 tokens per session scan A → C fddc6a6a94c9
- 19d ago Changed · +34 lines · +716 tokens per session 51d309915e25
- 20d ago Changed · +56 lines · +1,253 tokens per session ce311e4c8f18
- 24d ago Changed · +26 lines · +601 tokens per session 562e911b7130
- 25d ago Changed · +92 lines · +2,035 tokens per session afe0f00a636e
- 26d ago Changed · +145 lines · +3,191 tokens per session eaba464ddc15
- 27d ago Changed · +40 lines · +817 tokens per session 84952cc70bd1
- 28d ago First seen · 956 lines · 20,366 tokens per session scan A 4b9581f4872a
model-based-agentic-software-engineering CLAUDE.md is an instructions file published in the GitHub repository davisjam/model-based-agentic-software-engineering (64 stars, last pushed yesterday), licensed MIT. It adds 32,137 tokens to every session, about $0.1285 per session on Opus 5.5. A static security scan graded it C with 3 findings (recursive force delete, makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
model-based-agentic-software-engineering CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| model-based-agentic-software-engineering CLAUDE.mddavisjam/model-based-agentic-software-engineering | Instructions file | 64 | yesterday | MIT | C | 32,137 | 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 |