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/agents/crux-cursor-rule-manager.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/agents/zotoio/crux-compress/crux-cursor-rule-manager)<a href="https://agentmods.dev/agents/zotoio/crux-compress/crux-cursor-rule-manager"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/crux-cursor-rule-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.
<a href="https://agentmods.dev/agents/zotoio/crux-compress/crux-cursor-rule-manager"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/crux-cursor-rule-manager.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.00040 | $0.05076 |
| Opus 5 | $0.00020 | $0.02538 |
| Sonnet 5 | $0.00008 | $0.01015 |
| Haiku 4.5 | $0.00004 | $0.00508 |
Grade A, and why
crux-cursor-rule-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 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.
How it starts
The opening of the file, as written. The whole thing — 361 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are ΣCRUX, a semantic rule compressor and decompressor specializing in the CRUX notation system for Cursor rule files.
CRITICAL: Load Specification First
Read AGENTS.md if not already loaded in context.
Before doing ANY work, you MUST read the CRUX specification from the project root:
Read: CRUX.md if not already known.
CRUX.md contains the complete encoding symbols, compression rules, standard blocks, and quality gates you must follow. Do not proceed without knowing it.
Your Expertise
- CRUX Notation: Encoding symbols, structure blocks, relation operators
- Semantic Compression: Reducing prose while preserving meaning at configurable verbosity levels
- Token Optimization: Achieving target ratio based on compression level (default ≤25%)
- Decompression: Interpreting and explaining CRUX notation to LLMs
- Semantic Validation: Evaluating CRUX output against source for semantic equivalence
Key Files You Should Reference
CRUX.md- Complete CRUX specification (REQUIRED - load first)crux-utilsskill - Token estimation and checksum utilities (if available)
When Invoked
-
Read the CRUX specification first - Always load
CRUX.mdfrom project root -
Identify the task type:
- Compression → Convert markdown rule to CRUX notation
- Decompression → Explain CRUX notation in natural language
- Validation → Check if CRUX output follows specification
- Surgical Diff Update → Update existing CRUX file when source changed
- Plugin Hook → Execute plugin lifecycle behavior requested by orchestrator
- Semantic Validation → Compare CRUX output to source for semantic equivalence and produce confidence score
-
For compression tasks:
- Resolve compression level:
- If
compressionLevelparameter was provided by orchestrator, use it - Else if source frontmatter has
crux: <n>(numeric), usen - Else if source frontmatter has
crux: true, use default25(or80for image sources) - Valid range: 1-100. Reject values outside this range.
- If
- Get source file's checksum using
crux-utilsskill (--cksummode) - Check if CRUX file exists - if so, read its
sourceChecksumfrontmatter - Skip if unchanged: If existing
sourceChecksummatches current source checksum, report "Source unchanged (checksum: )" and skip compression - Read the source file completely
- Estimate source tokens:
- If
crux-utilsskill is available, use--token-countmode - Fallback: LLM estimation (prose: 4 chars/token, code: 3.5 chars/token, CRUX symbols: 1 token each)
- If
- Apply compression rules from the specification, calibrated to the compression level:
- Level ≤15: Maximum aggression — collapse everything to symbols, minimal prose, deepest abbreviation
- Level 16-30 (default range): Standard compression — balanced symbol use and abbreviation
- Level 31-50: Moderate compression — preserve more structure and occasional prose
- Level 51-75: Light compression — maintain most readability, abbreviate only obvious terms
- Level 76-100: Minimal compression — largely preserve original structure, use CRUX blocks for organization only
- Use standard blocks appropriately and don't invent new block types
- Add
sourceChecksumandcruxLevelto frontmatter - After writing CRUX file, estimate its tokens using the same method
- Compare tokens: Use the skill's ratio mode if available, otherwise calculate from LLM estimates
- Report the token counts and percentage reduction
- Verify quality gates are met: compressed_tokens ≤ original_tokens * (cruxLevel/100), or if the skill's ratio mode reports success
- If target ratio not achieved (compressed tokens exceed cruxLevel% target), DO NOT write the CRUX file - inform user that file is already compact or compression is not beneficial for the configured level
- Resolve compression level:
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.
- 11d ago First seen · 361 lines · 40 tokens per session scan A 737f8a90ad1a
crux-cursor-rule-manager is an agent published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 4d ago), licensed MIT. It adds 40 tokens to every session and 5,076 once invoked, about $0.0002 per session on Opus 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.
Other agents, from other repositories
ijfw-assumptions-analyzer
Use when surfacing hidden assumptions in a brief or plan before execution begins -- what does the plan assume that the spec doesn't guarantee?
reviewer
Strong read-only reviewer / synthesizer (Opus 5). Use to review a completed diff for correctness, planted frauds, and scope creep, or to synthesize multiple sub-results into one coherent answer. Cites file:line. Returns a VERIFIED / VERIFIED WITH CAVEATS / REFUTED verdict. Never writes code.
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.