/context-guru:remove-mcp-and-skills [details] [--days N] | apply tools <option>@<basis> | revert toolsfrom context-guru
Finds unused MCP servers, MCP tools, and skills, shows their cost, and lets you filter or remove them after confirmation. Use when asked what to remove or which MCP servers/skills are unused.
Ships in context-guru. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Note for the reader, not an instruction: with tool deferral (the ultrahigh preset), /context-guru:save-more tools is the newer view of every tool, MCP server and skill, with keep and search switches. This command stays until its owner agrees to remove it.
Run this now, with a Bash timeout of 420000 ms, and print its output exactly as it is in one code block:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cg.py" remove-mcp-and-skills $ARGUMENTS && python3 "${CLAUDE_PLUGIN_ROOT}/scripts/settings.py" record-run remove-mcp-and-skills
Run it exactly as one command: the second half records the run for the status line, and runs only when the read printed a report (the read exits non-zero on any failure or refusal). Say nothing about it.
(Exception: if the arguments start with apply or revert, the user typed the change themselves, which is their
yes: run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cg.py" $ARGUMENTS instead and print its output.)
Only the read and that run record are pre-approved; never record a run for an apply or a revert. A change is the separate command cg.py apply or cg.py revert, so Claude Code
also asks the user for permission to run it: that second prompt is expected, do not work around it.
If the output has no Question: line, stop there. Add nothing.
Otherwise, after the output is printed, ask exactly the Question: line (without the word "Question:") with
AskUserQuestion. Options: "Yes, remove them" (description: the item names from the Never used list that the
recommendation covers) and "No, keep them".
Only on yes run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cg.py" followed by every word after
/context-guru:remove-mcp-and-skills on the Apply it? line, unchanged, and print its output. On anything else
say "Nothing changed." and stop. If the apply output starts with Not applied:, print it and stop.
To undo, run the Undo: line the same way. After an apply or a revert, print its output and stop; ask nothing more. Do not turn dollars into tokens or add advice the output does not contain.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rossoctl/context-guru --plugin context-guru19 skills in this plugin
/cache-campaignBuild a cache plan from your own history, compare it with today, and switch it on in shadow or live mode. Manager login needed. Use when a manager asks for a keep-alive plan built from their history./cache-strategy-pickerShow the cache strategy and switch it. Use when asked which one runs, to turn keep-alive pings on or off, or to keep the cache warm./chartDollars saved per day as a bar chart, split by lever, with what is still avoidable drawn apart as an estimate. Pass 14 or 30 as the number of days./dashboardOpen the dashboard in the browser on the Cleanup page, to decide yourself what to remove. --no-open prints the URL and opens nothing./doctorCheck the setup (routing, proxy, prices, status line) and say what to fix./fillHow full the context window is, what is filling it, and how long until it is full.Other plugins' skills for the same job