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/skills/crux-skill-memory-rebalance/SKILL.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/skills/zotoio/crux-compress/crux-skill-memory-rebalance)<a href="https://agentmods.dev/skills/zotoio/crux-compress/crux-skill-memory-rebalance"><img src="https://agentmods.dev/badge/skills/zotoio/crux-compress/crux-skill-memory-rebalance/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/skills/zotoio/crux-compress/crux-skill-memory-rebalance"><img src="https://agentmods.dev/badge/skills/zotoio/crux-compress/crux-skill-memory-rebalance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Memory Poisoning · line 330 Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.Fix: Do not allow untrusted input to persist in agent memory or context. Validate all content before storing and implement memory isolation between sessions.
- medium Memory Poisoning · line 340 Skill injects content designed to persist in agent memory or context across interactions. Persistent injection can alter agent behavior long after the initial interaction.Fix: Do not allow untrusted input to persist in agent memory or context. Validate all content before storing and implement memory isolation between sessions.
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.00054 | $0.06412 |
| Opus 5.5 | $0.00022 | $0.02565 |
| Sonnet 5.5 | $0.00011 | $0.01282 |
| Haiku 4.5 | $0.00005 | $0.00641 |
Grade A, and why
crux-skill-memory-rebalance 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.
How it starts
The opening of the file, as written. The whole thing — 536 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CRUX Skill: Memory Rebalance
The complete REM sleep workflow for the CRUX memory system. Analyses all memories and their reference trackers to verify consistency, detect conflicts, recommend promotions/demotions/archival/consolidation, and apply confirmed changes.
When to Use
Use this skill when:
- Running REM sleep (
/crux-dream --remor/crux-dream --rem --yolo) - Manually rebalancing memory strength scores
- Investigating potential conflicts between memories
- Cleaning up orphaned tracker files or stale memories
Prerequisites
Before any operation:
- Read config: Load
.crux/crux-memories.json. This skill needscruxMemories.typeTransitions,demoteAfterDaysUnreferenced,archiveAfterDaysUnreferenced,typePriority,sizeUnit,compressionTarget,compressionMinLines,maxMemorySize,maxConsolidatedSize,storage.*,referenceTracking.trackingDir,referenceTracking.promotionToRuleThreshold, plus theflags.enableMemories,flags.enableMemoryCompression, andflags.enableMemoryConsolidationgates. Defaults and full key descriptions live in.cursor/skills/_memory-shared.md#config-referenceand.crux/crux-memories.json(authoritative). - Guard check: If
flags.enableMemoriesis not"true", abort and inform the caller that memories are disabled. typeTransitionsvalues are read verbatim from config — do not hard-code promotion thresholds.
REM Sleep Workflow
The full REM sleep workflow executes these steps in order. Each step produces recommendations that are collected and presented together before any changes are applied.
Step 1: Load Corpus
- Recursively scan
memoriesDirandagentMemoriesDirfor all*.memory.mdand*.memory.crux.mdfiles - Parse frontmatter from each memory file (title, description, type, strength, created, modified, source, tags)
- List all
*.refs.ymlfiles intrackingDir - Parse each tracker file (slug, references, last_referenced, strength)
- Build a joined dataset: each memory paired with its tracker (if one exists)
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 · -67 lines 76881c691c72
- 2mo ago First seen · 603 lines · 54 tokens per session scan A 726503534261
crux-skill-memory-rebalance is a skill published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 14d ago), licensed MIT. It adds 54 tokens to every session and 6,412 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.
crux-skill-memory-rebalance compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| crux-skill-memory-rebalancezotoio/CRUX-Compress | Skill | 8 | 14d ago | MIT | A | 54 | Cursor |
| kiro-steering-customgotalab/cc-sdd | Skill | 3.8k | 15d ago | MIT | A | 14 | Claude Code, Codex |
| [object Object]team-reflect/reflect-open | Skill | 1.6k | yesterday | MIT | A | 51 | Claude Code, Codex |
| identity-snapshotdavekilleen/Dex | Skill | 512 | 8d ago | MIT | A | 74 | Claude Code, Codex |
| daily-journalhuytieu/COG-second-brain | Skill | 1.3k | 14d ago | MIT | A | 107 | Claude Code |
| simplemem-skillaiming-lab/SimpleMem | Skill | 3.9k | 3mo ago | MIT | A | 58 | Claude Code, Codex |
| alive:session-historyalivecontext/alive | Skill | 132 | 1mo ago | MIT | A | 76 | Claude Code |