Agent MD Thin-Root Optimizer
Enforces the Thin-Root contract for AGENTS.md files to optimize AI workspace context and ensure high-density navigation pointers.
The agents-md-thin-root skill is a governance tool designed to prevent documentation bloat in AI-native repositories. It enforces a 'Thin-Root' architecture, which limits the size of root AGENTS.md files to under 3,000 characters and requires a 40% ratio of substantive pointers. By moving deep prose to outboard files and maintaining a mandatory emergency-triage block, it ensures that Claude operates within workspace guideline budgets while retaining critical navigation capabilities even during degraded tool access.
主な機能
01Mandatory emergency-triage block verification
02Substantive pointer ratio validation (≥40% density)
03Hard character cap enforcement (≤3,000 chars) for root files
04Automated context budget measurement and linting
05Capabilities-over-structure content validation
067 GitHub stars
ユースケース
01Optimizing repository-level AGENTS.md for AI context efficiency
02Reviewing PRs to prevent documentation re-bloat in core templates
03Refactoring monorepo navigation to use the Thin-Root pointer pattern