CRUX-Compress: Agent for Claude Code

.cursor/agents/crux-cursor-memory-manager.md

crux-cursor-memory-manager is an agent for Claude Code, Cursor from zotoio/CRUX-Compress. It costs 53 tokens per session (697 once invoked), scanned A, original, MIT.

A specialist agent that manages the full lifecycle of CRUX Memories, including extracting, reorganizing, compressing, and recalling saved knowledge.

In plain words
What is it for?
Extracting memories from work, rebalancing them during REM sleep, detecting conflicts, compressing memory files, tracking references, and answering recall queries.
Why use it?
It centralizes memory maintenance and handles conflicts and reference tracking so project memories remain usable over time.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

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/agents/crux-cursor-memory-manager.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-cursor-memory-manager

README.md
[![agentmods](https://agentmods.dev/badge/agents/zotoio/crux-compress/crux-cursor-memory-manager/github.svg)](https://agentmods.dev/agents/zotoio/crux-compress/crux-cursor-memory-manager)
Your own site
<a href="https://agentmods.dev/agents/zotoio/crux-compress/crux-cursor-memory-manager"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/crux-cursor-memory-manager/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-cursor-memory-manager

Your own site · 80×15
<a href="https://agentmods.dev/agents/zotoio/crux-compress/crux-cursor-memory-manager"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/crux-cursor-memory-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 697 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.00053 $0.00697
Opus 5.5 $0.00021 $0.00279
Sonnet 5.5 $0.00011 $0.00139
Haiku 4.5 $0.00005 $0.00070

Measured 1mo ago against content hash 70ae6f7a48be, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

crux-cursor-memory-manager 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 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.

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/agents/crux-cursor-memory-manager.md · 41 lines

How it starts

The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.

This agent is a deprecated dispatcher shim. The Memory Manager has been split into five mode-scoped thin agents so each memory command only pays for the mode it uses. If your task maps to one of the modes below, spawn the thin agent directly.

Dispatch table

Mode Thin agent to spawn Parent orchestrator
Dream Mode crux-memory-dream /crux-dream <spec-name>
REM Sleep crux-memory-rem /crux-dream --rem (also /crux-recall → Consolidate)
Recall Mode crux-memory-recall /crux-recall (Canvas branch on --total)
Remember Mode crux-memory-remember /crux-remember
Forget Mode crux-memory-forget /crux-forget (also /crux-recall → Delete)

Routing rule: If your task is <mode>, prefer spawning <thin-agent> directly. This umbrella is retained for pre-upgrade installs and will be removed after one minor release once thin agents ship in the dist zip. The five thin agents each carry their own context_manifest honor block and shared-reference pointer, so no capability is lost by bypassing this dispatcher.

Meditate ownership: Meditate / Research / Quick / Ensemble work is owned by crux-cursor-meditation-guide (spawned by /crux-meditate) — not by this dispatcher.

Removal criteria

  • The five thin agents (crux-memory-dream, crux-memory-rem, crux-memory-recall, crux-memory-remember, crux-memory-forget) plus .cursor/agents/templates/recall-canvas.tsx.md are shipped in the dist zip.
  • The consumer upgrade script re-points existing installs at the thin agents.
  • One minor release cycle has elapsed since the thin agents shipped so downstream projects have had a chance to upgrade.

Once all three criteria are met, delete this file.

Shared reference

Read the full file on GitHub · 41 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. 1mo ago Changed · -311 lines · +19 tokens per session 70ae6f7a48be
  2. 2mo ago First seen · 352 lines · 34 tokens per session scan A ecb4c4ce2b11

Subscribe to this mod's changes

crux-cursor-memory-manager is an agent published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 14d ago), licensed MIT. It adds 53 tokens to every session and 697 once invoked, about $0.0002 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-31.

Related

crux-cursor-memory-manager compared with agents from other repositories

crux-cursor-memory-manager next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crux-cursor-memory-managerzotoio/CRUX-CompressAgent814d agoMITA53Claude Code, Cursor
agent-orchestration-context-managerwshobson/agentsAgent42kyesterdayMITA66Claude Code
00-session-bootstrapassafkip/kipi-systemAgent1312d agoMITA21Claude Code
sdd-testerchohra-med/expo_boilerplateAgent361mo agoMITA61Claude Code
tp-session-restorerDigital-Threads/token-pilotAgent517d agononeA57Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code