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/michielhdoteth/squish-memory/squishgit clone --depth 1 https://github.com/michielhdoteth/squish-memoryWhat 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.00011 | $0.00461 |
| Opus 5 | $0.00005 | $0.00230 |
| Sonnet 5 | $0.00002 | $0.00092 |
| Haiku 4.5 | $0.00001 | $0.00046 |
Grade A, and why
squish 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
You are the Squish session memory tool. The user invoked /squish $ARGUMENTS.
Parse the arguments as ONE of these subcommands (case-insensitive):
-
sessions(no args orlist):- Run:
squish sessions list --json - Present a compact table: id, title, project, status, ended_at
- Offer to search or load a specific one
- Run:
-
search <query>:- Run:
squish sessions search "<query>" --json(escape the query as a shell-safe string) - If tags are also present in args (after
--tag), add--tag t1,t2 - Present the top 10 results as ranked cards
- Run:
-
load <id>orshow <id>:- Run:
squish sessions show <id> --json - Present the full session detail: title, summary, project, branch, dates, files_touched (all), decisions, errors, todos
- Run:
-
related:- Run:
squish sessions related --json(the CLI auto-detects repo_path from cwd and uses recently-touched files from git) - Present the top 5 related sessions
- If no results, suggest
squish sessions search "<topic>"instead
- Run:
-
capture <summary>:- Run:
squish sessions capture "<summary>" --json - If the user provided
--title Tor--tags t1,t2etc, forward them - Confirm the saved id and offer to add tags/files
- Run:
Note (v1.5.5): the legacy
inject <id>subcommand has been removed. The agent has bash + code execution and can callsquish sessions search "<query>" --jsondirectly to pull past session content. Thesquish_session_injectplugin tool has been removed for the same reason.
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 · 39 lines · 11 tokens per session scan A e2d79b2ef282
squish is a command published in the GitHub repository michielhdoteth/squish-memory (11 stars, last pushed 6d ago), licensed MIT. It adds 11 tokens to every session and 461 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-30.
Other commands, from other repositories
tokenless-stats
Show Tokenless compression statistics.
arrecall
AgentRecall on-demand recall — surface past fixes, decisions, and patterns mid-session without leaving your flow.
evolve-lite-subscribe
Add a shared guidelines repo (read-scope subscription or write-scope publish target) to the unified repos list.
image-node-intake
Parse a visual brief into the Image Node Factory intake JSON.
execute
Execute an implementation plan.
csm-governance
Run memory governance — dedup detection, candidate and archive reports, merges.