Ax extract workflow

From sickn33/agentic-awesome-skills · View interactive version

Ax extract workflow is an AI agent skill from the GitHub repository sickn33/agentic-awesome-skills. Reconstruct workflow behind a past coding-agent artifact using local ax sessions/commits/skills/tool traces. Use when asked how X was built.

How to use this skill

Skill file

ax Extract Workflow

Overview

Use this skill to reconstruct the workflow behind a past coding-agent artifact:

a shipped feature, PR, demo, refactor, report, or other concrete result. It uses

the local ax graph to connect commits, sessions, turns, skills, and tool traces

into a short "how this got made" narrative.

ax must be installed, available on PATH, and able to reach its local database.

If ax cannot connect to its DB, report the connection failure and stop instead of

guessing from memory.

When to Use This Skill

How It Works

Step 1: Resolve the Anchor

Identify the best anchor from the user's request:

ax recall "live ingest dashboard" --sources=turn,commit,skill --scope=here
ax sessions near abc1234 --json
ax sessions around 2026-06-15 --days=3 --json
ax sessions here --days=14

These commands are read-only inspection commands.

Step 2: Pick Relevant Sessions

Choose the few sessions most likely to explain the artifact. Prefer sessions

that mention the artifact, touch related files, include relevant commits, or have

skills and tool calls that match the work.

If several candidates are plausible, show the user the candidates and ask which

one to inspect.

Step 3: Inspect the Session Trail

Open each selected session and look for:

ax sessions show <session-id> --json
ax sessions show <session-id> --by-role
ax recall "specific keyword from the artifact" --sources=turn,commit --scope=here

Step 4: Write the Reconstruction

Return the result inline unless the user asks for a file. Keep it short and

evidence-grounded:

  1. Anchor: the date, commit, feature, or artifact you resolved.
  2. Ordered workflow: 4-8 steps showing the skill or action and what it produced.
  3. Key decisions: the user or agent choices that changed the path.
  4. Verification: tests, reviews, checks, or manual evidence.
  5. Reproducer brief: the compact recipe for doing similar work again.

Use session IDs, commit SHAs, and file paths as citations when available.

Examples

Reconstruct a Feature from a Commit

ax sessions near 8f31c2a --json
ax sessions show <session-id> --by-role
ax sessions show <session-id> --json

Output shape:

Anchor: 8f31c2a, live ingest dashboard

Workflow:
1. Problem framing -> narrowed the failure to stale dashboard polling.
2. Session recall -> found the earlier ingest-stream design and constraints.
3. Implementation -> wired the server event bus and browser subscription.
4. Verification -> ran typecheck and refreshed the dashboard locally.

Reproducer brief:
Start from the failing artifact, find nearby sessions, inspect role-grouped
skills, then summarize the smallest ordered path from framing to verification.

Reconstruct Work Around a Date

ax sessions around 2026-06-15 --days=2 --json
ax recall "otel receiver" --sources=turn,commit,skill --scope=here

Use this when the user remembers when the work happened but not the commit.

Best Practices

Limitations

Security & Safety Notes

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.