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-test.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-test)<a href="https://agentmods.dev/commands/zotoio/crux-compress/crux-test"><img src="https://agentmods.dev/badge/commands/zotoio/crux-compress/crux-test/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-test"><img src="https://agentmods.dev/badge/commands/zotoio/crux-compress/crux-test.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.02816 |
| Opus 5 | $0.00000 | $0.01408 |
| Sonnet 5 | $0.00000 | $0.00563 |
| Haiku 4.5 | $0.00000 | $0.00282 |
Grade A, and why
crux-test scanned grade A 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 10d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- curl usage example How it starts
The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
crux-test
Run comprehensive tests on all CRUX features via LLM interaction and produce a markdown test report.
Repository: github.com/zotoio/CRUX-Compress
Usage
/crux-test - Run all tests
/crux-test compression - Test compression only
/crux-test decompression - Test decompression only
/crux-test utilities - Test crux-utils skill only
/crux-test validation - Test semantic validation only
Instructions
When this command is invoked, you will exercise each CRUX feature systematically and produce a test report saved as CRUX-TEST-REPORT.md in the project root.
Test Suite
Execute the following tests in order:
Pre-Test Cleanup
Purpose: Delete existing CRUX output files so freshly generated versions can be committed.
Before running any tests, delete the following files if they exist:
tests/fixtures/sample-rule.crux.mdtests/fixtures/compress-test.crux.md
This ensures the compression tests generate fresh output that reflects the current state of the source files and can be included in commits.
Note: Do NOT delete tests/fixtures/no-change.crux.md - it is a permanent baseline for drift detection.
Alternative: The --force flag in /crux-compress can be used to achieve the same effect by deleting CRUX files before recompression. However, for test isolation, we delete files explicitly in this pre-test phase.
Test 1: Compression Test
Purpose: Verify CRUX compression works correctly.
- Read the sample rule file at
tests/fixtures/sample-rule.md - Spawn a
crux-cursor-rule-managersubagent to compress it - Verify the output was created at
tests/fixtures/sample-rule.crux.md - Check the output has required frontmatter fields:
generated(timestamp)sourceChecksum(checksum value)beforeTokens(number)afterTokens(number)
- Verify the CRUX block contains
⟦CRUX:sample-rule.mdheader - Record: PASS/FAIL, token reduction percentage
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.
- 10d ago First seen · 319 lines · 0 tokens per session scan A 8eafe26f5998
crux-test is a command published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,816 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
add-tests
Add tests for recently changed files or specified code.
ijfw-audit
Run the IJFW audit gate for the current workflow phase. Usage: /ijfw-audit [phase name].
ui-aqa-flow-test-report-analysis
Phase 7 Test Report Analysis of ui-aqa-flow.
api-aqa-flow-execution-and-report-analysis
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED).
playwright-execute
Run Playwright tests or suites and upload the resulting report to Katalon True Platform. Use when you need to execute Playwright scripts, package scripts, spec files, projects, or suites, configure or verify @katalon/playwright-reporter, upload Playwright reports with Katalon CLI/reporter commands, and verify uploaded…
test-management
Organize, classify, and trace Katalon True Platform/TestOps test assets. Use when you need to structure test cases into folders and suites, move or reorganize cases, search and find existing assets at scale, link or unlink requirements to test cases, or produce a requirement-to-test traceability report (which…