MCP HubMCP Hub
SKILL·B3FCE4

ax-extract-workflow

Necmttn
更新日 27 days ago
4 閲覧
104
12
104
GitHubで表示
メタautomationdesign

について

このスキルは、特定の過去の成果物(機能やPRなど)を作成するために使用された段階的なワークフローを再構築します。関連する開発セッションを分析し、最終結果を生み出したスキルとアクションの連鎖を物語として説明します。これは、一般的な活動ログを求めるリクエストではなく、何かがどのように構築またはリリースされたかを尋ねるクエリによってトリガーされます。

クイックインストール

Claude Code

推奨
メイン
npx skills add Necmttn/ax -a claude-code
プラグインコマンド代替
/plugin add https://github.com/Necmttn/ax
Git クローン代替
git clone https://github.com/Necmttn/ax.git ~/.claude/skills/ax-extract-workflow

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

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 saidModeAction
commit sha (full or short)shause it directly
date or date range (YYYY-MM-DD)dateuse ax sessions around <date>
topic / feature / artifact nametopicax recall "<topic>" --sources=commit --json to find candidate shas
"this repo, recently"pwdax sessions here --days=14

For topic mode pick the most relevant sha and proceed in sha mode. If results are ambiguous, ask the user to pick one before continuing.

Step 2 - window the sessions

Pick the right command for the resolved anchor:

  • sha mode: ax sessions near <sha> --json
  • date mode: ax sessions around <date> --days=3 --json
  • pwd mode: ax sessions here --days=14 --json

Pick the N most relevant sessions from the JSON (default N=5). Bias to sessions with the highest turn counts and that touch files related to the artifact.

Step 3 - inspect each session

For each picked session:

ax sessions show <id> --json
ax sessions show <id> --by-role     # optional, see Step 4

Read the top_skills and agent_delegations arrays. If a subagent's work looks central to the artifact, drill in:

ax sessions show <id> --expand=<subagent-uuid>

Step 4 - narrate

Produce two artifacts inline (no files written - keep the answer in chat).

4a. Ordered skill arc

Lead with the framing skill that opened the work (use --by-role output if available - the framing group goes first). Then execution skills, then verification. For each skill, name it and write one line on what it produced.

Example:

1. brainstorming    -> defined the workflow extraction problem
2. writing-plans    -> turned 13 grilled questions into a plan
3. subagent-driven  -> executed the plan as 17 typed-CLI tasks
4. code-review      -> two-stage spec + quality review per task
5. test-driven-dev  -> 100% green throughout

4b. Key decisions

Pull 2-4 turn excerpts where the user steered the work. Use:

ax recall "<keyword>" --skill=<framing-skill> --limit=5 --json

Quote one line per decision; cite the session id.

4c. Reproducer brief (optional, if user asks)

A one-paragraph "to do this again, you would" summary - the skills, the order, and the key user inputs at the steering points.

When to recommend ax skills classify

If ax sessions show <id> --by-role returns many skills in the (unclassified) group, the role-weighted output above will be noisy. Suggest the user run ax skills classify once - it generates briefs the user can fill in to seed roles. Don't block on it; the artifact-reconstruction story still works without roles.

Output contract

Write everything inline. Do not create files under .ax/tasks/ or anywhere else. Do not modify the repo. This is a read-only, reconstruction-focused skill.

If the user asks for a permanent recipe, recommend they paste your output into docs/recipes/<name>.md themselves - ax intentionally has no recipe save format yet (per the workflow-extraction-frictions plan).

GitHub リポジトリ

Necmttn/ax
パス: skills/ax-extract-workflow
0
agent-memoryagent-observabilityai-agentsbunclaude-codecodex
FAQ

よくある質問

ax-extract-workflow Skillとは何ですか?

ax-extract-workflow はNecmttn が作成した Claude Skillです。Skillは、Claudeが必要に応じて読み込む指示とリソースをまとめ、追加の指示なしで ax-extract-workflow に関連するタスクを実行できるようにします。

ax-extract-workflow をインストールするには?

このページのインストールコマンドを使用してください。ax-extract-workflow をプラグインとして Claude Code に追加するか、リポジトリを skills ディレクトリにクローンし、Claudeを再起動してSkillを読み込みます。

ax-extract-workflow はどのカテゴリに属しますか?

ax-extract-workflow は メタ カテゴリに属します。

ax-extract-workflow は無料で利用できますか?

はい。ax-extract-workflow は AIMCP に掲載されており、無料でインストールできます。

関連スキル

content-collections
メタ

このスキルは、Content Collections(Markdown/MDXファイルを型安全なデータコレクションに変換するTypeScriptファーストのツール)の本番環境でテストされた設定を提供します。Zodバリデーションによる型安全性を実現し、ブログ、ドキュメントサイト、コンテンツ重視のVite + Reactアプリケーション構築時にご利用ください。Viteプラグインの設定、MDXコンパイルから、デプロイ最適化、スキーマバリデーションまで、すべてを網羅しています。

スキルを見る
polymarket
メタ

このスキルは、開発者がPolymarket予測市場プラットフォームを活用したアプリケーション構築を可能にします。API統合による取引や市場データの取得に加え、WebSocketを介したリアルタイムデータストリーミングにより、ライブ取引や市場活動を監視できます。取引戦略の実装や、ライブ市場更新を処理するツールの作成にご利用ください。

スキルを見る
creating-opencode-plugins
メタ

このスキルは、開発者がコマンド、ファイル、LSP操作など25種類以上のイベントタイプにフックするOpenCodeプラグインを作成することを支援します。JavaScript/TypeScriptモジュール向けに、プラグイン構造、イベントAPI仕様、および実装パターンを提供します。カスタムイベント駆動ロジックでOpenCode AIアシスタントのライフサイクルをインターセプト、監視、または拡張する必要がある場合にご利用ください。

スキルを見る
sglang
メタ

SGLangは、高性能なLLMサービングフレームワークであり、RadixAttentionプレフィックスキャッシュを活用したJSON、正規表現、エージェントワークフロー向けの高速で構造化された生成を特長とします。特にプレフィックスが繰り返されるタスクにおいて、大幅に高速な推論を実現し、複雑な構造化出力やマルチターン対話に最適です。制約付きデコードが必要な場合や、広範なプレフィックス共有を伴うアプリケーションを構築する場合は、vLLMなどの代替案ではなくSGLangを選択してください。

スキルを見る