Agent Instructions Optimizer (AGENTS.md)

0•

Standardizes and optimizes AI-facing documentation to ensure Claude follows project-specific conventions with high precision.

This skill implements research-backed best practices for maintaining AGENTS.md and CLAUDE.md files, ensuring that AI agents receive concise, high-signal instructions. By enforcing a strict limit on document length, it prevents instruction-following degradation and eliminates redundancy by referencing existing project configurations like linters and formatters. It automates the setup of canonical agent-facing docs, including symlink creation, package manager identification, and the inclusion of mandatory commit attribution requirements to ensure agents maintain a clear identity within your version control history.

Key Features

01Automates AGENTS.md and CLAUDE.md symlink configuration.
02Standardizes AI commit attribution with mandatory Co-Authored-By headers.
03Extracts canonical project commands from lock files and config files.
040 GitHub stars
05Enforces a strict 60-100 line limit for high-signal instructions.
06Prioritizes efficient, file-scoped commands over heavy project-wide builds.

Use Cases

01Auditing and pruning bloated CLAUDE.md files to improve model instruction following.
02Initializing new projects with standardized, high-performance AI agent instructions.
03Synchronizing agent documentation with evolving toolchains in complex monorepo structures.