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 eranw2000/claude-maintenance-skills --skill split-claude-mdgit clone --depth 1 https://github.com/eranw2000/claude-maintenance-skillsWrote 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/eranw2000/claude-maintenance-skills/split-claude-md)<a href="https://agentmods.dev/skills/eranw2000/claude-maintenance-skills/split-claude-md"><img src="https://agentmods.dev/badge/skills/eranw2000/claude-maintenance-skills/split-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/skills/eranw2000/claude-maintenance-skills/split-claude-md"><img src="https://agentmods.dev/badge/skills/eranw2000/claude-maintenance-skills/split-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.00187 | $0.03738 |
| Opus 5.5 | $0.00075 | $0.01495 |
| Sonnet 5.5 | $0.00037 | $0.00748 |
| Haiku 4.5 | $0.00019 | $0.00374 |
Grade A, and why
split-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 24d 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 — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Split CLAUDE.md - prune, archive, consolidate, extract, compress, scope
An always-loaded file is re-read on every request of every session. Text in it is not stored once; it is paid for continuously. Six things grow over time:
- Old dated records load every turn even when no future session needs them.
- Recurring bugs accumulate as scattered prose with stale instance counts, so a future session cannot tell that a "new" bug is the Nth instance of a known one.
- Stable reference docs sit inline although they are consulted rarely, and every session that does not need them still pays for them.
- Rules accumulate their own evidence, and the war story outgrows the rule.
- Content the repository already answers gets written down and then goes stale, so the file starts contradicting the code.
- Rules that only matter for one file type load in every session regardless.
There are TWO reasons to cut, and the second one is usually missed. Cost is the obvious one. Adherence is the other: a longer file is followed less reliably, which Anthropic states twice. So a file sitting exactly at its cost threshold is not finished, and a rule being ignored is a reason to cut rather than a reason to restate the rule more loudly.
Read this first
reference/loading-model.md holds the mechanics every phase depends on: what
each destination costs, what loads lazily, what is free, what is lost after a
compaction, and the hard limits. Read it before choosing a destination for
anything. Two facts from it decide most of a run:
@pathimports do not reduce context. Imported files load at launch with the file that imports them. This is the usual wrong answer to a large CLAUDE.md and it saves nothing.- A rule moved to a lazy destination is LOST after a compaction until a matching file is read again. A rule that fires on a FILE survives that. A rule that fires on a CONVERSATION does not, and must not be moved.
The six destinations, cheapest last
What ships with it
35 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.
- fake_claude.py 5.0 KB runs code
- goal_check.py 32 KB runs code
- loss_check.py 9.3 KB runs code
- phase_d.py 22 KB runs code
- pointers.py 4.4 KB runs code
- recall_check.py 17 KB runs code
- reference/cross-phase.md 11 KB
- reference/loading-model.md 6.8 KB
- reference/no-loss-checks.md 13 KB
- reference/phase-0-prune.md 6.9 KB
- reference/phase-a-archive.md 20 KB
- reference/phase-b-patterns.md 8.5 KB
- reference/phase-c-extract.md 10 KB
- reference/phase-d-rule-evidence.md 7.6 KB
- reference/phase-e-path-scope.md 7.5 KB
- rotate.py 72 KB runs code
- run_tests.py 3.4 KB runs code
- splitlib.py 48 KB runs code
- survey.py 34 KB runs code
- test_disk_failures.py 64 KB runs code
- test_fragment_counts.py 15 KB runs code
- test_loss_check.py 48 KB runs code
- test_phase_d.py 19 KB runs code
- test_phase0_phasee.py 18 KB runs code
- test_pointers.py 19 KB runs code
- test_recall_check.py 26 KB runs code
- test_rotate_noloss.py 35 KB runs code
- test_rotate_rules.py 33 KB runs code
- test_rotate_undo.py 72 KB runs code
- test_rotate.py 24 KB runs code
- test_rule_units.py 40 KB runs code
- test_run_sizes.py 11 KB runs code
- test_run_tests.py 2.8 KB runs code
- test_survey.py 23 KB runs code
- test_wiring.py 20 KB runs code
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.
- 24d ago Changed · +8 lines 4ae0e1bc1845
- 28d ago Changed · -2 lines c34313237e5c
- 1mo ago Changed · +18 lines d8326f4e3978
- 2mo ago First seen · 222 lines · 187 tokens per session scan A e207d607b123
split-claude-md is a skill published in the GitHub repository eranw2000/claude-maintenance-skills (8 stars, last pushed 4d ago), licensed MIT. It adds 187 tokens to every session and 3,738 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-08-31.
split-claude-md compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| split-claude-mderanw2000/claude-maintenance-skills | Skill | 8 | 4d ago | MIT | A | 187 | Claude Code |
| agents-v2-pylingxling/awesome-skills-cn | Skill | 329 | 1mo ago | MIT | A | 39 | Claude Code |
| analytics-productlingxling/awesome-skills-cn | Skill | 329 | 1mo ago | MIT | A | 35 | Claude Code |
| api-security-best-practiceslingxling/awesome-skills-cn | Skill | 329 | 1mo ago | MIT | A | 29 | Claude Code |
| antigravity-workflowslingxling/awesome-skills-cn | Skill | 329 | 1mo ago | MIT | A | 41 | Claude Code |
| oci-services-expertfrankxai/claude-skills-library | Skill | 47 | yesterday | MIT | A | 43 | Claude Code |
| v-swarmfrankxai/claude-skills-library | Skill | 47 | yesterday | MIT | A | 141 | Claude Code |