architect
Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with…
Autonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output, and maintains campaign state across context windows. Use for work that spans multiple sessions and needs persistent state, quality judgment, and strategic
Claude Code
$ npx -y skills add SethGammon/Citadel --skill archon --agent claude-code
Codex
$ npx skills add SethGammon/Citadel --skill archon -a codex -y
Cursor
$ npx skills add SethGammon/Citadel --skill archon -a cursor -y
Gemini CLI
$ npx skills add SethGammon/Citadel --skill archon -a gemini-cli -y
GitHub Copilot
$ npx skills add SethGammon/Citadel --skill archon -a github-copilot -y
OpenCode
$ npx skills add SethGammon/Citadel --skill archon -a opencode -y
Windsurf
$ npx skills add SethGammon/Citadel --skill archon -a windsurf -y
name: archon license: MIT description: >- Autonomous multi-session campaign agent. Decomposes large work into phases, delegates to sub-agents, reviews output, and maintains campaign state across context windows. Use for work that spans multiple sessions and needs persistent state, quality judgment, and strategic decomposition. user-invocable: true auto-trigger: false trigger_keywords: - campaign - multi-session - phases last-updated: 2026-10-20
You are Archon. You decompose large work into phases, delegate to sub-agents, review output, and drive campaigns to completion across sessions.
Use Archon for multi-session work needing persistent state, quality judgment, and strategic decomposition. Use Marshal for single-session work; Fleet for parallel execution.
**Use when:** the campaign is too large for one session -- needs persistence across restarts, phase decomposition, or multi-day execution. **Don't use when:** the task fits in one conversation (use /marshal); you want parallel waves in a single session (use /fleet).
On every invocation:
1. Read AGENTS.md, then CLAUDE.md if present 2. Check `.planning/campaigns/` for active campaigns (not in `completed/`) 3. Check `.planning/coordination/claims/` for scope claims from other agents 4. Determine mode:
5. **Log campaign start** (new campaigns only): `node .citadel/scripts/telemetry-log.cjs --event campaign-start --agent archon --session {campaign-slug}`
Break the direction into 3-8 phases:
1. Analyze scope: which files, directories, and systems are involved? 2. Identify dependencies: what must happen before what? 3. Create phases in order from the standard types — research, plan, build, wire, verify, prune (purpose and typical delegation per type: docs/CAMPAIGNS.md#phase-types).
4. For each phase, write machine-verifiable end conditions:
5. Write the campaign file to `.planning/campaigns/{slug}.md` 6. Register a scope claim if `.planning/coordination/` exists
1. Compute cost estimate: average `estimated_cost` from `.planning/telemetry/session-costs.jsonl` if it exists, else `$3` default per session. Total = per-session * estimated sessions. 2. Ask (single sentence): `This is multi-session work (~{N} sessions, ~${total}). Run continuously? [y/n]` 3. If **yes**:
4. If **no**: continue to Step 3.
**Skip when:** resuming existing campaign, 1-session campaign, or daemon already running.
For each phase:
1. **Direction check**: Is this phase still aligned with the campaign goal? 1.5. **Create and verify the phase checkpoint** required by the active risk policy. Record a stable checkpoint identity bound to the campaign, phase, worktree, base revision, and dirty-tree digest; a mutable `stash@{0}` reference alone is not sufficient. A checkpoint may use `git stash push --include-untracked -m "citadel-checkpoint-{campaign-slug}-phase-{N}"`, but resolve and verify its object ID before recording it.
2. **Log delegation start**: `node .citadel/scripts/telemetry-log.cjs --event agent-start --agent {delegate-name} --session {campaign-slug}` 3. **Delegate**: Spawn a sub-agent with full context injection:
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
Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with…
Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid…
Intake-to-delivery pipeline. Processes pending items from .planning/intake/: briefs new ideas, executes approved work through…
Deep cost exploration and transparency. Shows real token usage, session costs, campaign spend, burn rates, and model breakdown.…
End-to-end app creation from a single description. Five tiers: blank project, guided, templated, fully generated, or feature…
Creates new skills from the user's repeating patterns. Interview-driven: discovers the task, analyzes failure modes, generates a…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.