audit_config
Scan AI agent config files for stale references, dead paths, and token bloat. Optionally detect drift between agent rules and live MCP interfaces.
Instructions
Scan AI agent config files (CLAUDE.md, AGENTS.md, .cursorrules, etc.) for stale references, dead paths, token bloat, and (when include_drift is set) drift between agent rules and the live MCP tool / skill / command surface. Read-only. Returns JSON: { issues: [{ file, line, category, issue, severity, fix? }], total }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config_files | No | Specific config files to audit (default: auto-detect) | |
| fix_suggestions | No | Include fix suggestions (default true) | |
| include_drift | No | E14 — add CLAUDE.md drift detection (dead_tool_ref, dead_skill_ref, dead_command_ref, oversized_section). Default false for back-compat. | |
| drift_only | No | E14 — restrict output to drift-class categories only (dead_path + dead_*_ref + oversized_section). Implies include_drift. Use when you only care about agent-config drift. |