/trim:reportfrom trim
Show how many input tokens trim saved, per feature (all time, last 30 days, last 7 days) and per recent session. Reads trim's own savings log; changes nothing.
Ships in trim. 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.
Report only. Show what trim saved. Never change settings or files.
sv.py below means python3 <this skill's base directory>/../../hooks/savings.py.
sv.py. It prints JSON: log, since, features (each with saves, tokens_saved (all time), last_7_days, last_30_days, assumed), total, sessions (the last 5: session, saves, tokens_saved, last), sessions_note, note and estimate.note is set, say it and stop.tokens_saved first: feature, saves, tokens saved (all time), last 30 days, last 7 days. Mark a feature with assumed: true as "assumed" (browser_scale uses a fixed figure per screenshot). Add a total row. Then a second small table of sessions: session (first 8 characters), saves, tokens saved, last activity (Pacific time next to UTC); say sessions_note in one line.estimate. Say since as the date the log starts (Pacific time next to UTC). Say the log cleans itself: lines older than 90 days are folded into daily totals and dropped, so all-time totals stay, and the log is capped at 1 MB. Say how to turn logging off: TRIM_SAVINGS=off.Rules:
savings-totals.json).~/.claude/trim/out/ and are deleted after 7 days.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub archid21/trim --plugin trim3 skills in this plugin
/contextShow what fills this project's fixed context (tokens per part), list the agent types, connectors and plugins not used here in 90 days, and say where in Claude Code to turn each one off. Changes nothing./setupSet up trim; turn trim tips (short session-start rules) on or off.