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 skills add Draco-Cheng/ai-readme-mcp --skill ai-readmegit clone --depth 1 https://github.com/Draco-Cheng/ai-readme-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/skills/draco-cheng/ai-readme-mcp/ai-readme)<a href="https://agentmods.dev/skills/draco-cheng/ai-readme-mcp/ai-readme"><img src="https://agentmods.dev/badge/skills/draco-cheng/ai-readme-mcp/ai-readme/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/skills/draco-cheng/ai-readme-mcp/ai-readme"><img src="https://agentmods.dev/badge/skills/draco-cheng/ai-readme-mcp/ai-readme.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.00043 | $0.00821 |
| Opus 5.5 | $0.00017 | $0.00328 |
| Sonnet 5.5 | $0.00009 | $0.00164 |
| Haiku 4.5 | $0.00004 | $0.00082 |
Grade A, and why
ai-readme 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AI README Manager
Usage: /ai-readme [audit|context <path>|init|fix]
This skill does not reimplement the MCP tools. It supplies the two things the tools cannot: the judgment call about what deserves recording, and the multi-step flows that chain several tools together.
Never write to an AI_README with Write/Edit — a PreToolUse hook denies it. Route every
change through update_ai_readme.
Judgment: is this worth recording?
Record only when both hold:
- Used in 2+ files, and
- Non-obvious — an AI reading the code alone would get it wrong.
| Record | Skip |
|---|---|
bcrypt direct, NOT passlib |
"We use async/await" |
Tests via tsx --test, NOT vitest |
Directory structure |
ESM imports need .js extensions |
Standard naming conventions |
| Shared temp dir breaks parallel tests | Framework defaults |
Keep the fact plus the why, but only when the why is what stops a future agent from
reverting it. Drop the how — where it lives, what toggles it, the step-by-step mechanism.
Those become a single See <file>. pointer.
One - bullet is one fact. A run-on chaining facts with ; or then is a wall; break
it into bullets rather than growing it.
audit
discover_ai_readmes(projectRoot)— list every file.validate_ai_readmes(projectRoot)— collect issues and token counts.- Report a table: path, token count, budget status, issues.
- For each over-budget file, apply the decision tree below.
- Never fix without showing the user the plan first.
fix — over-budget decision tree
Check in this exact order; the dominant-section test wins over the section count.
- One section ≥40% of the file → SPLIT that section into its own AI_README in the relevant subdirectory.
- Otherwise, ≥6 sections → RESTRUCTURE: split the directory by feature. Needs explicit user confirmation, since it moves files.
- Otherwise → REWRITE the file more densely.
Try compress_ai_readme first — it strips filler with deterministic regex only. On
already-tight content it cannot shrink further and will say so; that is the signal to
rewrite rather than compress again.
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 First seen · 87 lines · 43 tokens per session scan A 996c276803d2
ai-readme is a skill published in the GitHub repository Draco-Cheng/ai-readme-mcp (3 stars, last pushed 5d ago), licensed MIT. It adds 43 tokens to every session and 821 once invoked, about $0.0002 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-11-28.
ai-readme compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai-readmeDraco-Cheng/ai-readme-mcp | Skill | 3 | 5d ago | MIT | A | 43 | Claude Code |
| knowledge-ingestopenclaw/openclaw | Skill | 396k | today | MIT | A | 80 | Claude Code, Codex |
| forgetasgeirtj/system_prompts_leaks | Skill | 74k | 3d ago | CC0-1.0 | A | 0 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 4d ago | Apache-2.0 | A | 217 | Claude Code, Codex |
| Cortexdanielmiessler/LifeOS | Skill | 21k | 13d ago | MIT | A | 184 | Claude Code |
| memoryopensquilla/opensquilla | Skill | 7.2k | 6d ago | Apache-2.0 | A | 44 | Claude Code, Codex |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | yesterday | MIT | A | 115 | Claude Code, Codex |