/context-guru:save-more [config|cache|settings|tools] [details] [--custom] [--days N] | apply <config|cache|deferral> <option>@<basis> | revert <config|cache|deferral> | apply|revert settings <check-id>from context-guru
Replays past sessions under each preset and keep-alive strategy, shows cost savings, and applies the best option after confirmation. Use when asked how to save more or which preset is cheapest.
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.
Run this now, with a Bash timeout of 420000 ms (it replays the user's history and can take a few minutes), and print its output exactly as it is in one code block:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cg.py" save-more $ARGUMENTS && python3 "${CLAUDE_PLUGIN_ROOT}/scripts/settings.py" record-run save-more
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 an output is a single Run this instead ... line, run that exact command and print its output.
Then ask ONE question with AskUserQuestion, after the output is printed, never before:
Apply it? lines (config and cache): the question is "Apply both recommended changes?" plus the two
Recommended: lines; options "Apply both", "Only config", "Only cache", "Neither".Apply it? line: the question is its Recommended: line, verbatim (it may say that applying drops some of
the user's own settings; that must be said before they answer), plus the card's weekly figure, e.g.
"Apply: preset conservative -> medium? Over the last 30 days it would have saved about $1.49 a week."; options
"Yes, apply it", "No, leave it". Say it in hindsight (would have saved), never as a promise.Apply it? line: stop. Add nothing.Apply it? lines read apply settings <check-id>. Ask: "Change this setting?" plus that check's Fix: and
Risk: lines, verbatim, and its Cost: line in hindsight, never as a promise; options "Yes, change it",
"No, leave it". One question per check. A check with no Apply it? line cannot be changed by Context Guru (managed
settings, or your environment): print nothing more about it. A cost of "not measured yet" is never zero: say so.For each change the user chose, run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cg.py" followed by every word after
/context-guru:save-more on its Apply it? line, unchanged, and print the output. On anything else say
"Nothing changed." and stop. A settings change is the same command with the same words, e.g.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cg.py" apply settings disable-experimental-betas; it edits the user's own
settings file after a backup, and the output names the backup and the Undo: line.
tools (the per-tool view of tool deferral) has no Apply it? line and no recommendation: ask nothing. If the user
then asks to keep a tool loaded, to always defer a tool (or take it off that list), or to turn tool search on or off,
ask one yes/no question that names the tool or the switch. On yes run the matching printed line with <name> replaced by the row's name from the name column, e.g.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/cg.py" apply deferral keep:WebFetch@<basis>. Never pick a tool yourself.
If the user asks for another row of a table, ask first and quote that screen's own verdict, e.g. "The proxy
does not recommend high (it says: ...). Apply it anyway?"; never invent a figure. On yes run the Any row line
(or the Apply it? line) with <option> replaced by the row's id from the option column.
If an apply output ends with an Apply anyway ... --force line, the proxy's own check failed and nothing went
live. Ask a SECOND, separate yes/no question that says so ("The go-live check failed. Switch it on anyway?").
Only on yes run the words after /context-guru:save-more on that line, --force included. Never add --force
yourself. If an apply output starts with Not applied:, print it and stop; do not retry.
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
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.Other plugins' skills for the same job