architect
Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with end conditions that Archon can…
Research-driven multi-cycle improvement director. Forms causal hypotheses about why scores are low, validates them with scout agents before attacking, dispatches axis-parallel fleet attacks, extracts transferable patterns, and runs indefinitely within a budget envelope.
$ npx -y skills add SethGammon/Citadel --skill evolve --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/evolveContext preview
The summary Claude sees to decide when to auto-load this skill.
Research-driven multi-cycle improvement director. Forms causal hypotheses about why scores are low, validates them with scout agents before attacking, dispatches axis-parallel fleet attacks, extracts transferable patterns, and runs indefinitely within a budget envelope.
name: evolve license: MIT description: >- Research-driven multi-cycle improvement director. Forms causal hypotheses about why scores are low, validates them with scout agents before attacking, dispatches axis-parallel fleet attacks, extracts transferable patterns, and runs indefinitely within a budget envelope. Accumulates a persistent belief model and pattern library across sessions. user-invocable: true auto-trigger: false trigger_keywords: - evolve - sustained improve - improvement director - research-driven improve - multi-cycle improve - run until done - improve until ceiling - keep improving - hypothesis - belief model - scout agents last-updated: 2026-05-03
**Use when:** You want sustained autonomous quality advancement — the director forms hypotheses, scouts before attacking, and builds a belief model that compounds across cycles. Runs until a natural ceiling, budget exhaustion, or you say stop.
**Don't use when:** You want a single scored loop (`/improve`), a known axis attacked directly (`/improve --axis`), or a one-time audit (`/improve --score-only`).
**Key difference from `/improve`:** `/improve` follows the rubric mechanically. `/evolve` asks *why* scores are where they are, validates those theories before spending fleet budget, and extracts cross-skill patterns that propagate to skills never directly attacked.
/evolve {target} # run until ceiling, velocity drop, or budget
/evolve {target} --n={N} # exactly N director cycles then stop
/evolve {target} --budget=${X} # run until cumulative spend reaches $X
/evolve {target} --continue # resume from saved director state
/evolve {target} --status # show belief model, velocity, spend — no attack
/evolve {target} --axis={name} # focus director on one axis (scout + attack only)`target` maps to `.planning/rubrics/{target}.md`. If no rubric exists, run `/improve {target}` Phase 0 first — `/evolve` requires an approved rubric and will not auto-generate one.
All findings are externalized incrementally — written after every phase, not only at cycle end. A crashed or compacted session resumes with full context.
| Artifact | Path | Contents | |---|---|---| | Director state | `.planning/evolve/{target}/director-state.json` | cycle count, spend, velocity history, current phase, halt status | | Belief model | `.planning/evolve/{target}/belief-model.jsonl` | one record per (axis, skill) per cycle: score, hypothesis, evidence, confidence | | Experiment log | `.planning/evolve/{target}/experiment-log.jsonl` | every experiment: hypothesis → prediction → actual delta → mechanism confirmed | | Pattern library | `.planning/evolve/{target}/pattern-library.md` | transferable patterns: what change to what axis class caused what delta in which skills | | Cycle digest | `.planning/evolve/{target}/cycle-{n}-digest.md` | human-readable per-cycle summary for review | | Global patterns | `.planning/research/patterns.md` | cross-target patterns written outside campaign scope; available to future sessions and other targets | | Knowledge wiki | `.planning/wiki/` | compiled wiki pages from `/learn`; integrates evolve discoveries across sessions |
Create `.planning/evolve/{target}/` on first invocation. Create `.planning/research/` if absent.
**Cycle digest contents:** scores table (axis, prior, this cycle, delta), hypotheses table (id, axis, hypothesis, scout result, confidence), what was attacked (axis, skill, delta, mechanism confirmed), patterns discovered this cycle, belief model updates, and the spend/velocity line. Full template: docs/QUALITY_LOOPS.md#cycle-digest-format.
Run `/improve {target} --score-only`. Record scores to belief model with delta from prior cycle (empty on cycle 1). Flag any axis that dropped since last cycle as `regression-watch` — these are checked first in Phase 2.
For every axis below 8.0, generate one primary hypothesis in this form:
HYPOTHESIS: {axis} scores {n}/10 because {specific mechanism},
not because {common misread}.
PREDICTION: Fixing {mechanism} will raise score ≥ {delta} across {N} skills.
FALSIFICATION: If we apply {change} and score does not rise > 0.5, hypothesis rejected.Draw hypotheses from: evaluator justifications in Phase 1, prior evidence in the belief model, and programmatic check failures. Do not hypothesize from score alone — the number is the symptom.
Write each hypothesis to the experiment log as `{ id, status: "pending", ... }`.
Skip hypothesis generation for an axis if the belief model already has a `confidence >= 0.8` confirmed hypothesis for it that has not yet been attacked.
For axes below 7.0, or axes with unconfirmed hypotheses: dispatch one scout agent per hypothesis. Scouts read — they do not modify files.
Each scout returns `{ "hypothesis_id", "confirmed", "evidence", "confidence" }` (schema example: docs/QUALITY_LOOPS.md#scout-result-schema).
**Scout confidence protocol**: Scouts read relevant files only — no edits, no test runs. Assign `confidence`:
Run scouts in parallel. Update experiment log:
Skip Phase 3 for any hypothesis already `confirmed` at `confidence >= 0.8` in the belief model from a prior cycle.
For each confirmed hypothesis compute:
EV =
An open-source operating layer for Claude Code and OpenAI Codex. Citadel routes requests, preserves repository state between sessions, coordinates parallel work, applies repository safeguards, and records evidence and handoffs around the coding agent you
Repo: SethGammon/Citadel
Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with end conditions that Archon can…
Autonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output, and maintains campaign state across…
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed…
Intake-to-delivery pipeline. Processes pending items from .planning/intake/: briefs new ideas, executes approved work through research → plan → build → verify.…
Deep cost exploration and transparency. Shows real token usage, session costs, campaign spend, burn rates, and model breakdown. Reads Claude Code's native…
End-to-end app creation from a single description. Five tiers: blank project, guided, templated, fully generated, or feature addition to existing codebase.…