Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/waazy-w/claude-scope/scopegit clone --depth 1 https://github.com/waazy-w/claude-scopeWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00013 | $0.00482 |
| Opus 5 | $0.00006 | $0.00241 |
| Sonnet 5 | $0.00003 | $0.00096 |
| Haiku 4.5 | $0.00001 | $0.00048 |
Grade A, and why
scope scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
Search the user's local Claude Code session history using the claude-scope tool.
How to run it
Use the Bash tool to run:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/scope.py" $ARGUMENTS
If ${CLAUDE_PLUGIN_ROOT} is not set or did not expand in this context, locate scope.py by trying, in order, and use the first absolute path found:
- The
CLAUDE_PLUGIN_ROOTenvironment variable at runtime (e.g."$CLAUDE_PLUGIN_ROOT/scripts/scope.py"). - A glob like
~/.claude/plugins/*/claude-scope/scripts/scope.py. find ~/.claude -name scope.py -path '*claude-scope*'.
Interpreting the arguments
The user's input is: $ARGUMENTS
- Valid subcommands are
search,sessions,stats, andindex. - If the input does not start with one of those subcommands (e.g. the user typed bare words like
/claude-scope:scope database migration), treat the entire input as a search query: prependsearchand pass the rest through unchanged. - If the input is empty, run
sessionsto show recent sessions.
Presenting results
- Show the script's stdout to the user essentially verbatim, inside a code block — it is pre-formatted plain text (timestamps, project, branch, role, highlighted snippets, session ids).
- After the results, add one short line: to open a found session, run
claude --resume <session-id>. - If the script prints a staleness WARNING, surface it prominently at the top of your response — never hide or paraphrase it away.
Rules
- Never modify anything under
~/.claude/projects; the script is strictly read-only there, and you must be too. - Do not retry with destructive workarounds if the script fails; report the error output instead.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 41 lines · 13 tokens per session scan A 67d0c9ee1393
scope is a command published in the GitHub repository waazy-w/claude-scope (4 stars, last pushed 13d ago), licensed MIT. It adds 13 tokens to every session and 482 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
minutes-ideas
Surface recent voice memos and ideas captured from any device. Use when the user asks "what ideas did I have?", "what were my recent memos?", "what did I record while walking?", or wants to recall a captured thought.
autobot-result
Print the most recent result.md for an autobot session, so the user can see how a bot is doing without attaching to its tmux session.
engage.actions
Execute Phase 7 - Actions on Objectives and Goal Achievement.
version
Show installed vs latest ai-sdlc plugin version. Bypasses the 24h SessionStart cache.
thread
Manage conversation threads (create, switch, update, delete, show).
handoff
Generate or load a session handoff. Usage: /handoff [create|resume].