agent-audit
Audit agents spawned in the current/last run against the agent-selection taxonomy
Reduce a forge-generated MCP server's tool surface. Comment out low-value tools (preserving reversibility), update the README tool count, and emit a pruning report.
> /plugin marketplace add heymegabyte/claude-skillsHow it fires
How this command gets triggered: by you, by Claude, or both.
/prune-mcp-toolsContext preview
What this command does when you run it.
Reduce a forge-generated MCP server's tool surface. Comment out low-value tools (preserving reversibility), update the README tool count, and emit a pruning report.
Reduce a forge-generated MCP server's tool surface. Comment out low-value tools (preserving reversibility), update the README tool count, and emit a pruning report.
/prune-mcp-tools <mcp-server-dir> [--keep-top=N] [--by=traffic|category|name] [--reverse]
**Args**
**`--by=traffic`**
**`--by=category`**
**`--by=name`**
// pruned: low-traffic 0 calls 30d — /prune-mcp-tools --reverse to restore
(For category mode: `// pruned: low-category-score (0 calls 30d across category)`.) (For name mode: `// pruned: not in allowlist (.claude/mcp-prune-rules.json)`.)
<!-- tool-count: N active, M pruned -->
Print a markdown table to stdout:
## Prune report — <mcp-server-dir> Strategy: traffic | Date: 2026-06-18 | Kept: K | Pruned: P | Tool | Score | Action | Reason | |------|-------|--------|--------| | create_item | 412 | KEPT | top 50% by calls_30d | | delete_item | 0 | PRUNED | 0 calls 30d | | legacy_sync | 0 | PRUNED | @deprecated tag | ... Reversible: run `/prune-mcp-tools <dir> --reverse` to restore all pruned tools.
Save report to `.claude/mcp-prune-report-<timestamp>.md` (gitignored — add `**/.claude/mcp-prune-report-*.md` to `.gitignore`).
| Path | Read | Written | |------|------|---------| | `<dir>/src/index.ts` | yes | yes (comments added) | | `<dir>/README.md` | yes | yes (count updated) | | `.claude/mcp-usage.json` | yes | no | | `.claude/mcp-prune-rules.json` | yes (name mode) | no | | `.claude/mcp-prune-report-<ts>.md` | no | yes | | `<dir>/.gitignore` | yes | yes (adds report glob) |
/prune-mcp-tools ~/emdash/my-mcp-server --keep-top=10 --by=traffic Reading src/index.ts — found 24 tools. Loading .claude/mcp-usage.json — 24 entries matched. Strategy: traffic. Keeping top 10, pruning 14. KEPT: list_items (891), get_item (744), create_item (412), ... PRUNED: legacy_sync (0), debug_dump (0), admin_wipe (0), ... src/index.ts updated — 14 tools commented out. README.md updated — "24 tools" → "10 tools". Report saved: .claude/mcp-prune-report-20260618T143200.md
14-category autonomous product-building OS for 32+ AI coding tools. One-line prompts → deployed products.
Repo: heymegabyte/claude-skills
Audit agents spawned in the current/last run against the agent-selection taxonomy
Run the Agent Diversity Review gate and emit the result table
Meta-analyze the effectiveness of a /loop arc — per-iteration metrics, LOC delta trend, saturation detection, and a keep/lengthen/delete recommendation.
Audit the rules/ directory for missing foundational principles; output gap list with priority and justification
Validate ~/.claude/settings.json hooks block — event names, file existence, executability, matcher syntax; --fix repairs common issues
Catch Resend-class bug (isError: false on HTTP 4xx/5xx) across all MCP server tool handlers