Borrowing it
Nothing to install: this file belongs to zotoio/CRUX-Compress. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zotoio/CRUX-Compress/main/.cursor/commands/crux-recall.mdgit clone --depth 1 https://github.com/zotoio/CRUX-CompressWrote 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/zotoio/crux-compress/crux-recall)<a href="https://agentmods.dev/commands/zotoio/crux-compress/crux-recall"><img src="https://agentmods.dev/badge/commands/zotoio/crux-compress/crux-recall/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/zotoio/crux-compress/crux-recall"><img src="https://agentmods.dev/badge/commands/zotoio/crux-compress/crux-recall.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.00000 | $0.01481 |
| Opus 5.5 | $0.00000 | $0.00592 |
| Sonnet 5.5 | $0.00000 | $0.00296 |
| Haiku 4.5 | $0.00000 | $0.00148 |
Grade B, and why
crux-recall scanned grade B with 1 finding 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 1mo 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.
Asks the agent to reveal its instructionsmediumSystem prompt leakage
Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.
**User input escalation — CRITICAL**: This command uses **Pattern B (work first, then escalate)**. The subagent NEVER calls `AskQuestion` directly — the parent agent handles every post-display prompt (delete, consolidate How it starts
The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
crux-recall
Decompress, query, and display CRUX memories in human-readable form.
Repository: github.com/zotoio/CRUX-Compress
Usage
/crux-recall - Show contextually relevant memories
/crux-recall "search query" - Search memories by keyword
/crux-recall 20260403-crux-memories - Show memories from a specific spec
/crux-recall memories/core/some-memory.memory.md - Display a specific memory file
/crux-recall --total - Visualize the entire memory system as an interactive canvas
Parameters
| Parameter | Description |
|---|---|
--total |
Generate an interactive canvas visualization of the entire memory system using only cursor/canvas SDK primitives. The canvas includes: summary stats, type/search filters, an SVG force-directed graph (2D, pre-computed at module scope via Verlet simulation), a detail panel for selected memories, type/strength distribution charts (PieChart/BarChart), and a filterable memory table. Nodes represent memories (sized by strength, colored by type, labeled by title). Edges connect memories sharing tags or source specs. Supports click-to-detail, hover highlighting, type filter toggles, and text search. |
Instructions
When this command is invoked, spawn a crux-memory-recall subagent to query and display memories. Recall is read-only — it never modifies memory files on disk.
User input escalation — CRITICAL: This command uses Pattern B (work first, then escalate). The subagent NEVER calls AskQuestion directly — the parent agent handles every post-display prompt (delete, consolidate, promote, skip) and resumes the subagent with the answers. For the full Pattern A / Pattern B contract and the needs_user_input YAML schema, see .cursor/skills/_memory-shared.md#user-input-escalation and AGENTS.md.
Argument Handling
- No arguments: The subagent loads the memory index (
.crux/memory-index.yml) and surfaces memories most likely to be relevant to the current conversation context. For each memory, it shows title, type, strength, reference count, and a brief rationale for why it was surfaced. - Quoted text (e.g.
"performance optimization"): The subagent searches existing memories by title, description, tags, and body content. Results are ranked by relevance with decompressed body content shown for compressed memories. Pass$ARGUMENTSto the subagent as the search query. - Spec name(s) (e.g.
20260403-crux-memories): The subagent finds all memories whosesourcefield matches the given spec slug(s). Results are grouped by type. Pass$ARGUMENTSto the subagent as the spec name(s). - File path(s) (e.g.
memories/learning/foo.memory.md): The subagent reads the specified memory file(s) directly. Compressed files (.memory.crux.md) are decompressed for display. Full frontmatter and body are shown. Pass$ARGUMENTSto the subagent as the file path(s). --total: The subagent gathers the complete memory corpus — index metadata, all memory files, and their relationships — then generates an interactive canvas visualization of the entire memory system using onlycursor/canvasSDK components and inline SVG. Thecrux-memory-recallagent owns the structural template loaded on this cold path. No table or text output is produced; the canvas is the deliverable.
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.
- 1mo ago Changed · -5 lines scan A → B e48bb2a79f05
- 2mo ago First seen · 98 lines · 0 tokens per session scan A e004e50d64d4
crux-recall is a command published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,481 tokens. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
crux-recall compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| crux-recallzotoio/CRUX-Compress | Command | 8 | 14d ago | MIT | B | 0 | Claude Code, Cursor |
| context-savewshobson/agents | Command | 42k | yesterday | MIT | A | 12 | Claude Code |
| kiro-steering-customgotalab/cc-sdd | Command | 3.8k | 15d ago | MIT | A | 0 | Claude Code |
| wiki-queryzosmaai/pi-llm-wiki | Command | 623 | 3d ago | MIT | A | 18 | Claude Code |
| save-session-learningsCloudAI-X/claude-workflow-v2 | Command | 1.4k | 1mo ago | MIT | A | 28 | Claude Code |
| wiki-digestzosmaai/pi-llm-wiki | Command | 623 | 3d ago | MIT | A | 20 | Claude Code |
| memory-whyFerroxLabs/ijfw | Command | 214 | 4d ago | MIT | A | 18 | Claude Code |