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 MSApps-Mobile/claude-plugins --skill md-composergit clone --depth 1 https://github.com/MSApps-Mobile/claude-pluginsWrote 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/msapps-mobile/claude-plugins/md-composer)<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/md-composer"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/md-composer/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/msapps-mobile/claude-plugins/md-composer"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/md-composer.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.00166 | $0.01399 |
| Opus 5.5 | $0.00066 | $0.00560 |
| Sonnet 5.5 | $0.00033 | $0.00280 |
| Haiku 4.5 | $0.00017 | $0.00140 |
Grade A, and why
md-composer 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 — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md Composer
Treat CLAUDE.md as a recipe book on the counter, not a filing cabinet. Every token in CLAUDE.md is loaded into every session — so keep only what's needed for every interaction, and push everything else to Skills, docs/, or Commands.
The 200-line rule
The root CLAUDE.md should fit on one screen (~200 lines max). If it doesn't, something belongs elsewhere.
When to use this skill
- Audit — user has an existing CLAUDE.md and wants it trimmed
- Compose — user wants a fresh CLAUDE.md for a project
- Refactor — split monolith into the 4-level hierarchy
- Flip — convert negative rule lists to positive equivalents
The 4-level hierarchy
Enterprise policy ← org-wide, IT-managed, highest precedence
↓
./CLAUDE.md ← project memory (committed)
↓
~/.claude/CLAUDE.md ← user memory (personal, all projects)
↓
./CLAUDE.local.md ← project local (gitignored, private)
Feature-level CLAUDE.md files in subdirs load only when Claude touches that subtree — use them to scope per-folder conventions (/api, /frontend) without paying the token cost globally.
Workflow
Step 1 — Audit existing file
Read the target CLAUDE.md and report:
- Line count (flag if >200)
- Token estimate (~4 chars/token)
- Bloat categories found (see reference/anti-patterns.md)
- Candidates for extraction (docs dumps, file preloads, step-by-step tutorials, negative rule spirals)
Step 2 — Classify every section
For each section, decide:
| Keep in CLAUDE.md | Extract |
|---|---|
| Project identity (2-3 sentences) | API documentation → docs/api.md |
| House rules (positive form) | Step-by-step workflows → Skill |
| Output preferences | Reusable prompts → slash command |
| Hard boundaries | File preloads (@file:…) — delete |
| Quick reference (paths, entry points) | Detailed reference tables → docs/ |
Step 3 — Apply the recipe-book template
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 First seen · 141 lines · 166 tokens per session scan A e23e1bef3ad9
md-composer is a skill published in the GitHub repository MSApps-Mobile/claude-plugins (12 stars, last pushed today), licensed MIT. It adds 166 tokens to every session and 1,399 once invoked, about $0.0007 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-10-12.
md-composer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| md-composerMSApps-Mobile/claude-plugins | Skill | 12 | today | MIT | A | 166 | Claude Code |
| decisionsemantica-agi/semantica | Skill | 15k | 2d ago | MIT | A | 55 | Claude Code |
| session-handoffSethGammon/Citadel | Skill | 943 | 4d ago | MIT | A | 35 | Claude Code |
| memoryrunxhq/runx | Skill | 106 | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| qmdckorhonen/claude-skills | Skill | 33 | 3d ago | MIT | A | 28 | Claude Code |
| optimizernaveedharri/benai-skills | Skill | 84 | 1mo ago | MIT | A | 215 | Claude Code |
| agentic-os-obsidiannaveedharri/benai-skills | Skill | 84 | 1mo ago | MIT | A | 154 | Claude Code |