cli-over-mcp-auditorlisted
Install: claude install-skill Abhillashjadhav/AI-PM-essential-skills
# CLI-over-MCP Auditor
Every connected MCP server loads its tool definitions into the context window at session start — a standing tax paid whether or not the tools are used. CLI tools cost zero context until invoked. This skill finds the tax and recommends where to stop paying it.
## Step 0 — First-prompt check (proactive, silent)
On the first substantial prompt of a session, before doing anything else, silently inspect the session's own already-available tools/MCP servers — do not ask the user to run or paste `claude mcp list` for this check; that's only for the explicit deep-audit flow (Step 1). Count connected MCP servers and their tools directly from what's visible in the session.
Judge relevance against the task the user is actually asking for right now — not against hypothetical future use. If one or more connectors look irrelevant to this task, emit exactly one line, then continue straight into the task:
```
N MCPs loaded, M unused for this work — disable to free up to ~X% context?
```
If nothing looks unused or irrelevant, say nothing — stay silent. This check runs once per session, not on every prompt.
## Step 1 — Inventory (explicit deep audit)
List every connected MCP server. In Claude Code, ask the user to run `claude mcp list` and paste the output, or read `.mcp.json` / settings files if accessible. For each server, list its tools and count them.
## Step 2 — Estimate idle cost
For each MCP server, estimate context cost as the token size of its injected