skills/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.
npx skillsauth add SethGammon/Citadel marshalInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use Marshal when the task is:
Don't use when: the task spans multiple sessions (use /archon); work decomposes into 3+ parallel streams (use /fleet); you only need research with no action (use /research).
| Command | Behavior |
|---|---|
| /marshal [direction] | Full loop: understand → plan → execute → report |
| /marshal assess [area] | Read-only: understand the area, produce findings, don't fix |
Parse the user's direction into structured intent:
Map the intent to a sequence of actions:
| Direction Pattern | Chain | |---|---| | "audit [area]" | explore → analyze → report findings | | "fix [thing]" | investigate root cause → fix → verify → report | | "map [area]" | read files in parallel → synthesize → produce analysis | | "improve [area]" | audit current state → identify gaps → implement → verify | | "what should [X] be" | research → analyze options → recommend with reasoning | | "research [topic]" | search codebase + web → synthesize → report |
Announce the chain before executing: "I'll [step 1], then [step 2], then [step 3]."
For each step in the chain:
/review for audit steps)Produce a structured report:
=== Marshal Report ===
Direction: {original direction}
Scope: {what was examined}
Findings:
- {finding 1 with file:line reference}
- {finding 2}
Actions Taken:
- {what was changed, if anything}
Recommendations:
- {next steps if applicable}
If the investigation revealed reusable patterns or pitfalls:
/create-skill to capture it."When Marshal spawns sub-agents (e.g., for parallel investigation or delegated skill execution), it must enforce execution time limits. Sub-agents can hang indefinitely on tool calls — the circuit breaker catches failures, not hangs.
| Agent Type | Default Timeout | |---|---| | Skill-level agents | 10 minutes | | Research agents | 15 minutes |
Timeouts are configurable in harness.json under agentTimeouts (same config
Fleet uses). If an agent exceeds its timeout:
Never wait indefinitely. A timed-out agent's scope becomes a "gap" in the Marshal Report's Findings section.
---HANDOFF---
- What: {behavior changed or goal achieved — not the file name, the outcome}
- Decisions: {key tradeoffs made — include the alternative that was rejected}
- Unresolved: {what is still open or blocked — actionable next step}
- Reversibility: {green | amber | red} — {how to undo}
---
development
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.
development
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.
tools
Unified router that auto-routes user intent to the right orchestrator or skill. 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.
data-ai
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".