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/michielhdoteth/squish-memoryWrote 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/michielhdoteth/squish-memory/squish)<a href="https://agentmods.dev/commands/michielhdoteth/squish-memory/squish"><img src="https://agentmods.dev/badge/commands/michielhdoteth/squish-memory/squish/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/michielhdoteth/squish-memory/squish"><img src="https://agentmods.dev/badge/commands/michielhdoteth/squish-memory/squish.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.00011 | $0.00461 |
| Opus 5.5 | $0.00004 | $0.00184 |
| Sonnet 5.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 3mo 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.
- 3mo ago First seen · 39 lines · 11 tokens per session scan A e2d79b2ef282
squish is a command published in the GitHub repository michielhdoteth/squish-memory (12 stars, last pushed 3d ago), licensed MIT. It adds 11 tokens to every session and 461 once invoked, about $0.0000 per session on Opus 5.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.
squish compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| squishmichielhdoteth/squish-memory | Command | 12 | 3d ago | MIT | A | 11 | Claude Code |
| code-review-swarmayushcodes10/echo-mem | Command | 2 | 2mo ago | Apache-2.0 | A | 0 | Claude Code |
| multi-repo-swarmayushcodes10/echo-mem | Command | 2 | 2mo ago | Apache-2.0 | A | 0 | Claude Code |
| release-managerayushcodes10/echo-mem | Command | 2 | 2mo ago | Apache-2.0 | A | 0 | Claude Code |
| release-swarmayushcodes10/echo-mem | Command | 2 | 2mo ago | Apache-2.0 | A | 0 | Claude Code |
| repo-architectayushcodes10/echo-mem | Command | 2 | 2mo ago | Apache-2.0 | A | 0 | Claude Code |
| swarm-issueayushcodes10/echo-mem | Command | 2 | 2mo ago | Apache-2.0 | A | 0 | Claude Code |