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.
git clone --depth 1 https://github.com/AmirSoleimani/claude-stashWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/amirsoleimani/claude-stash/pop)<a href="https://agentmods.dev/commands/amirsoleimani/claude-stash/pop"><img src="https://agentmods.dev/badge/commands/amirsoleimani/claude-stash/pop/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/amirsoleimani/claude-stash/pop"><img src="https://agentmods.dev/badge/commands/amirsoleimani/claude-stash/pop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00015 | $0.00436 |
| Opus 5 | $0.00008 | $0.00218 |
| Sonnet 5 | $0.00003 | $0.00087 |
| Haiku 4.5 | $0.00002 | $0.00044 |
Grade A, and why
pop 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 9d 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
Pop an item from .claude/stash.md in the current project, log it to .claude/stash.log.md, and begin working on it in the current session (no context clearing).
Steps:
-
Read
.claude/stash.md. If it does not exist or has no-item lines, respond:Stash is empty.and stop. -
Parse
$ARGUMENTS:- If empty → target the first item (position 1).
- If a positive integer
N→ target the item at positionN. - If
Nis out of range, respond with the current count (e.g.Only 3 items in stash.) and stop.
-
Capture the targeted line and parse the item text (everything after
[YYYY-MM-DD HH:MM]). -
Remove the targeted line from
.claude/stash.md. Leave header, blank lines, and other items untouched. Save. -
Append a log entry to
.claude/stash.log.md. If the file does not exist, create it with this header:# Stash logThen append (use today's date and current time, 24h, local):
- [YYYY-MM-DD HH:MM] POPPED <item text>Note the two spaces between
POPPEDand the item text (alignment withDROPPEDentries). -
Announce on a single line:
Popped from stash: <item text> -
Then immediately treat the item text as if the user had just typed it as their next request, and begin work — using existing session context, files already loaded, current branch, etc. No
/clear, no fresh start.
Fresh context option: If the user wants a fresh context, they should run /clear first, then /stash:pop. This command cannot clear context from inside a turn.
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.
- 9d ago First seen · 39 lines · 15 tokens per session scan A 3a954178a34d
pop is a command published in the GitHub repository AmirSoleimani/claude-stash (10 stars, last pushed 3mo ago), licensed MIT. It adds 15 tokens to every session and 436 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
context-stats
Display context window usage and token statistics.
run
Execute prompt(s) from ./prompts/ with automatic archiving - for structured prompt-based work.
help
Explain Ralph Wiggum technique and available commands.
cancel-ralph
Cancel active Ralph Wiggum loop.
backup-config
Backup Claude Code configuration files.
session-log
View and analyze the Claude Code session log.