magicite / rules
Cursor rule2 starsChanged 2 months agoApache-2.0View on GitHub
Eidolons routing cortex — read before any non-trivial prompt.
In this repository108 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- atlasCursor rule
- forgeCursor rule
- gilgameshCursor rule
- idgCursor rule
- kupoCursor rule
- ramzaCursor rule
- vigilCursor rule
- viviCursor rule
- atlas-abstractSkill
- atlas-esl-hopSkill
- atlas-locateSkill
- atlas-rescoutSkill
- atlas-scatterSkill
- atlas-synthesizeSkill
- atlas-traverseSkill
- atlas-verify-incomingSkill
- forge-checker-handoffSkill
- forge-deliberationSkill
- forge-framingSkill
- forge-self-consistencySkill
- forge-verificationSkill
- forge-verify-incomingSkill
- gilgamesh-attestSkill
- gilgamesh-esl-hopSkill
- gilgamesh-gaugeSkill
- gilgamesh-grindSkill
- gilgamesh-verify-incomingSkill
- idg-compositionSkill
- idg-esl-hopSkill
- idg-section-parallelSkill
- idg-verificationSkill
- idg-verify-incomingSkill
- kupo-esl-hopSkill
- kupo-keep-or-kickSkill
- kupo-patch-verifySkill
- kupo-verify-incomingSkill
- ramza-criticSkill
- ramza-discoverSkill
- ramza-esl-hopSkill
- ramza-methodologySkill
- ramza-parallel-specSkill
- ramza-verify-incomingSkill
- vigil-esl-hopSkill
- vigil-graphSkill
- vigil-interveneSkill
- vigil-isolateSkill
- vigil-learnSkill
- vigil-verify-incomingSkill
- vigil-verifySkill
- vivi-context-engineeringSkill
- vivi-esl-hopSkill
- vivi-failure-recoverySkill
- vivi-loop-nativeSkill
- vivi-memory-managementSkill
- vivi-methodologySkill
- vivi-parallel-tracksSkill
- vivi-verify-incomingSkill
- atlas-abstractSkill
- The first 60 shown.
The file
Files
---
description: Eidolons routing cortex — read before any non-trivial prompt.
alwaysApply: true
---
<!-- eidolon:cortex start -->
<!-- eidolon:cortex start -->
# EIDOLONS.md — Routing Cortex
> Always-loaded routing cortex for the Eidolons nexus.
> A host LLM reading this file once at session start can route any
> free-form prompt to the correct Eidolon(s), at the correct tier,
> in the correct chain. No vendor model names appear here — capability
> classes and tier ladder only (`light < standard < deep`). The concrete
> model per tier is set by the active profile in `roster/model-profiles.yaml`;
> use `eidolons model` to inspect or change it. See §DEEP for extended
> tables loaded on demand.
>
> The `<!-- always-loaded:start/end -->` pair below marks the byte range a
> mechanical CI check counts against the I-C4 ≤900-token budget. The check
> uses a configurable chars-per-token proxy (default `--ratio 3` for Claude
> 4.7+ which produces ~30% more tokens; use `--ratio 4` for older tokenizers).
> CI fails > 850 to leave headroom — see `.github/workflows/ci.yml`
> "cortex-token-budget" and `scripts/token-budget-check.sh`. Everything
> outside the markers is on-demand and does not count.
---
<!-- always-loaded:start -->
## Roster
| Name | Class | Triggers | Refuses | Handoff |
|------|-------|----------|---------|---------|
| ATLAS | scout | map, trace, where does, how does, investigate, analyze, audit (read-only) | implement, fix, edit, write, commit | RAMZA, Vivi, IDG |
| RAMZA | planner (default) | spec, plan, decompose, clarify requirements, decision-ready | implement code, modify files | Vivi, IDG |
| SPECTRA | planner (opt-in) | named dispatch only | implement code, modify files | Vivi, IDG |
| Vivi | coder (default) | implement, build, fix, refactor, optimize, migrate, make tests pass | design from scratch, novel architecture | IDG |
| APIVR-Δ | coder (opt-in) | named dispatch only | design from scratch, novel architecture | IDG |
| IDG | scriber | document, ADR, runbook, write up, summarize | explore repo, find calls, retrieve | (terminal) |
| FORGE | reasoner | trade-off, compare, evaluate, which approach | implement, retrieve, synthesize prose | (lateral) |
| VIGIL | debugger | diagnose, debug, root cause, flaky, why does X fail | build new feature, plan from scratch | (lateral) |
| Kupo | executor | rename, import/path fix, lockfile bump, lint autofix, one-line edit, search-replace | design, plan, cross-cutting refactor | (orchestrator-dispatched) |
| Gilgamesh | generalist (fallback-only; zero triggers—Step-2(a) only) | | design, plan, deploy, migrate, route, spawn, underspecified | (orchestrator-dispatched; PROPOSEs upward) |
## Dispatch
**Default:** delegate via pipeline; orchestrator does not implement, spec, or scout directly. Direct answer only for trivial/conversational/single-fact. Tier default `standard`; TRANCE gated, never automatic.
1. **Classify** — extract verbs, match triggers, score 0–1.
2. **Gate** — ≥0.8 one Eidolon, ≤1 verb class: dispatch standard. ≥0.6 for ≥2 OR spans ≥2 classes: chain (`chain-templates.md`). <0.6 all (`dispatch-predicate.md`): (a) actionable → Gilgamesh; (b) underspecified → `clarification_request` (1–3 questions), do NOT dispatch. Gilgamesh never enters Step 1, never outranks specialist ≥τ.
3. **Refusal** — top Eidolon refuses → reroute + emit `[DECISION]`.
4. **Tier** — default `standard`; `trance` only with complexity AND stakes flags (`trance-matrix.md`).
5. **Artifact** — emit (`routing-artifact.md`): `{selected, tier, chain:[{eidolon, role, hand_off_artifact_path, edge_origin}], model_tier_per_step, confidence, assumptions, clarification_request?, refusal_rerouting}`.
<!-- always-loaded:end -->
---
## Chain Templates
Chain templates route a prompt spanning ≥2 co-triggering capability classes
to a scripted step sequence. Full table (steps + trigger condition) relocated
on demand: `methodology/cortex/chain-templates.md`.
---
## TRANCE Activation Gates
TRANCE grants parallel fan-out, worktree isolation, verifier-cascade
wrapping, an evaluator-opti
> Deep tables: `.eidolons/cortex/trance-matrix.md`, `.eidolons/cortex/handoff-graph.md`, `.eidolons/cortex/validation-gates.md`
<!-- eidolon:cortex start -->
<!-- eidolon:cortex start -->
# EIDOLONS.md — Routing Cortex
> Always-loaded routing cortex for the Eidolons nexus.
> A host LLM reading this file once at session start can route any
> free-form prompt to the correct Eidolon(s), at the correct tier,
> in the correct chain. No vendor model names appear here — capability
> classes and tier ladder only (`light < standard < deep`). The concrete
> model per tier is set by the active profile in `roster/model-profiles.yaml`;
> use `eidolons model` to inspect or change it. See §DEEP for extended
> tables loaded on demand.
>
> The `<!-- always-loaded:start/end -->` pair below marks the byte range a
> mechanical CI check counts against the I-C4 ≤900-token budget. The check
> uses a configurable chars-per-token proxy (default `--ratio 3` for Claude
> 4.7+ which produces ~30% more tokens; use `--ratio 4` for older tokenizers).
> CI fails > 850 to leave headroom — see `.github/workflows/ci.yml`
> "cortex-token-budget" and `scripts/token-budget-check.sh`. Everything
> outside the markers is on-demand and does not count.
---
<!-- always-loaded:start -->
## Roster
| Name | Class | Triggers | Refuses | Handoff |
|------|-------|----------|---------|---------|
| ATLAS | scout | map, trace, where does, how does, investigate, analyze, audit (read-only) | implement, fix, edit, write, commit | RAMZA, Vivi, IDG |
| RAMZA | planner (default) | spec, plan, decompose, clarify requirements, decision-ready | implement code, modify files | Vivi, IDG |
| SPECTRA | planner (opt-in) | named dispatch only | implement code, modify files | Vivi, IDG |
| Vivi | coder (default) | implement, build, fix, refactor, optimize, migrate, make tests pass | design from scratch, novel architecture | IDG |
| APIVR-Δ | coder (opt-in) | named dispatch only | design from scratch, novel architecture | IDG |
| IDG | scriber | document, ADR, runbook, write up, summarize | explore repo, find calls, retrieve | (terminal) |
| FORGE | reasoner | trade-off, compare, evaluate, which approach | implement, retrieve, synthesize prose | (lateral) |
| VIGIL | debugger | diagnose, debug, root cause, flaky, why does X fail | build new feature, plan from scratch | (lateral) |
| Kupo | executor | rename, import/path fix, lockfile bump, lint autofix, one-line edit, search-replace | design, plan, cross-cutting refactor | (orchestrator-dispatched) |
| Gilgamesh | generalist (fallback-only; zero triggers—Step-2(a) only) | | design, plan, deploy, migrate, route, spawn, underspecified | (orchestrator-dispatched; PROPOSEs upward) |
## Dispatch
**Default:** delegate via pipeline; orchestrator does not implement, spec, or scout directly. Direct answer only for trivial/conversational/single-fact. Tier default `standard`; TRANCE gated, never automatic.
1. **Classify** — extract verbs, match triggers, score 0–1.
2. **Gate** — ≥0.8 one Eidolon, ≤1 verb class: dispatch standard. ≥0.6 for ≥2 OR spans ≥2 classes: chain (`chain-templates.md`). <0.6 all (`dispatch-predicate.md`): (a) actionable → Gilgamesh; (b) underspecified → `clarification_request` (1–3 questions), do NOT dispatch. Gilgamesh never enters Step 1, never outranks specialist ≥τ.
3. **Refusal** — top Eidolon refuses → reroute + emit `[DECISION]`.
4. **Tier** — default `standard`; `trance` only with complexity AND stakes flags (`trance-matrix.md`).
5. **Artifact** — emit (`routing-artifact.md`): `{selected, tier, chain:[{eidolon, role, hand_off_artifact_path, edge_origin}], model_tier_per_step, confidence, assumptions, clarification_request?, refusal_rerouting}`.
<!-- always-loaded:end -->
---
## Chain Templates
Chain templates route a prompt spanning ≥2 co-triggering capability classes
to a scripted step sequence. Full table (steps + trigger condition) relocated
on demand: `methodology/cortex/chain-templates.md`.
---
## TRANCE Activation Gates
TRANCE grants parallel fan-out, worktree isolation, verifier-cascade
wrapping, an evaluator-opti
> Deep tables: `.eidolons/cortex/trance-matrix.md`, `.eidolons/cortex/handoff-graph.md`, `.eidolons/cortex/validation-gates.md`
<!-- eidolon:cortex end -->
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

