wise-workflow-statuslisted
Install: claude install-skill e1024kb/wise-claude
# /wise-workflow-status — list runs or dump one
## Why this skill exists
Workflow runs leave per-run state at
`~/.local/share/wise/runs/<cwd-slug>/<ulid>/state.yaml`
(honours `XDG_DATA_HOME`; off the project tree on purpose — avoids
`.claude/**` sensitive-path prompts AND keeps gitignore clean).
Users need a cheap way to see what's out there (am I mid-run? which
run is paused?) and to inspect a specific one without reading YAML by
hand.
## Arguments
Read `$ARGUMENTS`. The first whitespace-separated token is the
`run-id` — an optional ULID of the run to dump. When present, print
the full state.yaml content via `workflows.py dump-state`. When
`$ARGUMENTS` is empty, list every run in the current workspace via
`workflows.py list-runs`.
## Procedure
### 1. Init-check + fetch — in ONE message
Run the init-check per `${CLAUDE_PLUGIN_ROOT}/references/init-check.md`,
firing `init-registry.py check` together with the data call for your
mode, in one message (the inline `$(… runs-root)` subshell keeps it a
single tool call):
- **`run-id` absent** (list every run):
```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/workflows.py" list-runs "$(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/workflows.py" runs-root 2>/dev/null)" 2>/dev/null || true
```
- **`run-id` present** — validate the ULID shape FIRST (26-char
Crockford base-32); reject with
`Not a ULID: <value>. Expected 26-character Crockford base-32 string.`
Then:
```bash
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/workflows.py