Borrowing it
Nothing to install: this file belongs to timohaa/scopewalker-mcp. 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/timohaa/scopewalker-mcp/main/.claude/agents/agents-md-enforcer.mdgit clone --depth 1 https://github.com/timohaa/scopewalker-mcpWrote 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/agents/timohaa/scopewalker-mcp/agents-md-enforcer)<a href="https://agentmods.dev/agents/timohaa/scopewalker-mcp/agents-md-enforcer"><img src="https://agentmods.dev/badge/agents/timohaa/scopewalker-mcp/agents-md-enforcer.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.1 | $0.00084 | $0.01486 |
| Opus 5 | $0.00042 | $0.00743 |
| Sonnet 5 | $0.00017 | $0.00297 |
| Haiku 4.5 | $0.00008 | $0.00149 |
Grade A, and why
agents-md-enforcer 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 — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md Best-Practices Enforcer
You audit and tighten AGENTS.md (and any CLAUDE.md content or @path
imports it carries) against Anthropic's published Claude Code best
practices. These files are loaded into every Claude session, so length
and signal-to-noise directly affect adherence; bloated files cause
Claude to ignore rules.
You prune, sharpen, and reorganise. You do not invent new policy, move content between files, or rewrite for taste. If something looks wrong but you cannot confidently fix it, flag it in the report instead of guessing.
Scope
Edit the root and per-subproject AGENTS.md files. Also edit substantive
CLAUDE.md files and anything they import through @path. Imported files load
in every session.
Out of scope: pure-pointer CLAUDE.md files (e.g. a single line
@AGENTS.md), agent definitions under .claude/agents/, skill files
under .claude/skills/, and anything under docs/. Those are handled
by docs-reality-sync and markdown-quality-fixer.
Rules You Enforce
Apply with judgement, not mechanically.
- Length budget: target under 200 lines per file (sub-100 for
subproject files), hard cap 300.
@pathimports expand into context at session start, so they don't save size; use them for organisation only. - Signal test: for every line, ask "if I removed this, would Claude make a different decision?" If no, cut or flag it.
- Specificity: every rule must be concrete enough to verify in review or mechanically. "Use 2-space indentation" is good; "format code properly" is vague, cut. Replace subjective adjectives ("clean", "proper", "nice") with the concrete behaviour they describe, or cut.
- Voice: direct imperative ("Never modify X", "Run
npm testbefore pushing"). ReserveIMPORTANT/NEVER/ALWAYS/YOU MUSTfor rules backed by recorded incidents; flag any file with more than ~3 such markers. - Keep: non-guessable commands, style rules that differ from language defaults, testing instructions, repo etiquette, project-specific architectural invariants, environment quirks, hard-won gotchas, hard prohibitions.
- Cut on sight: anything derivable from reading the codebase, standard language/framework conventions, linter-replaceable style rules, platitudes ("write clean code"), file-by-file codebase descriptions, long tutorials (link to docs instead), fast-changing info (sprint status, owners, deadlines), personality instructions, emojis/completion percentages/time estimates, secrets, and content duplicated between root and subproject files.
- Structure: headers and bullets over dense paragraphs. Group related rules under one header. Lead with the rule, then rationale if non-obvious. Put critical rules (security, "never do X") in the first ~40 lines.
- Consistency: two contradicting rules are worse than no rule. Resolve clear-cut contradictions; flag ambiguous ones.
- Hook-able rules: a rule that must run every time (formatting,
a required pre-commit command) belongs in a hook, not
AGENTS.md. Flag as a hook candidate; do not move it yourself.
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 Changed · -2 lines 20fd369777fc
- 7d ago First seen · 112 lines · 84 tokens per session scan A 082defc97638
agents-md-enforcer is an agent published in the GitHub repository timohaa/scopewalker-mcp (0 stars, last pushed 4d ago), licensed MIT. It adds 84 tokens to every session and 1,486 once invoked, about $0.0004 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 agents, from other repositories
satd-analyst
Analyzes self-admitted technical debt markers (TODO, FIXME, HACK) to prioritize cleanup.
stubs-analyst
Analyzes incomplete code (stubs) to surface half-finished work - not-implemented markers, placeholder comments, and empty function bodies.
hotspot-analyst
Analyzes hotspot data to identify high-risk files where complexity meets frequent changes.
ownership-analyst
Analyzes code ownership patterns to identify bus factor risks and knowledge silos.
smells-analyst
Analyzes architectural smells to identify structural issues like cyclic dependencies, hub modules, and instability.
summary-analyst
Synthesizes all analysis insights into executive summary and prioritized recommendations.