AI Agent & Copilot Optimizer
Optimizes AI agent configuration files and GitHub Copilot instructions to minimize redundancy and maximize context window efficiency.
This skill provides a standardized workflow for maintaining and refactoring AGENTS.md and copilot-instructions.md files. It intelligently deduplicates content against the .augment/ directory, enforces strict line budgets for optimal LLM performance, and ensures that instructions are tailored to the specific audience—distinguishing between the capabilities of general AI agents and the GitHub Copilot runtime. By performing portability scans and checking for stack drift, it prevents documentation from becoming outdated or leaking identifiers from other projects, ensuring high-quality, high-confidence interactions with AI assistants.