plugins marketplace
← All plugins

citadel

v1.3.0

Codex-native agent orchestration harness for durable campaigns, skills, hooks, telemetry, and parallel work.

CodexClaude Code49 skills2 MCP serversstdio

by CitadelMIT820updated 3 days ago

Source

git clone https://github.com/SethGammon/Citadel

Clone the source, then follow the repository's marketplace instructions for your runtime. The repository root is the plugin root.

Layout

citadel/
├── .codex-plugin/plugin.json
├── .claude-plugin/plugin.json
├── skills/architect/SKILL.md
├── skills/archon/SKILL.md
├── skills/ascii-diagram/SKILL.md
├── skills/autopilot/SKILL.md
├── skills/cost/SKILL.md
├── skills/create-app/SKILL.md
├── skills/create-skill/SKILL.md
├── skills/daemon/SKILL.md
├── skills/dashboard/SKILL.md
├── skills/decision-map/SKILL.md
├── skills/deploy-steward/SKILL.md
├── skills/design/SKILL.md
├── skills/do/SKILL.md
├── skills/doc-gen/SKILL.md
├── skills/evolve/SKILL.md
├── skills/experiment/SKILL.md
├── skills/fleet/SKILL.md
├── skills/grill/SKILL.md
├── skills/houseclean/SKILL.md
├── skills/improve/SKILL.md
├── skills/infra-audit/SKILL.md
├── skills/learn/SKILL.md
├── skills/live-preview/SKILL.md
├── skills/loop/SKILL.md
├── skills/map/SKILL.md
├── skills/marshal/SKILL.md
├── skills/merge-review/SKILL.md
├── skills/organize/SKILL.md
├── skills/postmortem/SKILL.md
├── skills/pr-watch/SKILL.md
├── skills/prd/SKILL.md
├── skills/qa/SKILL.md
├── skills/refactor/SKILL.md
├── skills/research/SKILL.md
├── skills/research-fleet/SKILL.md
├── skills/review/SKILL.md
├── skills/scaffold/SKILL.md
├── skills/schedule/SKILL.md
├── skills/session-handoff/SKILL.md
├── skills/setup/SKILL.md
├── skills/systematic-debugging/SKILL.md
├── skills/telemetry/SKILL.md
├── skills/test-gen/SKILL.md
├── skills/triage/SKILL.md
├── skills/unharness/SKILL.md
├── skills/verify/SKILL.md
├── skills/watch/SKILL.md
├── skills/wiki/SKILL.md
├── skills/workspace/SKILL.md
└── .mcp.json

Skills49

architectskills/architect/SKILL.md

Given a PRD, produces an implementation architecture: file tree, component breakdown, data model, and a phased build plan with end conditions that Archon can execute directly. Multi-candidate evaluation for key decisions.

archonskills/archon/SKILL.md

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.

ascii-diagramskills/ascii-diagram/SKILL.md

Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.

autopilotskills/autopilot/SKILL.md

Intake-to-delivery pipeline. Processes pending items from .planning/intake/: briefs new ideas, executes approved work through research → plan → build → verify. Drop a file in .planning/intake/ and invoke this skill.

costskills/cost/SKILL.md

Deep cost exploration and transparency. Shows real token usage, session costs, campaign spend, burn rates, and model breakdown. Reads Claude Code's native session data for exact numbers. Complements /dashboard with focused cost views.

create-appskills/create-app/SKILL.md

End-to-end app creation from a single description. Five tiers: blank project, guided, templated, fully generated, or feature addition to existing codebase. Routes through PRD, architecture, and Archon campaign with verification at every step.

create-skillskills/create-skill/SKILL.md

Creates new skills from the user's repeating patterns. Interview-driven: discovers the task, analyzes failure modes, generates a production SKILL.md, installs it, tests it on a real target, and teaches the user how to use it. Use when a user wants to encode a repeating workflow; do NOT use for one-off tasks or modifying existing skills.

daemonskills/daemon/SKILL.md

Continuous autonomous operation mode. Keeps campaigns running 24/7 by chaining Claude Code sessions via RemoteTrigger. Each session picks up from the campaign's continuation state, works until context runs low or the phase completes, then schedules the next session. Auto-stops on campaign completion or budget exhaustion. The thing that makes Citadel run overnight.

dashboardskills/dashboard/SKILL.md

Real-time harness observability dashboard. Reads campaigns, fleet sessions, telemetry, and pending queues to present a snapshot of harness state at a glance. Invoked by /dashboard, /do status, or phrases like "what's happening" and "show activity".

decision-mapskills/decision-map/SKILL.md

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.

deploy-stewardskills/deploy-steward/SKILL.md

Mainline deploy steward. Consumes ready PRs, owns a lease on mainline landing, refreshes PR state, updates stale branches, waits for CI and deploy gates, merges or queues one candidate at a time, and opens repair tasks for failures.

designskills/design/SKILL.md

Generates and maintains a design manifest for visual consistency. In existing projects, reads current styles and documents the design language. In new projects, asks a few questions and generates a starter manifest. The post-edit hook reads the manifest and flags deviations.

doskills/do/SKILL.md

Unified router that auto-routes user intent to the right direct action, skill, orchestrator, or explicit Operation Control plan. Classifies input by scope, complexity, persistence needs, and parallelism, then dispatches to the cheapest path that can handle it: direct command, skill, marshal, archon, or fleet. Single entry point for all work.

doc-genskills/doc-gen/SKILL.md

Documentation generator with three modes: function-level (JSDoc/docstrings), module-level (directory READMEs), and API reference (endpoints/exports). Reads existing project doc style and matches it. Never generates docs that just restate what the signature already says.

evolveskills/evolve/SKILL.md

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.

experimentskills/experiment/SKILL.md

Automated optimization loop with scalar fitness function. Proposes changes in isolated worktrees, measures with a metric command, keeps improvements, discards failures. Supports convergence detection and diminishing returns.

fleetskills/fleet/SKILL.md

Parallel campaign orchestrator. Runs multiple campaigns in coordinated waves within a single session. Spawns 2-3 agents per wave in isolated worktrees, collects discoveries, shares context between waves. Use when work decomposes into 3+ independent streams that can run simultaneously.

grillskills/grill/SKILL.md

Relentless one-question-at-a-time interview that sharpens a vague plan or design into shared understanding before any build. The elicitation engine other planning skills call instead of inventing their own interview. Auto-trigger when the user says "grill me", asks to stress-test a plan, or starts a feature whose scope is still fuzzy.

housecleanskills/houseclean/SKILL.md

Cross-drive storage audit and cleanup. Surveys all drives, finds orphaned git worktrees, large AI tool caches (.ollama, .gemini, .cursor, npm, pip), and buildable artifacts (node_modules, .venv). Produces a prioritized action plan with specific migration commands. Use when disk space is low or worktrees need cleanup; do NOT use for project structure issues (use /organize instead).

improveskills/improve/SKILL.md

Autonomous quality improvement loop. Scores a target against a rubric, selects the highest-leverage axis, attacks it, verifies, documents, and loops. No pre-planning between iterations — each loop re-scores from scratch.

infra-auditskills/infra-audit/SKILL.md

Reads docker-compose, env files, ORM configs, and connection strings to map current infrastructure. Flags missing layers (cache, queue, analytics) based on observed access patterns. Outputs a structured infrastructure manifest.

learnskills/learn/SKILL.md

Knowledge compiler. Extracts patterns, decisions, and anti-patterns from completed campaigns and evolve cycles, then compiles them into structured wiki pages that integrate with existing knowledge rather than appending isolated files. Implements flush→compile→lint pipeline. Auto-triggered by /postmortem and /evolve Phase 6.

live-previewskills/live-preview/SKILL.md

Mid-build visual verification loop. Takes screenshots of components during construction, not just after. Catches visual regressions and invisible features before they compound. Requires Playwright or similar screenshot tool.

loopskills/loop/SKILL.md

Bounded foreground repetition for the current session. Creates a loop contract, runs or coordinates an action plus verifier up to a declared attempt limit, and records evidence under .planning/loops/. Use for repeat-until-pass work that is too small for daemon and not time-based scheduling.

mapskills/map/SKILL.md

Structural codebase index generator. Builds a compact JSON map of files, exports, imports, dependency graph, and roles. Queryable by keyword. Injected into fleet agents as context slices to reduce token usage on code navigation.

marshalskills/marshal/SKILL.md

Meta-orchestrator that takes any direction — broad, specific, or vague — and autonomously chains skills and context into actionable work. Gathers context from codebase, docs, and memory. Only asks the user when it genuinely cannot proceed. Single-session orchestrator.

merge-reviewskills/merge-review/SKILL.md

Reviews pending fleet worktree merges before they're accepted. Reads the merge-check queue, detects file-level conflicts between branches, proposes a safe merge order, and surfaces reconciliation plans for overlapping changes.

organizeskills/organize/SKILL.md

Repository structure only: directory layout, file placement, naming conventions, and where-does-this-belong decisions. Detects the project's convention, audits files against it, and executes move plans with import-path updates. Never changes code inside files beyond the import updates a move forces; in-file restructuring is /refactor.

postmortemskills/postmortem/SKILL.md

Auto-generates a structured postmortem from a completed campaign. Reads the campaign file, telemetry logs, and feature ledger. Produces a documented analysis of what broke, what the safety systems caught, and what patterns emerged. Can also be invoked manually for any incident.

pr-watchskills/pr-watch/SKILL.md

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

prdskills/prd/SKILL.md

Generates a Product Requirements Document from a natural language app description. Asks clarifying questions, researches similar apps, defines scope, stack, architecture, and produces a structured PRD that Archon can decompose into a campaign.

qaskills/qa/SKILL.md

Browser-based QA verification. Launches a real browser, navigates the app, clicks buttons, fills forms, and tests user flows. Works as a standalone skill or as a phase end condition in campaigns. Requires Playwright (optional dependency, graceful skip if not installed).

refactorskills/refactor/SKILL.md

Safe multi-file refactoring with automatic rollback. Establishes a type/test baseline, plans all changes, executes file-by-file, and verifies zero regressions. Reverts if verification fails after two fix attempts. Handles renames, extracts, moves, splits, merges, and inlines.

researchskills/research/SKILL.md

Focused research investigations. Converts questions into structured findings with confidence levels and source citations. Single agent by default; with --parallel (or when the question decomposes into 3+ independent angles) it spawns scout agents whose findings are compressed into a unified brief. Does not make decisions; produces information that informs the next step.

research-fleetskills/research-fleet/SKILL.md

DEPRECATED: merged into /research. Parallel multi-scout research now runs as /research --parallel. This stub only redirects direct invocations.

reviewskills/review/SKILL.md

5-pass structured code review — correctness, security, performance, readability, consistency

scaffoldskills/scaffold/SKILL.md

Project-aware file generation. Reads existing codebase conventions (naming, structure, imports, exports, test patterns) then generates new files that match exactly. Wires generated files into the project's registration points.

scheduleskills/schedule/SKILL.md

Manages recurring and one-off scheduled tasks. Session-scoped scheduling via CronCreate/CronDelete/CronList. Documents the cloud path for tasks that need to survive machine sleep or network drops.

session-handoffskills/session-handoff/SKILL.md

Synthesizes the current session into a structured HANDOFF block for context transfer between sessions. Captures what was built, decisions made, and unresolved items.

setupskills/setup/SKILL.md

First-run experience for the harness. Three modes: Recommended (guided, ~3 min), Full Tour (guided + skill walkthrough, ~8 min), and Express (zero questions, ~30 sec). Installs hooks first, detects stack, configures harness.json, runs a live demo on real code, and prints a reference card.

systematic-debuggingskills/systematic-debugging/SKILL.md

4-phase root cause analysis: observe, hypothesize, verify, fix. Enforces investigation before any code changes. Emergency stop after 2 failed fixes. Prevents shotgun debugging and fix cascades.

telemetryskills/telemetry/SKILL.md

Unified telemetry hub. Shows current session cost, today's spend, all-time totals, hook activity, trust level, and a directory of every telemetry command available. Also the control surface to toggle telemetry on/off and tune thresholds. Single entry point for anyone asking "what does this cost" or "what telemetry does Citadel have".

test-genskills/test-gen/SKILL.md

Generate and verify tests — happy path, edge cases, error paths — using the project's own framework and patterns

triageskills/triage/SKILL.md

GitHub issue and PR investigator. Pulls open issues/PRs, classifies them, searches the codebase for root cause or reviews contributed code, proposes fixes with file:line references, and optionally implements fixes. Use for investigating GitHub issues and reviewing PRs; do NOT use for general code review unrelated to GitHub issues.

unharnessskills/unharness/SKILL.md

Safely leave Citadel using the active adoption receipt. Produces a no-write, reviewable plan, preserves a portable archive, removes only exact owned material, and reports modified or externally registered surfaces as retained or unknown. Legacy installs must be imported before exact leave is claimed.

verifyskills/verify/SKILL.md

Self-test the Citadel hook pipeline from within a live session. Exercises real tool calls (Write, Edit, Bash, Read) and checks that hooks fired, telemetry accumulated, and no errors occurred. Reports HOOK HEALTH: PASS or HOOK HEALTH: FAIL with a per-hook breakdown.

watchskills/watch/SKILL.md

File sentinel that monitors the working directory for changes and marker comments, then auto-triggers appropriate skills. Poll-based via git diff against the last scan commit. Writes intake items for batch processing and routes marker actions through /do. Use for automatic reactions to file changes; do NOT use for one-off inspection or tasks needing human judgment per file.

wikiskills/wiki/SKILL.md

Markdown-first knowledge base where the LLM acts as librarian. Ingests raw sources, compiles and interlinks topic files, self-maintains an index. No vector DB or embeddings required -- uses LLM-native navigation over structured markdown up to ~400K words.

workspaceskills/workspace/SKILL.md

Multi-repo campaign coordinator. Same lifecycle as fleet -- scope claims, discovery relay, wave-based execution -- but the unit of work is a repo, not a file. Coordinates campaigns across repositories with shared context.

MCP servers2

citadel-statestdio
command
node
args
mcp-servers/citadel-state/index.js
env.CITADEL_MCP_SERVER
citadel-state
codebase-memorystdio
command
node
args
mcp-servers/codebase-memory/index.js
env.CITADEL_MCP_SERVER
codebase-memory

Manifests2

.codex-plugin/plugin.json
{
  "name": "citadel",
  "version": "1.3.0",
  "description": "Codex-native agent orchestration harness for durable campaigns, skills, hooks, telemetry, and parallel work.",
  "author": {
    "name": "Citadel",
    "url": "https://github.com/SethGammon/Citadel"
  },
  "repository": "https://github.com/SethGammon/Citadel",
  "homepage": "https://sethgammon.github.io/Citadel/",
  "license": "MIT",
  "keywords": [
    "codex",
    "openai",
    "agent",
    "harness",
    "orchestration",
    "skills",
    "hooks",
    "mcp",
    "automation"
  ],
  "skills": "./skills/",
  "mcpServers": "./.mcp.json",
  "hooks": "./runtimes/codex/hooks.json",
  "interface": {
    "displayName": "Citadel Harness",
    "composerIcon": "./assets/icon.svg",
    "logo": "./assets/icon.svg",
    "websiteURL": "https://sethgammon.github.io/Citadel/",
    "privacyPolicyURL": "https://github.com/SethGammon/Citadel/blob/main/PRIVACY.md",
    "termsOfServiceURL": "https://github.com/SethGammon/Citadel/blob/main/LICENSE",
    "screenshots": [
      "./assets/social-preview.png"
    ],
    "shortDescription": "Codex-native orchestration: 49 skills, campaigns, fleet coordination, quality gates",
    "longDescription": "Citadel adds durable planning state, reusable skills, lifecycle hooks, telemetry, PR triage, and coordinated multi-agent workflows to Codex.",
    "developerName": "Citadel",
    "category": "Developer Tools",
    "capabilities": [
      "orchestration",
      "campaigns",
      "parallel-agents",
      "quality-gates",
      "telemetry",
      "intent-routing",
      "mcp",
      "codex-hooks"
    ],
    "defaultPrompt": [
      "Use Citadel to route this task through the right skill and verification loop.",
      "Use Citadel to continue the active campaign and report current state."
    ]
  }
}
.claude-plugin/plugin.json
{
  "name": "citadel",
  "description": "Agent orchestration harness for Claude Code — campaign persistence, fleet coordination, intent routing",
  "version": "1.3.0",
  "author": {
    "name": "SethGammon"
  },
  "homepage": "https://github.com/SethGammon/Citadel",
  "repository": "https://github.com/SethGammon/Citadel",
  "license": "MIT",
  "keywords": [
    "orchestration",
    "campaigns",
    "fleet",
    "marshal",
    "archon",
    "skills",
    "claude-code"
  ]
}