command-center
The seat skill for Forge Command Center v2. Drives every worker session from one Claude Code seat via the `forge` CLI: read the board, dispatch addressed instructions, and answer worker escalations. Loads when the operator speaks intent ("send the migration to api-server", "answer the ask"). It drives the plumbing (bin/forge) — it never runs pipeline stages itself.
- License 许可
- MIT
- 最近更新
- 2026-10-20
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- command-center
- description
- The seat skill for Forge Command Center v2. Drives every worker session from one Claude Code seat via the `forge` CLI: read the board, dispatch addressed instructions, and answer worker escalations. Loads when the operator speaks intent ("send the migration to api-server", "answer the ask"). It drives the plumbing (bin/forge) — it never runs pipeline stages itself.
03 SKILL.md 正文
Command Center Seat
You are the seat: one Claude Code session that instructs every initiative.
Tabs are logs; this seat is the workspace. You never call an API and never touch
auth — you are keystroke plumbing over the forge CLI. You hold no queue and no
memory: every fact comes from a fresh forge board.
The board — what needs me now
forge board --json # machine-readable cc-board/1 JSON: hot / active / maintenance
# exit 75 + {"busy":true,"unavailable_reason":"state_lock_busy"}
# = the watcher is momentarily locked by another run. Healthy and
# transient: retry shortly, never report it as a dead watcher.
# EMPTY stdout is the only "watcher absent" signal.
forge board # human board (NEEDS YOU / SESSIONS / hidden maintenance)
forge board --all # human board with maintenance residue expanded
forge tasks # read-only per-TASK view — every pane's tasks (dispatched or typed)
forge tasks @<session> [--json]
hot rows are the only ones that need action now: NEEDS-ASK (a worker asked a
blocking question), NEEDS-DECISION, ITEM-BLOCKED, PARK-INCONSISTENT, NEEDS-PERMISSION,
*-ERROR, WORKER-STALLED, ZOMBIE-ACTIVE. active rows (queued-input,
working, done) are informational. maintenance is collapsed by default.
Every pane now emits: a task typed directly into a worker or codex pane (not just a
forge dispatch) shows up in tasks[] / forge tasks. A task that never returns surfaces as
TASK-STUCK rather than vanishing; if the ring can't be delivered, a DELIVERY-UNVERIFIED row
says so. You never have to go look — forge board is the zero-resident floor and the SwiftBar
plugin is the ambient always-on surface (both consume the same cc-board/1 JSON).
Dispatch — instruct a session
forge dispatch @<session> "<instruction>" # inline
forge dispatch @<session> "<multi-line …>" # auto pointer-file
forge dispatch @<session> "<answer>" --answers <ask-id> # reply to a NEEDS-ASK
@<session> is a live tmux session name (@forge-1), never a repo path. The
instruction injects into the session's pane 0 (the orchestrator). A dispatch
to a busy session queues natively — expected. Billing preflight gates every
dispatch.
Getting the answer back — the return path
The worker's response is persisted to a file; you never scrape panes to read it.
- Blocking Q&A:
forge dispatch @<session> "<instruction>" --waitblocks and prints the worker's full answer inline (opt-in; a plainforge dispatchstill returns immediately). Use it whenever you want the answer, and relay the printed response. If the answer ends in a question, that question is in the printed text — answer it with the nextforge dispatch @<session> "<answer>" --wait. - After a fire-and-forget dispatch:
forge reply @<session>prints the latest answer;forge reply @<session> <dispatch-id>prints a specific earlier dispatch's answer;--jsonfor a structured relay,--snippetfor the head preview. - If
--waittimes out: a mid-turn dispatch is usually absorbed into the worker's running turn, so its own--waittimes out even though the work was done — the answer is then available viaforge reply @<session>. - A
NEEDS-REPLYboard row = the worker's answer ended in a question and it is waiting. Reply with a plainforge dispatch @<session> "<reply>"— not--answers. ContrastNEEDS-ASK(an explicitforge ask, answered with--answers, which owns the ask/callback lifecycle). NEEDS-REPLY never touches--answers.
Answering a worker's ask — the escalation return path
A NEEDS-ASK row means a worker called forge ask. The row carries the
session, the slug/stage, and the question. Answer with:
forge dispatch @<session> "<your answer>" --answers <ask-id>
--answers archives the ask and consumes the worker's BLOCKED callback exactly
once (stage mode), then injects your answer into the orchestrator (pane 0); the orchestrator relays
it to the worker, which resumes.
Misrouting guardrails (READ BEFORE EVERY ANSWER)
- Right session. The answer MUST go to the ask's OWN
session— NOT whatever you dispatched to last.forge dispatch --answersREFUSES a mismatched session; do not work around it. If the row shows no session, dispatch to the session whose root matches the row'sroot/label. - Always
--answersfor an ask. A plainforge dispatchof your answer leaves the ask hot (the board keeps ringing) and the BLOCKED callback un-consumed. Only--answersclears both. - One answer per ask. A second
--answers <same-id>fails loud ("already answered"). If your answer was recorded but injection failed, the error tells you to re-deliver with a PLAIN dispatch — follow it exactly. - Verify the session exists before dispatching — a
forge boardrow proves it. Do not invent session names.
What the seat NEVER does
- Never edits files under any
.dev/—forgeandforge-watchown those. - Never answers a
NEEDS-PERMISSIONfrom the seat — jump into the tab (one keystroke) and answer the dialog there. The row tells you what you're walking into: AskUserQuestion rows carry the question text + option labels, and the board prints the go-to-pane hint under every hot permission row. - Never dispatches to a session it has not seen on the board.
04 同仓库更多 Skills
forge-orchestrator
tmux-based orchestrator for multi-agent building. Coordinates work across Claude Code and two Codex workers via forge-bridge. Translates user requests into dispatched tasks with structured audit logging. Replaces forge-dispatch, forge-state.yml, and stage-routing-map.yml.
forge-fix-runner
Drain the GitHub `forge-fix` issue queue through the forge fix pipeline, one service at a time. Tallies actionable issues worst-first, scouts a service into a routing plan (clusters + quick/full tiers), gets human approval, then dispatches fixes (quick = dispatched fix-code; full = forge-pipeline), gating every `Closes #N` on per-issue verification. Trigger when the user wants to fix triaged QA issues, "work the forge-fix queue", or "run the fix runner".
forge-coder
Procedural coding skill. Reads implementation.md, validates diffs against the codebase, applies changes in execution order, runs tests after each commit group, and produces a coder-report.md artifact.
fix-reproducer
Optional first stage of the fix-pipeline. Verifies a reported bug is reproducible and captures deterministic repro steps, environment state, and evidence. Single procedural executor — does not spawn sub-agents and does not diagnose. Branches by environment: dev path runs the bug locally; prod path gathers observational evidence from the deployed environment. Always writes repro.md, even on NOT REPRODUCED. Trigger when the user invokes a fix-pipeline with the reproduce step enabled.
fix-plan-reviewer
Single-agent adversarial reviewer for fix plans. Reads diagnosis.md and fix-plan.md, verifies the plan actually addresses the diagnosed cause, attacks the plan from multiple angles (cause coverage, defense adequacy, scope correctness, regression risk, rollback integrity, test plan integrity, risk honesty), and produces fix-review.md with severity-rated issues. Does NOT propose fixes for the issues — that is the revise mode of adversarial-fix-plan. Does NOT re-investigate the diagnosis. Trigger as the review stage of a fix-pipeline, after adversarial-fix-plan has produced fix-plan.md.
fix-coder
Mechanical single-executor that applies a vetted fix plan to the codebase. Reads fix-plan.md (the Changes, Defenses, and Test Plan sections), translates file-level changes into concrete diffs, applies them, runs the test plan, validates that the bug is no longer reproducible (dev) or that the test exercising the failing path passes (prod), and produces a single fix commit. Stays strictly in scope: does NOT modify the plan, does NOT re-investigate, does NOT touch files outside the plan. Always writes fix-coder-report.md, even on failure. Trigger as the implementation stage of a fix-pipeline, after fix-plan-reviewer has approved fix-plan.md.