Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git 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/rules/zotoio/crux-compress/compress-md-landing-page-prompt.crux)<a href="https://agentmods.dev/rules/zotoio/crux-compress/compress-md-landing-page-prompt.crux"><img src="https://agentmods.dev/badge/rules/zotoio/crux-compress/compress-md-landing-page-prompt.crux/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/rules/zotoio/crux-compress/compress-md-landing-page-prompt.crux"><img src="https://agentmods.dev/badge/rules/zotoio/crux-compress/compress-md-landing-page-prompt.crux.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.02424 |
| Opus 5 | $0.00000 | $0.01212 |
| Sonnet 5 | $0.00000 | $0.00485 |
| Haiku 4.5 | $0.00000 | $0.00242 |
Grade C, and why
compress-md-landing-page-prompt.crux scanned grade C with 2 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 12d 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
install=`curl -fsSL https://raw.githubusercontent.com/zotoio/CRUX-Compress/main/install.sh | bash` Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
install=`curl -fsSL https://raw.githubusercontent.com/zotoio/CRUX-Compress/main/install.sh | bash` How it starts
The opening of the file, as written. The whole thing — 224 lines — stays where its author put it; the contents beside it link to each section on GitHub.
[!IMPORTANT] Generated file - do not edit!
COMPRESS.MD — Landing Page Build Specification
⟦CRUX:compress-md-landing-page-prompt.md
Ρ{compress.md landing page}
target=single static page for CRUX-Compress
repo=github.com/zotoio/CRUX-Compress
domain=compress.md; status=EXPERIMENTAL!
msg="Reclaim ≤80% ctx window. CRUX→semantic core extraction"
journey{land→compression viz»scroll»explore»expand spec»install}
Κ{ctx=context; cmp=compression;
verbose=uncompressed; sp=space; ch=char}
Λ.tech{
stack=static HTML/CSS/JS(¬build step)
hosting=GitHub Pages compatible
deps=minimal+CDN-loaded
perf≤3s first meaningful paint@4G
a11y=WCAG 2.1 AA
}
Λ.design{
palette{¬purple!; ¬std AI gradients!
USE=[deep teals,warm ambers,charcoal blacks]
ACCENT{verbose=cool; compressed=warm}}
typo{mono=[code,CRUX notation]; sans=Inter|system-ui}
layout{¬generic cards!; ¬cookie-cutter hero!
YES=[asymmetric,intentional whitespace,editorial]}
anim=purposeful only→every motion communicates cmp
}
Λ.content{
tone=technical+precise+forward-looking
audience=engineers who've hit ctx limits
claims=["≤80% token reduction","experimental tool","LLMs interpret natively"]
}
Π.sections{
S0{name="Hero—Compression Chamber"; type=CSS viz
concept="animated gradients+floating particles→transformation atmosphere"
full viewport height
overlay{title="CRUX";subtitle="Context Reduction Using X-encoding"
progress bar="80% RECOVERED";stats="2,500→500 tokens"}}
S1{name="The Problem"; layout=split
left=verbose markdown; right=ctx window viz
copy="AI assistants rely on ctx windows. Rules consume tokens.
As rule library grows→ctx balloons. You want readable rules;
LLMs just need actionable info."
pain="70% consumed by rules"}
S2{name="The Approach—Live Compression Demo"
layout=side-by-side panels
left{title="BEFORE: 625 tokens"; content=verbose markdown}
right{title="AFTER: 112 tokens"; content=CRUX notation}
anim=scroll-triggered line-by-line cmp
msg="LLMs interpret CRUX natively. ¬decompression. ¬training."}
S3{name="The Notation—Interactive Spec Explorer"
layout=expandable/collapsible sections
default=collapsed+preview; click→expand
groups=[STRUCTURE,COMPARISON,PRIORITY,DATA_FLOW,SEQUENCE,
RELATIONS,LOGIC,CHANGE,QUALIFIERS,IMPORTANCE,STANDARD_BLOCKS]
link="View Full Spec on GitHub→"}
S4{name="Quickstart"
warning="⚠ EXPERIMENTAL—expect breaking Δ. Provide feedback."
install=`curl -fsSL https://raw.githubusercontent.com/zotoio/CRUX-Compress/main/install.sh | bash`
prereqs=[curl,unzip,Cursor IDE]
installed{
CRUX.md="Specification (readonly)"
AGENTS.md="Agent awareness notice"
.cursor/rules/_CRUX-RULE.mdc="Always-applied rule"
.cursor/agents/crux-cursor-rule-manager.md
.cursor/commands/crux-compress.md
.cursor/hooks/crux-detect-changes.sh
.crux/crux.json}
usage{1.+`crux:true` to frontmatter; 2.run `/crux-compress ALL`; 3."Watch ctx breathe"}
links=["View on GitHub→","Read Full Docs→","Report Issue→"]}
S5{name="Footer"
title="CRUX—Context Reduction Using X-encoding"
desc="experimental tool for AI ctx optimization"
license=MIT; ver=v2.1.0
links=[GitHub,Specification,Changelog,Issues]}
}
Γ.hero{
CSS anim background{
radial gradients→[teal@20%30%,amber@80%70%,gold@center]
floating particles via @keyframes
}
scroll.ctrl{
scrollY→normalizedProgress(0.0..1.0)
→compression bar fill
→percentage update}
}
Φ.design{
colors{
bg{primary:#0a0f0f#near-black+teal undertone
secondary:#141c1c#dark teal-gray
tertiary:#1e2a2a#code block bg}
text{primary:#e8eeee#warm white
secondary:#8fa3a3#muted teal-gray
tertiary:#5a7070#subtle}
accent{verbose:#5b8a9a#cool teal
compressed:#d4915a#warm amber
symbol:#f0c674#bright gold}
interactive{link:#7ab3c2; hover:#9fd4e3}
border{default:#2a3838; focus:#4a6868}
experimental:#c27a5a#warm orange}
typo{
fonts{mono:'JetBrains Mono','Fira Code','SF Mono'
sans:'Inter',system-ui,-apple-system}
scale(1.25 ratio){xs:0.64rem;sm:0.8rem;base:1rem;lg:1.25rem
xl:1.563rem;2xl:1.953rem;3xl:2.441rem;4xl:3.052rem}
leading{tight:1.2;normal:1.5;relaxed:1.75}}
spacing{
1:0.25rem;2:0.5rem;3:0.75rem;4:1rem;6:1.5rem
8:2rem;12:3rem;16:4rem;24:6rem;32:8rem}
components{
code-block{bg:tertiary;border:1px+left 3px compressed
border-radius:0 4px 4px 0;font:mono;size:sm}
code-block--crux{left-border:symbol;bg:gradient→symbol 5%}
spec-section{border:1px;radius:4px;expandable
header{bg:secondary;hover:tertiary;cursor:pointer}
symbols{font:mono;color:symbol;margin-left:auto}}
compression-bar{height:8px;radius:4px
fill:gradient verbose→compressed
label{font:mono;size:xs;color:text-primary}}}
}
E.demo{
before{
"# Team Development Standards\n## Style Rules\n
### Indentation & Formatting\n* Use **2 spaces**...\n
* **Never use tabs!**...\n* Lines must not exceed **100 chars**\n
### Naming Conventions\n| Element | Convention |..."}
after{
"⟦CRUX:coding-standards.md\nΡ{team dev standards}\n
R.style{\n indent=2sp; ¬tabs!; line≤100ch\n
naming{fn=camelCase; cls=PascalCase; const=UPPER_SNAKE}\n}\n⟧"}
try-it{
api-rules="⟦CRUX:api-rules\nΡ{REST API design standards}\n
R{∀endpoint→versioned(/v{n}/);auth=JWT|API_KEY;rate.limit=100/min}\n
P.response{success→{data,meta};error→{code,message,details?}}\n
Λ{5xx→retry»backoff[max=3];429→wait(retry-after)}\n
Γ{req»validate»auth»process»respond}\n
Ω{consistency≻flexibility;explicit≻implicit;¬halluc}\n⟧"
code-mod="⟦CRUX:code-mod-protocol\nR=req→truth;gap→assume+mark;?arch→ask first\n
C=obs→cite path:lines;repo≻chat\nΔ=R≠C→tag{code|tests|req}+why\n
PLAN=min files+targeted Δ;justify+file|broad\n
PATCH=surgical diff;¬rewrite w/o proof\nCHECK=run»+tests|static val\n
STATE={R,C,Δ}→upd on progress\nΩ{¬halluc;verified only}\n⟧"}
}
P.principles{
non-negotiable[
1."Visual impact matters—hero communicates compression via design"
2."Experimental status is honest—every section acknowledges. Build trust via transparency"
3."Show, don't claim—live demo≻marketing copy. Make unmissable"
4."Technical audience respect—¬dumb down. Speak to ctx limit pain precisely"
5."Performance non-negotiable—smooth 60fps simple≻janky complex"]
design-philosophy[
"asymmetry≻grids"; "editorial whitespace";
"purposeful anim→every motion=compression"; "warm technical—precise¬cold"]
positioning[
"early but promising"; "part of emerging ctx engineering discipline";
"evolves w/ community input"; "experiment w/¬depend on(yet)"]
}
M{
project:compress.md; version:1.0.0-alpha
repo:https://github.com/zotoio/CRUX-Compress
license:MIT
browsers=all modern(Chrome,Edge,Firefox,Safari)+mobile
deps=none required(vanilla JS)
hosting:GitHub Pages; analytics:none(privacy-first)
}
Κ.deliverables{
/compress.md/
├─index.html#single page all content
├─styles/main.css#all styles+CSS custom properties
├─scripts/
│ ├─camera-controller.js#scroll-linked anim
│ ├─compression-demo.js#before/after anim
│ └─spec-expander.js#expandable notation sections
├─assets/
│ ├─og-image.png#social sharing
│ └─favicon.svg#CRUX-themed
└─README.md#deployment instructions
}
Ω{
hero visual impact!
experimental status acknowledged∀sections
show≻claim via live demo
60fps performance
¬purple; ¬std AI gradients
asymmetric editorial layout
≤3s first paint@4G
}
⟧
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.
- 12d ago First seen · 224 lines · 0 tokens per session scan C 4490405dddb3
compress-md-landing-page-prompt.crux is a cursor rule published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,424 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other cursor rules, from other repositories
18-responsiveness-constraints
Responsiveness, constraints, auto-layout sizing (FILL/HUG/FIXED), min/max dimensions, adaptive components. Use when building responsive screens, setting constraints, or making components adapt to different screen sizes.
12-micro-interactions
Micro-interactions, hover effects, press feedback, scroll animations, prototype validation. Use when adding interactive details, prototyping flows, or polishing UI interactions.
006-ui-styling
Enforce consistent UI styling practices across the codebase for a cohesive visual experience, maintainability, and performance.
nextjs-react-tailwind-cursorrules-prompt-file
Cursor rules for Next.js development with React and Tailwind CSS integration.
nextjs-material-ui-tailwind-css-cursorrules-prompt
Cursor rules for Next.js development with Material UI and Tailwind CSS integration.
react-components-creation-cursorrules-prompt-file
Cursor rules for React component creation and development.