← ClaudeAtlas

unhobblelisted

Audit and rightsize a context surface — CLAUDE.md, AGENTS.md, a SKILL.md, a system prompt, or a single prompt — against the Claude-5 context-engineering reversals. Measures the surface (token budget, how much of it is phrased as hard rules vs judgment, near-duplicate sections, contradiction candidates, filesystem-derivable content, progressive-disclosure gaps), then adjudicates each section keep / relocate / delete using a grounding-aware predicate: prose backed by an independent mechanism is decorative and free to cut, prose that is the only carrier of a behavior is a real bet. Also rewrites prompts and skills from prohibition-form into judgment-form. Anthropic deleted >80% of Claude Code's system prompt for Claude 5 with no eval loss; this is the repeatable version of that cut. Use when: (1) a CLAUDE.md or AGENTS.md has grown and you want to know what is safe to remove, (2) an agent is ignoring or colliding with its own instructions, (3) a prompt is long and over-constrained and underperforming, (4) auditin
broomva/skills · ★ 3 · AI & Automation · score 72
Install: claude install-skill broomva/skills
# unhobble Constraints written to protect against a weaker model's failure modes go net-negative once the model's judgement exceeds the rule. They collide with each other and with the user's actual request, and the model spends its reasoning resolving the collision instead of doing the work. The correction is deletion, not refinement. Anthropic's Claude Code team removed **over 80% of Claude Code's system prompt** for Claude 5 models with no measurable loss on their coding evals. The diagnostic that started it: reading their own transcripts, they found *"leave documentation as appropriate"* fighting *"DO NOT add comments"* inside a single request. This skill is that cut, made repeatable — and made safe, because the naive version of the rule deletes load-bearing prose. ## The measure-then-adjudicate split The script measures. It never says "delete." Whether a rule can go depends on whether something *other than the prose* enforces it — a hook, a CI job, a test, a runtime check. That is a grounding question, and a regex answering it would be guessing in a confident voice. So: ```bash python3 scripts/context_audit.py <path> [<path>...] --repo-root <repo> --budget 5000 python3 scripts/context_audit.py --prompt-file draft.md # prompt mode python3 scripts/context_audit.py <path> --json # machine-readable ``` You get per-section tokens, directive form, a **rules-ratio** (share of directives phrased as hard rules), near-duplicate clusters, contradiction can