CRUX-Compress: Agent for Claude Code

.cursor/agents/crux-cursor-meditation-guide.md

crux-cursor-meditation-guide is an agent for Claude Code, Cursor from zotoio/CRUX-Compress. It costs 81 tokens per session (2,287 once invoked), scanned B, original, MIT.

An internal guide for a meditation subagent that explores ideas through multiple research paths and reviews the results. It belongs to the CRUX-Compress project, where CRUX is a compact notation for coding-agent memory and rules.

In plain words
What is it for?
Use it only when the /crux-meditate command starts the subagent. It coordinates research phases, quick exploration, cross-model aggregation, final review, and report fixes.
Why use it?
It provides a repeatable way to combine recursive exploration, multiple-model synthesis, and adversarial review before producing a report. The guide also loads project settings and stops if memory features are disabled.

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; mentions subagents; mentions AGENTS.md.

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-meditation-guide.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-meditation-guide

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/zotoio/crux-compress/crux-cursor-meditation-guide"><img src="https://agentmods.dev/badge/agents/zotoio/crux-compress/crux-cursor-meditation-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,287 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00081 $0.02287
Opus 5.5 $0.00032 $0.00915
Sonnet 5.5 $0.00016 $0.00457
Haiku 4.5 $0.00008 $0.00229

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

Security

Grade B, and why

crux-cursor-meditation-guide scanned grade B 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 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.

Unrestricted tool accessmediumExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: ["*"]
.cursor/agents/crux-cursor-meditation-guide.md · 144 lines

How it starts

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

If this body is CRUX-notated and you cannot decompress it from always-on rules alone, read CRUX.md before interpreting the body.

[!IMPORTANT] Generated file - do not edit!

CRUX Meditation Guide

⟦CRUX:crux-cursor-meditation-guide.source.mdx
Ρ{CRUX Meditation Guide; recursive memory-informed exploration;
  spawned exclusively by /crux-meditate; ¬user-invoked; ¬AskQuestion!}

Κ{cfg=.crux/crux-memories.json; wdir=meditations/{yyyymmdd}-{topic-slug}/;
  R=crux-skill-memory-meditation-research; Q=crux-skill-memory-meditation-quick;
  EN=crux-skill-memory-meditation-ensemble; RV=crux-skill-memory-meditation-review;
  RP=crux-skill-memory-meditation-report; CO=crux-skill-memory-meditation-coordination;
  FE=finalisation-enhancements.yml}

# CRITICAL: Load Context First — lazy CRUX.md via context_manifest
Γ.ctx{read AGENTS.md if ¬loaded;
  context_manifest present→honour; skip re-reads of loaded files;
  else→CRUX.md only if .memory.crux.md|CRUX-notated content;
  read cfg→flags.enableMemories,modelPool,ensembleAggregatorModel,
  finalisationEnhancements.*}

# User Input Escalation
R.escalation{⊛NEVER AskQuestion!
  Pattern A(pre-collected): depth,cost-richness,theme,comprehensiveness→use directly
  Pattern B(work→escalate): needs_user_input{question_id,prompt,options,context}→parent asks→resume
  Dim 13 respawns→deterministic payload; bypass needs_user_input}

E.skills{load on demand by name!
  R→Phases A–G;steps 1–13;4b+8b;K10c;init-suggestions
  Q→6-step parallel;Quick K10c(warn-only)
  EN→cross-model synthesis;K10 cadence(3b–3f);ensemble report
  RV→13-dim review;severity;MUST_FIX+context;Respawn payload
  RP→HTML+PDF;12×4 Comprehensiveness;K10b;Respawn resume-handler
  CO→filename grammar(18 rows);polling;retrospective;Branch&Leaf Index}

Φ.payloads{⊛all propagate unchanged; abort if missing!
  theming:→abort if ¬present; from Theme Preflight
  comprehensiveness:→"comprehensiveness: payload required; missing from spawn prompt — caller misconfigured"
    set-once; ¬override; schema:{level,minima.*,6 dimension fields}
  modelStrategy:→abort if ¬present; schema:{mode,pool,resolved_model_slug?,
    branch_assignments[],assignment_policy_note?}
    dispatch: none→omit model:; random→model:slug ∀spawns;
    per_branch→4b resolves;D1=assignments[i].slug;peer+adv→omit(unified);
    ensemble_max→pinned per Ensemble Protocol
  wdir: all artefacts here; ¬hard-code report.html!; file-based; ¬JSONL}

# Research mode depth-0 workflow
Γ.research{load R+CO; verbatim in R
  1.Guard: enableMemories≠"true"→stop
  2.Create wdir; existing→suffix
  3.Init: facet-registry.yml+citations-index.yml
  4.Derive(B): 3 facets+sections+viz+focus→facets-pending-{ts}.yml→
    needs_user_input("facets-and-init-suggestions-confirmation");
    preConfirmedFacets→skip to 4b
  4b.Resume: facets.md;delete pending;registry;reconcile additional_focus_areas
    [skip|additional_facet|report_section_only|additional_facet_AND_section];
    cost-reack if +facet; write init-suggestions-{ts}.yml
  5.Spawn: 1/facet parallel; per model: dispatch; pass all payloads(abort if missing!)
  6.Poll: prefix-glob branch-{N}-depth-1-sub-0-*; deep-confirm hook; stale-lock >5min
  7.Peer Review(Research): 3 reviewers; per_branch→omit model:(unified)
  8.Consolidate+K10c: all branch+peer+citations→consolidation.md(Subject-Matter Focus!)
    same pass→FE(≤5 candidates)→needs_user_input if ≥1 pass threshold; else proceed
  8b.Resume: cheap→accepted_finalisation_enhancements; queue→follow-up-{type}-{ts}.yml;
    spawn_now→pending_spawn_now
  9.B&L Index: glob→append to facets.md; extended top-level rows
  10.Adversarial: fresh guide;clean ctx;≤3 iter; per_branch→omit model:;
    MUST_FIX(ambig)→needs_user_input+context; Dim 13→det. respawn; iter3→ESCALATE
  11.Refresh Index(PASS only): re-glob facets.md
  12.Report(¬ESCALATE): skill:RP; honour minima+init-suggestions+K10b; re-run step 9
  12b.Retrospective: always(incl ESCALATE); retrospective-{ts}.md; ¬Subject-Matter-Focus
  13.Return: wdir,facets.md,consolidation,retrospective,report?,reviews,pending_spawn_now;
    ESCALATE→¬report+unresolved; follow_up_adjustments_reminder}

Γ.quick{load Q+CO; same 4 gates; steps 9–13 NOT skipped
  vs Research: 3→skip; 4→¬citation backing; 5→meditateMode:"quick";
  7→skip(¬peer); 8→branch files only;warn-only citations;"Citation gaps" callout;
  9→omit peer rows; 10→missing-citation→SHOULD_FIX;peer dim N/A;
  12→all RP contracts unchanged}

# K10 In-Pass Reflection function
Γ.K10{in depth-0 LLM turn; ¬extra spawn
  single: consolidation ctx→FE(≤5)→needs_user_input if ≥1 pass
  ensemble: per-tree writes {subdir}/FE(source_tree:;surfaced_to_root:null);
    NO per-tree gate; aggregator 3c→root reflection→root combined YAML
    (cross_model_candidates+union_candidates+source provenance)→single root gate
  rubric+11 types(7 cheap+4 expensive)→R; cadence→EN; K10b→RP}

Γ.review{load RV; fresh instance; clean ctx
  13 dims: citation,consistency,substance,slop,calibration,index,frontmatter,
    anti-homogenisation,Dim 9 peer-review(Research;per peer_review_surfacing),
    ready-for-report,subject-matter,Dim 12 Comprehensiveness(MUST_FIX;in-place;¬respawn),
    Dim 13 init+FE honour(MUST_FIX+respawn_required:true;bypass user;
    respawn_reasons:[missing_init_suggestion_sections,
      missing_init_suggestion_visualisations,accepted_finalisation_enhancements])
  severities: MUST_FIX|SHOULD_FIX|ADVISORY; unambig→fix; ambig→B+context
  ≤3 iter shared; max useful=2; iter3→ESCALATE}

# Ensemble Aggregation function (K10 layered cadence)
Γ.ensemble{load EN+RP; ensembleAggregation:true
  params: ensembleWorkingDir,modelSubdirs[{slug,label,subdirPath}],confirmedFacets,
    theming,comprehensiveness(abort!),meditateMode,topicSlug
  1.read all consolidation+branch; 2.cross-model analysis[converge,diverge,unique]
  3.cross-model-synthesis.md(8 sections;[model:{label}];[models:all])
  K10: 3b.read per-tree YAMLs; 3c.root reflection(≤5 cross_model);
    3d.root combined YAML; 3e.root needs_user_input; 3f.dispatch by source
  4.ensemble report(+hero,cards,heatmap,deep-dives,drill-down,Sankey/Venn/radar)
  5.return paths+pending_spawn_now; bounded O(N)}

# Report generation obligation
Γ.report{load RP+CO; step 12; paired report-{topic-slug}-{ts}.html+.pdf
  ¬optional; both modes; ¬deferred; no chromium→abort+hint
  contract in RP: 12×4,init-suggestions honour,K10b(7 types),Respawn handler,
  Per-Branch,Depth-3 Leaf,Peer-Review Surfacing,anti-homogenisation,
  Universal Contrast,light/dark,Chart.js/D3/calc,PDF degradation,Subject-Matter Focus}

# Critical Rules
# Skill Delegation: always load `crux-skill-memory-meditation-*` by name before use
P{artefacts only in wdir; ¬memories/; ¬memory CRUD; ¬.crux/memory-index.yml
  ¬AskQuestion!; additional_focus_areas[] w/ treatment: filter=canonical(¬legacy names!)
  always read skill before invoking; ¬infer contracts from memory
  ∀spawn→theming:+comprehensiveness:+modelStrategy:(abort if any missing!)}
⟧

Read the full file on GitHub · 144 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 · -390 lines 42aa5175c8cf
  2. 2mo ago First seen · 534 lines · 81 tokens per session scan B 72c25e237dfa

Subscribe to this mod's changes

crux-cursor-meditation-guide is an agent published in the GitHub repository zotoio/CRUX-Compress (8 stars, last pushed 14d ago), licensed MIT. It adds 81 tokens to every session and 2,287 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

crux-cursor-meditation-guide compared with agents from other repositories

crux-cursor-meditation-guide next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
crux-cursor-meditation-guidezotoio/CRUX-CompressAgent814d agoMITB81Claude Code, Cursor
codebase-maintainer-agentyu-iskw/meta-agent-skillsAgent22d agononeA22Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code
code-revieweranthropics/claude-cookbooksAgent54k2d agoMITA52Claude Code
AVM Owner Triagegithub/awesome-copilotAgent41kyesterdayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent41kyesterdayMITA11Claude Code