audit_config
Scan AI agent config files (CLAUDE.md, AGENTS.md, .cursorrules) for stale references, dead paths, token bloat, and drift from live tools. Returns issues with severity and fixes.
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 |
|---|---|---|---|
| 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. | |
| config_files | No | Specific config files to audit (default: auto-detect) | |
| 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. | |
| fix_suggestions | No | Include fix suggestions (default true) |