What problem does it solve?
Agent root documentation files like AGENTS.md and CLAUDE.md often become bloated with outdated, redundant explanations that decay over time, leading AI coding agents to ignore critical rules or follow stale guidance that no longer matches the repository state.
Core Features & Use Cases
- Pointer-based doc generation: Creates or rewrites AGENTS.md to reference existing repository files instead of repeating explainable information, eliminating documentation decay.
- Cross-agent compatibility: Migrates existing descriptive CLAUDE.md files to the standardized AGENTS.md + CLAUDE.md symlink structure, compatible with Claude Code and other AI coding agents.
- Strict guardrails: Enforces line count limits (≤50 lines recommended, ≤200 lines maximum) and validates all referenced file paths exist to ensure docs remain usable for agents.
- Use case: Use when setting up a new repository, updating an existing bloated agent doc over 200 lines, or migrating an old descriptive CLAUDE.md to the modern pointer-based format.
Quick Start
Use the gen-agents-md skill to generate a maintainable, pointer-based AGENTS.md for your current code repository.