CRUX-Compress: Command for Claude Code

.cursor/commands/crux-recall.md

crux-recall is a command for Claude Code, Cursor from zotoio/CRUX-Compress. It costs 0 tokens per session (1,535 once invoked), scanned A, original, MIT.

A command for searching and displaying stored CRUX project memories in readable form.

In plain words
What is it for?
It can show relevant memories, search by a query, display a specific memory file or specification’s memories, and create an interactive view of the whole memory system.
Why use it?
It makes relevant project context easier to retrieve instead of relying only on the current conversation or manually opening memory files.

Command for Claude CodeCursor

Written for Claude Code and Cursor: $ARGUMENTS substitution, but also installed under .cursor/. Also seen: mentions subagents.

This is zotoio/CRUX-Compress's own configuration. It tells Claude Code and Cursor how to work on CRUX-Compress itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything CRUX-Compress configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/zotoio/CRUX-Compress/main/.cursor/commands/crux-recall.md
Clone the repo
git clone --depth 1 https://github.com/zotoio/CRUX-Compress

Made for: Claude Code, Cursor.

Wrote 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.

agentmods badge for crux-recall

README.md
[![agentmods](https://agentmods.dev/badge/commands/zotoio/crux-compress/crux-recall/github.svg)](https://agentmods.dev/commands/zotoio/crux-compress/crux-recall)
Your own site
<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.

agentmods 80×15 button for crux-recall

Your own site · 80×15
<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>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,535 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01535
Opus 5 $0.00000 $0.00767
Sonnet 5 $0.00000 $0.00307
Haiku 4.5 $0.00000 $0.00153

Measured 11d ago against content hash e004e50d64d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

crux-recall 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 11d 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.

.cursor/commands/crux-recall.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 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-cursor-memory-manager subagent in Recall mode 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 queries and formats memories first, then the parent handles post-display interactions. The subagent NEVER calls AskQuestion directly. After displaying recall results, the parent agent (you) handles all post-display interactions (delete, consolidate, promote, skip) using AskQuestion. If the subagent needs user input, it returns a needs_user_input section in its response.

Read the full file on GitHub · 98 lines

Changes

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.

  1. 11d ago First seen · 98 lines · 0 tokens per session scan A e004e50d64d4

Subscribe to this mod's changes

crux-recall is a command published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,535 tokens. 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.