By wooters
Claude Code skill: pare CLAUDE.md/AGENTS.md files down to bare essentials using the obviousness principle
A Claude Code skill that pares CLAUDE.md and AGENTS.md files to their bare essentials.
A February 2026 paper from ETH Zurich, "Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?" (Gloaguen, Mündler, Müller, Raychev, and Vechev), found that bloated context files hurt more than they help. LLM-generated context files reduced agent success rates by 0.5-2% while increasing inference costs by over 20%. Even developer-written files improved success rates by only ~4%, at the cost of extra tokens and tool steps.
The core finding: agents follow every instruction faithfully, and most of those instructions repeat what the agent already knows. The extra constraints cause agents to explore more files, run more tests, and burn more tokens without solving more problems.
This skill exists to fix that. It strips context files down to what matters.
CLAUDE.md files accumulate boilerplate: generic best practices, standard conventions, and information that any experienced engineer or AI assistant already knows. This bloat wastes context tokens and buries what matters.
This skill applies the obviousness principle: if a staff-level software engineer or a capable AI coding assistant would already know it, remove it.
The skill:
Obviousness, not discoverability. Something may appear elsewhere in the codebase, but if it is non-obvious or surprising, it stays. The goal is to save time by surfacing what would otherwise require rediscovery.
/plugin marketplace add wooters/pare-claude-md
/plugin install pare-claude-md
Copy pare-claude-md/skills/pare-claude-md/SKILL.md into your ~/.claude/skills/pare-claude-md/ directory.
/pare-claude-md
/pare-claude-md ./path/to/CLAUDE.md
The core engineering principles come from Daniel Bernal's post on X.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub wooters/pare-claude-md --plugin pare-claude-mdOptimize your CLAUDE.md hierarchy — deduplicate, detect misplacement, compress bloat, and visualize token usage across global/project/repo levels
CLAUDE.md lifecycle toolkit: initialise, enhance, sync, and modularise CLAUDE.md files with a 150-line cap, automatic chaining, and Karpathy behavioural guardrails.
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
Rewrite a CLAUDE.md file using <important if> blocks to improve instruction adherence
Optimize CLAUDE.md and docs/ ecosystem following Boris Cherny's best practices
Evaluate and optimize .claude/ directory token efficiency. Reduce cost, improve response quality.