Agents MD Thin-Root Optimizer
Enforces character caps and pointer density for root agent configuration files to prevent AI context bloat.
The agents-md-thin-root skill implements the 'Thin-Root' architecture for Claude Code environments, ensuring that root AGENTS.md files act as lean navigational surfaces rather than dense repositories. By enforcing strict character limits and a high ratio of substantive pointers to external documentation, it optimizes the AI's limited workspace context budget. This prevents performance degradation and ensures critical emergency triage information remains accessible even when tool access is degraded, making it essential for maintainers of complex AI-driven repositories.
主な機能
01Mandatory emergency-triage block integration and drift detection
02Automated substantive pointer ratio validation (minimum 40%)
03Strict character count enforcement with hard ceilings for root files and templates
047 GitHub stars
05Context budget optimization for the 49,512-char workspace guidelines limit
06CI-compatible linting procedures for PR reviews and repository maintenance
ユースケース
01Refactoring a bloated AGENTS.md file to recover workspace context budget
02Standardizing agent configuration across monorepos using thin templates
03Automated validation of repository configuration changes during PR reviews