ax-extract-workflowlisted
Install: claude install-skill Necmttn/ax
# ax:extract-workflow - reconstruct the recipe behind a shipped artifact
Given a deliverable (a demo, a PR, a feature) the user wants to know:
what skills, in what order, produced it? This skill resolves an anchor
(date or sha), windows the relevant sessions, and narrates the ordered
skill arcs in plain text. Eats its own dogfood: it is itself a framing
skill.
Assumes `ax` (axctl) is on PATH and the local SurrealDB is running.
If `ax sessions here` fails with a connection error, tell the user
`scripts/db-start.sh` and stop.
## When to fire
ONLY on explicit reconstruction triggers:
- "what made <X> work" / "how did we ship <Y>"
- "extract workflow from <date>" / "extract workflow from <sha>"
- "what was the workflow around <topic>"
- "reconstruct the recipe for <artifact>"
- "show me how I built <feature>"
Do NOT fire on generic "what did I do today" or "show recent activity".
That is `ax sessions here` territory, not this skill.
## Step 1 - resolve the anchor
Decide one of three modes based on what the user gave you:
| User said | Mode | Action |
|---|---|---|
| commit sha (full or short) | sha | use it directly |
| date or date range (YYYY-MM-DD) | date | use `ax sessions around <date>` |
| topic / feature / artifact name | topic | `ax recall "<topic>" --sources=commit --json` to find candidate shas |
| "this repo, recently" | pwd | `ax sessions here --days=14` |
For topic mode pick the most relevant sha and proceed in sha mode. If
results are ambiguous, ask the use