ax-extract-workflow
できること
このツールは、プロジェクトや機能がどのように作られたのかを理解するのに役立ちます。コーディングエージェントの履歴を調べ、最終的な結果に至るまでの手順、使われたツール、判断の内容を表示します。
使う場面
- ✓「X はどうやって作られたのか?」と質問したいとき。
- ✓何かを作り上げるまでの一連の操作を確認したいとき。
- ✓調べたいコード、日付、または機能名がわかっているとき。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ax-extract-workflow/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ライブ取り込みダッシュボードはどのように作られましたか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールは、コーディングエージェントの作業記録を検索し、実行された操作、使われたツール、行われた判断を結びつけます。その情報を簡単なタイムラインにまとめて、作業の流れを説明します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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
- Use when the user asks "how did we build X?", "what made X work?", or "extract the workflow behind this artifact."
- Use when the anchor is a commit SHA, date, feature name, PR, session, or repo-local artifact.
- Use when the user wants the sequence of agent skills, prompts, commands, decisions, and checks that led to a result.
- Do not use for a generic activity summary; use normal session listing instead.
How It Works
Step 1: Resolve the Anchor
Identify the best anchor from the user's request:
- Commit SHA: use it directly.
- Date or date range: inspect sessions around the date.
- Topic, feature, or artifact name: search recall for related turns, commits, and skills.
- "This repo recently": list recent sessions for the current repo.
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:
- skills used and their order
- user steering points and clarified constraints
- files, tests, and commands that changed the direction of the work
- subagent or tool traces that produced key evidence
- verification steps before the result was considered done
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:
- Anchor: the date, commit, feature, or artifact you resolved.
- Ordered workflow: 4-8 steps showing the skill or action and what it produced.
- Key decisions: the user or agent choices that changed the path.
- Verification: tests, reviews, checks, or manual evidence.
- 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
- Start from the most concrete anchor available: SHA beats date, date beats vague topic.
- Treat ax as the source of truth; do not invent missing skills, costs, commands, or decisions.
- Quote sparingly and only when a user decision or command matters to the reconstruction.
- Keep private transcript details private; summarize rather than dumping logs.
- Separate "what happened" from "what to repeat next time."
Limitations
- Requires a working local ax installation and reachable local ax database.
…
よくある質問
「アーティファクト」とは何ですか?
エージェントの作業によって生まれた具体的な成果物のことです。完成した機能、提出されたコード(PR)、デモ、レポートなどが該当します。
「ax」とは何ですか?
コーディングエージェントが作業を記録するために使うツールです。このスキルを使うには、お使いのコンピューターに「ax」がインストールされ、正しく動作している必要があります。
昨日自分が行った作業を確認するためにも使えますか?
はい。作業した日時や名前がわかっていれば、ツールが作業の流れを再構成するのに役立ちます。
詳細
作者による元の説明
Reconstruct workflow behind a past coding-agent artifact using local ax sessions/commits/skills/tool traces. Use when asked how X was built.
人気
- GitHubのスター
- 48k
- ランキング
- #3873
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。
似ているスキル
api-connector-builder
280kエージェントが既存のパターンに従って、新しいAPI連携を構築します。新しい方式を作らずに、もう一つ連携を追加したいときに使います。
api-design
280kエージェントがベストプラクティスに沿ってREST APIを設計できるようにします。APIの通信方法、エラーの表示方法、データの整理方法を決めるのに役立ちます。
backend-patterns
280kエージェントのサーバーサイドのアーキテクチャパターンとデータベースの最適化を支援します。サーバー上で動くコードを作成またはレビューするときに役立ちます。