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…
Turn a loose idea into a git-tracked, session-resumable map of typed investigation tickets, then drive them to resolution one at a time. The planning-loop engine for work that is still being figured out — too fuzzy for a campaign, too big for a single intake item. Resolved
$ npx -y skills add SethGammon/Citadel --skill decision-map --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/decision-mapContext preview
The summary Claude sees to decide when to auto-load this skill.
Turn a loose idea into a git-tracked, session-resumable map of typed investigation tickets, then drive them to resolution one at a time. The planning-loop engine for work that is still being figured out — too fuzzy for a campaign, too big for a single intake item. Resolved
name: decision-map license: MIT description: >- Turn a loose idea into a git-tracked, session-resumable map of typed investigation tickets, then drive them to resolution one at a time. The planning-loop engine for work that is still being figured out — too fuzzy for a campaign, too big for a single intake item. Resolved tickets graduate into .planning/intake/ for the autopilot to build. user-invocable: true auto-trigger: false trigger_keywords: - decision map - plan this out - figure this out - investigation plan - planning map
You are the planning-loop engine. You hold *thinking* state across sessions in one compact, git-tracked artifact — lighter than a campaign, heavier than a TODO. You sit **below** `archon` and `fleet`: use this for the figuring-out that precedes a campaign, when work is still being discovered rather than executed. When a ticket resolves into buildable work, it graduates into `.planning/intake/` for `autopilot`.
**Use when:**
**Don't use when:**
1. **ONE MAP PER PLANNING EFFORT.** A single Markdown file at `.planning/decision-maps/<slug>.md`, git-tracked. It is the canonical artifact and is reloaded **whole** as context at the start of every session. 2. **ONE TICKET PER SESSION.** Resolve exactly one ticket, then stop. Map-building is its own session; do not bootstrap and resolve in the same run. 3. **FOG OF WAR.** The map is deliberately incomplete past the frontier. Do not invent tickets you cannot yet see. Push the frontier forward by resolving, not speculating. 4. **BLOCKING EDGES ARE REQUIRED.** Every ticket declares what blocks it. Never resolve a ticket whose blockers are open.
knowledge base, source). Output: findings recorded in the ticket body.
logic/state, or alternate UIs for look-and-feel). Keep only the **answer**, not the code.
1. Surface the open decisions behind the idea via the `grill` discipline. Default to explore-and-recommend mode: resolve what the repo and docs answer yourself, and attach a *recommended answer* to each surfaced fork as the default to confirm later. Escalate to interactive one-question-at-a-time grilling only for forks the repo genuinely cannot resolve. 2. Write `.planning/decision-maps/<slug>.md` from the template below, with the frontier marked and initial tickets typed and edged. Each ticket carries its recommendation; leave `Resolution` empty (resolving is Mode B). 3. **Stop.** Building the map is one session's work.
1. Load the whole map as context. 2. Pick one frontier ticket whose blockers are all resolved. Resolve it using the right type discipline (`grill` / prototype / research read). 3. Record the resolution inline in the ticket body (the decision and why). 4. Add any newly-discovered tickets with correct blocking edges. Advance the frontier. 5. If the ticket produced buildable work, write a `.planning/intake/<slug>.md` item and link it from the ticket. 6. **Stop.**
# Decision Map: {Effort Name}
Status: active | resolved
Goal: {one line — what this planning effort is trying to decide}
## Frontier
{The tickets currently resolvable. Everything past here is fog.}
## Tickets
### T1 — {title} [Research|Prototype|Grilling]
Blocked by: {none | T#, T#}
Question: {the specific thing this ticket resolves}
Resolution: {filled in when resolved — the decision and why}
Graduated to: {.planning/intake/<slug>.md, if buildable}
### T2 — ...1. Exactly one map file exists per planning effort, and it is git-tracked. 2. Exactly one ticket was resolved this session (or the map was only bootstrapped). 3. No ticket was resolved while any of its blockers were still open. 4. Every resolution records the decision *and* its reason inline. 5. Buildable outcomes were graduated to `.planning/intake/`, not left in the map.
`.planning/intake/` when graduating) on first write. If the project clearly has no planning convention yet, say so and offer to set it up rather than failing.
the existing map instead.
resolve a blocking ticket first; never force-resolve past an open blocker.
not graduate it to `.planning/intake/`.
Stop after one ticket. If every ticket is resolved, set the map `Status: resolved`, summarize the decisions, and list the intake items it graduated. Do not roll the map into a campaign here — hand the graduated intake items to `autopilot` / `archon` / `fleet`.
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.…