/observe:traces [days, default 7]from Observe
Summarize recent traces and token usage — tool calls and failures by tool, subagent runs by type, tokens by subagent type, model and spawn depth, and the main loop's share. Saves the report under the trace folder. Read-only on the code. Trigger /observe:traces [days].
Ships in Observe. 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.
trace_dir, else context/.runtime/traces/.python3 ${CLAUDE_PLUGIN_ROOT}/scripts/usage.py --days <N> --out <trace folder>.
It reads the Claude Code transcripts (main loop and every subagent, with type, depth and model)
and writes usage-<date>.md and usage-<date>.json to the trace folder. Use its tables; do not
read transcripts into context.<yyyy-mm-dd>.jsonl with a short python3 or jq command:
tool calls per tool with failure counts (ok: false), subagent stops per agent_type, turns
per session. Rows with tokens (SubagentStop = that agent; Stop = the session so far, take the
last row per session) give live usage between reports.boss:pipeline token rules (an agent type on a tier above its
need, large repeated reads, long replies pasted into the main loop, waves larger than 4). Do not
change any rule yourself.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub keshav0375/sage --plugin observe