ax-extract-workflow
Skill21 starsChanged 5 months agoMITView on GitHub
Reconstructs the workflow behind a shipped artifact from ax session evidence, commits, and PR context. Use when asking what made a feature, fix, demo, or PR work, or when turning a past success into a repeatable recipe.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- YangsonHung/awesome-agent-skillstheir own version, first seen Nov 8, 2026
- Necmttn/axtheir own version, first seen Jun 12, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Necmttn/ax★ 116same name
- YangsonHung/awesome-agent-skills★ 18same name
- ishandutta2007/Awesome-Claude-Skills★ 16same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- api-and-interface-designSkill
- browser-testing-with-devtoolsSkill
- ci-cd-and-automationSkill
- code-review-and-qualitySkill
- code-simplificationSkill
- context-engineeringSkill
- curlshotSkill
- debugging-and-error-recoverySkill
- deprecation-and-migrationSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- eval-driven-developmentSkill
- frontend-ui-engineeringSkill
- git-workflow-and-versioningSkill
- hermes-tweetSkill
- idea-refineSkill
- incremental-implementationSkill
- interview-meSkill
- linkedinSkill
- loootSkill
- mcp-tool-integrationSkill
- observability-and-instrumentationSkill
- performance-optimizationSkill
- plan-ledger-tasks-yyloSkill
- planning-and-task-breakdownSkill
- security-and-hardeningSkill
- shipping-and-launchSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- using-awesome-ai-skillsSkill
- video-routerSkill
- xquik-public-dataSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
7
Distinctive
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 39
If the anchor is ambiguous, ask the user to choose before narrating.
- Distinctive: line 45
Start from the anchor session, PR, or commit.
- Distinctive: line 50
When using ax, prefer:
- Distinctive: line 80
Avoid fake lessons like "communicate clearly" or "write better tests." If the lesson could apply to any project, it is not extracted enough.
- Distinctive: line 90
Keep it factual. Do not turn uncertainty into a confident story.
- Distinctive: line 104
No session ids, commit SHAs, PR URLs, checks, or file paths are cited
- Distinctive: line 114
Every workflow step has evidence
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ax Extract Workflow
Overview
Shipping something once is not the same as knowing how to repeat it. This skill reconstructs the ordered workflow behind a past artifact: the framing decisions, implementation path, review gates, verification evidence, and user steering points that made it land.
Use ax as the primary evidence source when it is installed, because it can connect sessions, turns, skills, tool calls, commits, and cost data. If ax is unavailable, use git history, PR comments, issue threads, CI logs, and local notes, but label the reconstruction as lower confidence.
When to Use
- The user asks "what made this work?", "how did we ship this?", or "extract the workflow behind this PR"
- A feature, demo, refactor, migration, or incident fix worked and the team wants the reusable recipe
- You need to explain which skills or process steps actually mattered, not just summarize the final diff
- You are preparing a retrospective, playbook, onboarding note, or repeatable implementation guide
NOT for:
- Generic activity summaries or "what happened today" reports
- Root-causing a live bug; use
debugging-and-error-recoveryfirst - Writing a new implementation plan from scratch; use
spec-driven-developmentandplanning-and-task-breakdown
Process
1. Resolve the anchor
Identify the artifact the user wants to reconstruct:
| Anchor | Evidence to gather |
| Commit SHA | ax sessions near <sha> plus git show <sha> |
| PR URL or number | PR description, comments, review threads, checks, and commits |
| Date or release | ax sessions around <date> plus release notes or tags |
| Topic or feature name | ax recall "<topic>" to find candidate sessions and commits |
If the anchor is ambiguous, ask the user to choose before narrating.
2. Build the evidence window
Collect the smallest window that explains the artifact:
- Start from the anchor session, PR, or commit.
- Include predecessor sessions that introduced the idea, plan, or failed attempt.
- Include follow-up sessions that repaired tests, changed direction, or finished verification.
- Exclude unrelated nearby work, even if it happened on the same day.
When using ax, prefer:
ax sessions near <sha> --json
ax sessions show <id> --json
ax sessions show <id> --by-role
ax recall "<topic>" --sources=turn,commit,skill --scope=here3. Extract the ordered workflow
Turn the evidence into an ordered arc:
- Framing: the initial question, constraint, or user correction that shaped the work.
- Planning: the spec, decomposition, or decision map that prevented thrash.
- Execution: the implementation slices, dispatches, or edits that moved the artifact forward.
- Verification: tests, checks, reviews, screenshots, logs, or CI evidence.
- Repair: failed checks, regressions, or review feedback and how they were closed.
- Packaging: docs, PR body, release note, or final artifact.
Each step must cite evidence: session id, commit SHA, PR comment, test output, or file path.
4. Name the reusable decisions
Pull out 2-5 decisions that changed the outcome. Good decisions are specific:
- "Scoped Codex ingest by cwd before normalizing other providers"
- "Moved visual judgment to a subagent to keep screenshots out of main context"
- "Ran the repo validator before opening the PR"
Avoid fake lessons like "communicate clearly" or "write better tests." If the lesson could apply to any project, it is not extracted enough.
5. Write the recipe
Return three sections:
- Workflow Arc: numbered steps with evidence references.
- Key Decisions: what changed the path and why it mattered.
- Repeatable Recipe: the shortest version someone can follow next time.
Keep it factual. Do not turn uncertainty into a confident story.
Common Rationalizations
| Rationalization | Why It Is Wrong |
| "The final commit tells the story." | The commit omits failed paths, user steering, verification churn, and subagent work. |
| "I can infer the process from the diff." | Diffs show what changed, not why the sequence worked. Use session, PR, and test evidence. |
| "Nearby sessions are probably relevant." | Time proximity is weak evidence. Include only sessions tied to the artifact by files, topic, commit, or explicit mention. |
| "A polished narrative is enough." | The output must be auditable. Every important claim needs a source. |
Red Flags
- The answer reads like a project summary instead of an ordered workflow
- No session ids, commit SHAs, PR URLs, checks, or file paths are cited
- It ignores failed attempts or repair loops
- It overstates confidence when ax data is missing or incomplete
- The reusable recipe is too vague to guide the next run
Verification
Before finishing, confirm:
- The artifact anchor is explicit and unambiguous
- Every workflow step has evidence
- The story includes both successful actions and meaningful repair loops
- The repeatable recipe names concrete steps, tools, and checks
- Any missing ax data or uncertain inference is labeled clearly
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.

