← Back to Leaderboard
CSethGammon

SethGammon/Citadel

A Claude Code and Codex plugin for routing work and resuming it across sessions

Engineering Health (Methodology)
A+ · 91/100
Maintenance Activity
● Updated today
Latest Release
v1.4.5
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence20/20
License Clarity20/20
MCPCLI
Total Stars
★ 943
24h Growth
+0
7d Growth
+3
Forks
85

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

SethGammon/Citadel Star History (2026-03-19 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +942 in 259d · avg +4/day 996 498 0 2026-03-19: ★ 12026-04-04: ★ 4402026-04-25: ★ 5042026-05-16: ★ 5352026-06-06: ★ 5772026-06-27: ★ 6062026-07-18: ★ 7802026-08-08: ★ 8072026-08-29: ★ 9002026-09-19: ★ 9122026-10-10: ★ 9172026-10-31: ★ 9242026-11-16: ★ 9292026-12-03: ★ 943 ★ 943 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Citadel is a JavaScript plugin layer for Claude Code and OpenAI Codex. Its package requires Node.js 22+ and exposes a citadel CLI. The source tree separates host integrations (.claude-plugin/, .codex-plugin/), lifecycle hooks (hooks/, hooks_src/), and MCP integration files (.mcp.json, mcp-servers/). The native marketplace handles plugin acquisition and executable-code trust; Citadel manages repository workflow state within the host's permissions.

/do matches exact commands against the normalized whole request. Larger requests assemble route candidates and require semantic classification by the host runtime before a workflow is selected. .planning/ holds runs, evidence, handoffs, and telemetry, while .citadel/scripts/ holds project-local coordination utilities. A fresh session can recover its next action from saved project state rather than relying on the previous conversation.

Key Capabilities & Differentiators

The workflow moves through Request, Run, Evidence, Needs You, and Resume. Checks can report passed, failed, blocked, or unknown; missing evidence does not count as success. Parallel workflows use isolated git worktrees, explicit ownership, and shared discoveries. In Codex, agent models and reasoning effort can be set per family or per agent; max and ultra are available only where the chosen model supports them.

/do test, /do build, and /do typecheck require matching nonempty scripts in the target package.json. /do --route /test-gen -- … can select a route without bypassing activation or safety checks. Natural-language /do preview is more limited: it checks built-in candidates without reading active state, discovering project-local skills, or invoking the semantic classifier. It returns no executable route.

Trade-offs & Limitations

Compared with using Claude Code or Codex directly, Citadel is most useful when work crosses sessions or worktrees and reviewers need to see what was checked and what blocked progress. The cost is another executable plugin plus local state and approval rules to maintain. Citadel is not a sandbox and does not replace repository instructions, human review, or branch protection. Local-by-default state and telemetry also do not change the host's model data path.

Do not build a cost or reliability case from the published experiments. Removing one matched timeout reversed the initial economic result, and a later profile maintained the verification rate while consuming more measured GPU energy. The outside-authored holdout verified 3/16 tasks with Citadel versus 2/16 with direct Claude, but the direct-Claude baseline was invalid. The hybrid pilot's 38.7% lower comparison cost was measured on one machine with one model pair and synthetic tasks—not as a reduction in subscription spend.

Hardware & Deployment Guide

Start from the target git repository with Claude Code or Codex and Node.js 22+. Install the plugin through the host's native marketplace, pinning v1.4.5 rather than substituting floating main. Reload plugins if Claude Code is already open; in Codex, start a fresh task and review the registered hooks through /hooks. Run /do review README.md as a smoke test. The Codex installer includes Windows readiness checks.

For offline or controlled installation, compare the release archive's SHA-256 with both the release manifest and the .sha256 sidecar before extraction, then use the extracted directory as the immutable input to an adoption plan. v1.4.3 fixed plugin MCP paths and bound configuration recovery commands to the project root. v1.4.5 requires interactive, machine-local approval tied to the exact project and command for repository-configured typechecks and loop triggers or verifiers. For removal, /unharness produces a plan based on install receipts for review before it is applied with a plan token; legacy installs require an inventory and cannot promise exact removal.

Routing: /do matches exact commands against the normalized whole request; larger requests go through runtime semantic classification.
Preview boundary: Natural-language /do preview leaves selected and command null and sets canRunNow to false.
Recovery state: .planning/ holds campaigns, runs, evidence, handoffs, and telemetry; project state and telemetry stay local by default.
Parallel work: Isolated git worktrees separate agent changes, with explicit ownership and shared discoveries.
Release scope: The slim release ships 48 skills and 36 hook scripts across 29 lifecycle events; npm run grant:verify requires a full source checkout.
Execution approvals: v1.4.5 requires machine-local approval for the exact project and command before repository-configured typechecks or loop triggers and verifiers can run.
Best For

Teams running multi-step Claude Code or Codex work in git that need repo-local handoffs, explicit approval stops, and reviewable evidence across agents or sessions.

Skip If

Most work is a one-off edit, your existing host workflow is sufficient, or you need sandboxing, guaranteed savings, or proven improvements in task success.

Reviewed on 2026-12-02 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

MCPCLI
codex plugin marketplace add SethGammon/Citadel --ref v1.4.5
codex plugin add citadel@citadel-local

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Citadel ★943+3JavaScriptMITA Claude Code and Codex plugin for routing work and resuming it across sessions
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.
rtk88.7k+684RustApache-2.0A local Rust CLI wrapper that trims command output before coding agents read it.

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/SethGammon/Citadel.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

SethGammon/Citadel Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Citadel

How does Citadel integrate with Claude Code and Codex? Do I need to run an MCP server first?

Claude Code or Codex acquires and trusts the executable plugin through its native marketplace. Citadel adds routing, lifecycle hooks, and repository-local state without replacing the host's permissions. The tree includes .mcp.json and mcp-servers/, but MCP is not a separate prerequisite for the documented startup path.

What hardware should I budget for, and does Citadel require a GPU?

The plugin requires Node.js 22+, git, and a supported coding-agent host. There is no verified RAM or VRAM minimum for Citadel. Size for the host, concurrent agents and worktrees, and the checks each workflow runs. If you choose to run a model locally, size that workload separately; the Qwen 3B research pilot is not an installation requirement.

Can we use Citadel commercially or install it in an offline environment?

Citadel is MIT-licensed. Commercial use and modification are permitted; retain the copyright and license notice when redistributing copies or substantial portions. A release archive supports offline installation of the plugin, not necessarily offline model inference. The host and model service remain subject to their own terms and data-handling policies.

When is Citadel preferable to using Claude Code or Codex directly?

Use Claude Code or Codex directly when repository instructions, ordinary checks, and human review already cover a short task. Add Citadel when you need to hand work across sessions, coordinate multiple worktrees, or tell a blocked run from a verified one. Adopt it for those controls, not on the assumption that it improves pass rates or reduces model spend.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining SethGammon/Citadel? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature SethGammon/Citadel on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare