agentleFS
spacedock-devspacedock-dev/spacedock/skills/fo-status-viewer/SKILL.md

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.

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
  1. Distinctive:

    Do not file GitHub issues without explicit human approval.

    line 58

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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; --root rejects unqualified cross-workflow ambiguity rather than guessing.
  • --next-id — preview the next-id candidate for sequential and sd-b32 (n/a for slug). For sd-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-id with a hand-written file — use spacedock new under the eagerly loaded «write.classify» contract, which mints the id and atomically writes the stamped entity in one call. --next-id is 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. Never find/grep the state dir — query it.
  • --next — dispatchable entities.

The --set flag updates entity frontmatter fields:

  • --set {slug} field=value sets a field
  • --set {slug} field= clears a field
  • --set {slug} started or completed auto-fills a UTC ISO 8601 timestamp (skipped if already set)
  • a field with a schema conventional list (today: verdict, [PASSED REJECTED]) is closed on write — any other token is refused byte-clean; --force bypasses. Clearing always passes. To supersede an entity, clear verdict and --archive it.

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 status view 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 N for more or --limit 0 for the full table.
  • Dispatchables: --next.
  • Archived-inclusive view: --archived returns 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.