AI Instruction & Memory Manager
Audits and optimizes CLAUDE.md, AGENTS.md, and project memory files to ensure Claude follows project rules efficiently without redundant context load.
This skill serves as an architectural guide and auditing tool for Claude Code's instruction system, helping developers maintain high-performance project documentation. It enforces a 'behavior test' on rules, manages the critical 200-line length targets, and provides intelligent routing for instructions between global AGENTS.md files, project-specific CLAUDE.md files, and local auto-memory. By preventing 'context rot' caused by duplicate or narrative-heavy instructions, it ensures that Claude remains responsive and highly adherent to project standards.
Key Features
01Behavior-testing logic to eliminate redundant or advisory-only prose
02Automated auditing of instruction file length and density
03Memory indexing management to stay within optimal load limits
04Intelligent routing of rules between global, project, and memory layers
05Cross-agent compatibility support via AGENTS.md import patterns
063 GitHub stars
Use Cases
01Synchronizing instructions between Claude Code and other tools like Cursor or Aider using the AGENTS.md standard
02Establishing a clear hierarchy for coding preferences across monorepos and local developer environments
03Refactoring bloated CLAUDE.md files that reduce AI model adherence and performance