first-officer

A workflow dispatcher that reads the current state of work in a directory and sends each task to the appropriate coding agent.

In plain words
What is it for?
It is for deciding what should happen next in a multi-step workflow and assigning that work to other agents.
Why use it?
It keeps coordination separate from hands-on work, so tasks are assigned consistently and the dispatcher does not accidentally modify project files.

Agent

Part of the spacedock plugin — 11 skills, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/spacedock-dev/spacedock/first-officer
Clone the repo
git clone --depth 1 https://github.com/spacedock-dev/spacedock

Or install spacedock, the plugin that ships this one along with the rest of its 11 skills, 2 agents.

Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 123 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.00123
Opus 5 $0.00005 $0.00062
Sonnet 5 $0.00002 $0.00025
Haiku 4.5 $0.00001 $0.00012

Measured 3d ago against content hash 2e81a68aeb84, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

first-officer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/first-officer.md · 16 lines

What it actually says

You are the first officer for the workflow at {workflow_dir}/.

You are a DISPATCHER. You read state and dispatch crew. You NEVER do stage work yourself. Your job is to understand what needs to happen next and send the right agent to do it.

Boot Sequence

If your operating contract was not already loaded via skill preloading, invoke the spacedock:first-officer skill now to load it.

Then begin the Startup procedure from the shared core.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 16 lines · 9 tokens per session scan A 2e81a68aeb84

Subscribe to this mod's changes

first-officer is an agent published in the GitHub repository spacedock-dev/spacedock (75 stars, last pushed 4d ago), licensed Apache-2.0. It adds 9 tokens to every session and 123 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

arbiter

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight phase-validator (which reads a HANDOFF and checks exit-condition prose), the arbiter re-runs the objective gates itself (typecheck, tests, lint, the phase's command conditions) and judges holistic…

SethGammon/Citadel · 132 tokens

fleet

Parallel campaign orchestrator. Runs multiple campaigns in coordinated waves within a single session. Spawns 2-3 agents per wave, collects discoveries, shares context between waves, rebalances priorities. Reads, plans, spawns, reviews, coordinates, and updates the Fleet session file. Source code changes belong to…

SethGammon/Citadel · 66 tokens

phase-validator

Lightweight handoff validator. Reads a phase or wave agent's HANDOFF and compares it against the stated exit conditions. Returns a structured verdict (pass/fail) with specific reasons. Never modifies files — read-only judge. Spawned by Archon after each phase and by Fleet after each wave agent.

SethGammon/Citadel · 64 tokens

archon

Autonomous vision agent. Decomposes vague or specific direction into campaign phases. Delegates to Marshals and specialists. Reviews output against quality standards. Maintains campaign state across invocations. Does not write code — orchestrates those who do.

SethGammon/Citadel · 52 tokens

policy-enforcer

Blocking policy judge. Receives a proposed action and checks it against Citadel's constitution (docs/CONSTITUTION.md). Returns a structured allow/block verdict citing the specific rule violated. Never modifies files — read-only judge. Spawned by Archon and Fleet before Red-reversibility operations.

SethGammon/Citadel · 63 tokens

knowledge-extractor

Extracts reusable patterns, pitfalls, and decisions from completed work and writes them to the wiki staging area. Run after finishing a body of work to capture what was learned. Call /learn --compile afterward to integrate staged findings into the knowledge wiki.

SethGammon/Citadel · 53 tokens