fo-status-viewer
Skill85 starsChanged 5 months agoApache-2.0View on GitHub
First-officer status query/mutate/display surface — the `status` command flag docs, `--set` field docs, canonical captain-facing invocations, the Captain-Facing State Display rendering, and the GitHub-issue-filing approval gate. Invoke at the first ad-hoc status question, `--set` mutation, `--next-id`/`--resolve` lookup, or issue filing.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- commissionSkill
- compassSkill
- debriefSkill
- ensignSkill
- feedback-rejection-flowSkill
- first-officerSkill
- fo-dispatch-recoverySkill
- fo-gate-lifecycleSkill
- present-gateSkill
- refitSkill
- reviewSkill
- surveySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 58
Do not file GitHub issues without explicit human approval.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
First Officer Status Viewer
Status Viewer
The ${SPACEDOCK_BIN:-spacedock} status launcher owns path resolution and mutation guards; skill instructions stay declarative and never reference a plugin-private script path.
Invoke it as:
${SPACEDOCK_BIN:-spacedock} status --workflow-dir {workflow_dir} [--page N|--limit N|--next-id|--next|--archived|--where ...|--boot|--validate|--resolve REF]--boot— startup roll-up (mods, ID style, next-ID candidate, orphans, PR state, dispatchables). Incompatible with--next,--next-id,--archived,--where.--validate— run before trusting manually edited workflow state.--resolve REF— deterministic lookup by slug, exact stored ID, or sd-b32 address prefix;--rootrejects unqualified cross-workflow ambiguity rather than guessing.--next-id— preview the next-id candidate forsequentialandsd-b32(n/a forslug). Forsd-b32, pass--id-seed "{slug-or-title}"and optionally--id-actor "{actor-or-agent}"so creation context enters the candidate. To file a new entity, do NOT pair--next-idwith a hand-written file — usespacedock newunder the eagerly loaded«write.classify»contract, which mints the id and atomically writes the stamped entity in one call.--next-idis candidate-preview only.--where <field>=<value>— THE entity query. One clause per flag; repeat the flag to AND clauses (--where sprint=X --where 'sprint-readiness!=defer'). Two clauses in one string is an error, not an AND.field!=means non-empty,field=means empty. Unknown field names are a loud error listing the known fields. Known fields are this workflow's frontmatter keys plus the canonical set:id slug status title score source worktree pr started completed verdict mod-block archived issue. Neverfind/grepthe state dir — query it.--next— dispatchable entities.
The --set flag updates entity frontmatter fields:
--set {slug} field=valuesets a field--set {slug} field=clears a field--set {slug} startedorcompletedauto-fills a UTC ISO 8601 timestamp (skipped if already set)- a field with a schema
conventionallist (today:verdict,[PASSED REJECTED]) is closed on write — any other token is refused byte-clean;--forcebypasses. Clearing always passes. To supersede an entity, clearverdictand--archiveit.
Captain-Facing State Display
The commissioned README directs the captain to dispatch the FO to inspect workflow state. Invoke status for captain-facing display on questions like:
- "what's the workflow state?" / "show me the workflow" / "what's going on?"
- "what's dispatchable?" / "what's ready?" / "what's next?"
- "what's archived?" / "show me the done entities"
- any ad-hoc question a
statusview answers (a single entity, entities in a stage, PR-pending).
Canonical invocations (all start with ${SPACEDOCK_BIN:-spacedock} status --workflow-dir {workflow_dir}):
- Overview: no extra flags shows the first 25 rows, sorted by later stage first then score descending; use
--page Nfor more or--limit 0for the full table. - Dispatchables:
--next. - Archived-inclusive view:
--archivedreturns active plus archived, not archived-only. A full-sprint answer incl. done is one query:--where sprint=X --archived --fields slug,status,verdict,archived. - Single-entity:
--resolve {ref}then--where slug={resolved-slug}.
Output rendering guidance. Forward status stdout verbatim inside a fenced code block, with a one-line preface naming the request ("Workflow overview:", "Dispatchable entities:", "Archived entities:"). On empty results, render a literal note ("No dispatchable entities right now.") instead of an empty fence. Do not paraphrase rows, omit columns, invent fields, summarize counts, or editorialize.
Issue Filing
Do not file GitHub issues without explicit human approval.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

