/context-guru:preset-pickerfrom context-guru
Shows the active context-guru preset and switches between off, conservative, medium, high, xhigh, and ultrahigh levels. Use to check or change how aggressively context is trimmed.
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.
/plugin configure can set this too, but it is a blank options form: five fields, no
explanation, no sense of what conservative actually does before you pick it. This skill is that same
write — settings.py preset — made nameable and explainable, same reason
/context-guru:cache-strategy-picker exists for
cache_strategy rather than leaving it to the generic form too.
You do not write the settings file, and you do not compose its contents. settings.py preset
is the only thing that knows where the configured options actually live and how to update them
without disturbing anything else in that file.
"${CLAUDE_PLUGIN_ROOT}/scripts/settings.py" preset show
file=(none) means nothing has been configured yet and the plugin default (off) applies — not
a fault, just unset.
"${CLAUDE_PLUGIN_ROOT}/scripts/settings.py" preset list
| Name | ELI5 |
|---|---|
off | nothing runs, requests go through untouched |
conservative | trims obvious waste — the safe first step into "carry less" |
medium | conservative plus a cheap model that keeps only what looks relevant in recent tool output, and a summary prepared in the background that is used only if you come back after the cache expired |
high | medium, but the summary of older turns is used as soon as the context window is nearly full |
xhigh | high plus a deep-adjudication sweep over turns whose cache has already gone cold — the deepest cut |
ultrahigh | Experimental. xhigh plus tool deferral: tools your own last sessions never used are sent as names only, and the model loads one through search when it needs it. Opt-in. Turn it off for one session with ENABLE_TOOL_SEARCH=false |
Recommend conservative to someone who wants to carry less context but hasn't said they want an
LLM pass: it is deterministic, so nothing about the request path depends on a model call
succeeding. medium, high, xhigh and ultrahigh are an escalating ladder — each is a strict superset of
the one below it — so "somewhere in between" usually means one tier up from wherever they are now,
not a custom mix.
"${CLAUDE_PLUGIN_ROOT}/scripts/settings.py" preset set --name <name>
Writes into whichever settings file already holds this plugin's configured options, so it lands
where the running proxy will actually read it. If nothing is configured yet, it inherits whatever
scope THIS project's routing already uses (recorded when /context-guru:install ran, read back
via the same resolve_install_scope() the statusline skill uses) — a project routed at project
scope gets its preset there too, one routed at user scope gets it there, with no extra flag either
way. Only a project with no routing at all falls back to project-local, since there is nothing yet
to inherit. Pass --user-scope to deliberately diverge from that — a preset the user wants on
every project even though routing itself is project-scoped.
preset show and preset set also print running= (the preset the proxy runs now, from its
/stats; no_proxy when nothing answers). gap= appears when the saved and the running preset
differ.
The running proxy keeps its old preset until it restarts. When preset set prints
restart_needed=true, tell the user in plain words:
Then ask for a yes. Do not restart without it. On yes:
"${CLAUDE_PLUGIN_ROOT}/scripts/settings.py" preset restart --name <name>
It restarts the proxy through start-proxy.sh, the same path a session start uses (strategy sync,
then a fingerprint compare, then a stop by pidfile and a start). It never kills by pattern, and it
leaves a proxy that another project owns alone. It then reads /stats to confirm. Report
result=restarted (the new preset runs) or result=not_applied with the starter= lines that say why.
For ultrahigh, preset restart then asks the RESTARTED proxy to start the provider check that tool
deferral needs, and prints probe=asked (or why not: not_routed, unavailable). The check runs at
your next request, in the background. The first session on each model after the restart is not
deferred. preset set sends no probe while the old proxy runs: that proxy would take it and do
nothing with it.
On no, say the old preset runs until the next session start. /context-guru:status and the status line
show preset: <running> (<saved> after a restart) until then.
settings.py preset list is the authoritative set; anything else
exits 2 with reason=unknown_preset.high or xhigh by default. medium is already the first tier that
makes its own model calls and spends on its own; high/xhigh use the summary of older turns
while you work, not only after a cold return. Offer them, don't default to them.ultrahigh unless the user asks for it or asks about tool cost. It is opt-in: it
changes which tool definitions the model sees at the start, and the model must search to load one.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 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.npx claudepluginhub rossoctl/context-guru --plugin context-guruOther plugins' skills for the same job