alonbaron/claude-skills/tree/main/mods/workflow-watch
workflow-watch
実行中の Workflow をリアルタイム表示します。各ステージの開始・終了時に現在の処理内容を表示し、ペイン、プロンプト上の帯、ステータス行に反映します。
この mod について
セッションの最新 Workflow 実行を追跡し、各ステージをリアルタイムで描画する、機能フックで構成されたプラグイン(mod)です。ステージの実行中はペイン、プロンプト上の帯、ステータス行に表示し、各ステージの完了時には toast を出します。/workflow-watch でペインを開き、同じレポートをテキストで出力できます。モバイルアプリに表示されるのはこのテキストだけです。
各行は 1 つの subagent を表します。フェーズ、結果、ラベル、スクリプトが要求したモデルの別名と解決先の id、effort レベル、出力トークン、経過時間、現在呼び出しているツールまたは 1 行の結果を表示します。ビルドループのステージにはそれぞれ結果行(plan、scout、spec、build、measure、refute、arbiter、fix、close)があり、それ以外の workflow には汎用の行を使います。
2 秒ごとに Claude Code 自身のファイルを読み取ります。~/.claude/projects/<project>/<session>/subagents/workflows/<run>/ の journal.jsonl(ステージ)、agent-<id>.meta.json(別名)、agent-<id>.jsonl(モデル、effort、トークン、ツール呼び出し)を使います。この構成は内部仕様です。構成が変わった場合、推測せず何も表示しません。
marketplace(/plugin install workflow-watch@alonbaron)からインストールするか、claude --plugin-dir <this folder> で 1 セッションだけ読み込みます。ペインには 144 列のターミナルが必要です。狭い表示にする場合は /workflow-watch を使います。scripts/tracker.mjs で、セッションの外から同じ行を HTML または PNG にレンダリングできます。
確認するには claude plugin validate mods/workflow-watch、claude plugin test mods/workflow-watch を実行し、セッションが型を生成したら tsc -p mods/workflow-watch も実行します。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add alonbaron/claude-skills claude plugin install workflow-watch
原文 / README
workflow-watch
A mod (a plugin of function hooks) that follows the newest Workflow run of the session and draws its stages live: a pane, a band above the prompt while stages run, the status line, and a toast as each stage finishes. /workflow-watch opens the pane and prints the same report as text, which is all the mobile app shows.
Each row is one subagent: phase, outcome, label, the model alias the script asked for and the id it resolved to, the effort level, output tokens, elapsed time, and either the tool it is calling right now or its result in one line. The build loop's stages get a result line each (plan, scout, spec, build, measure, refute, arbiter, fix, close); any other workflow gets a generic one.
It reads Claude Code's own files under ~/.claude/projects/<project>/<session>/subagents/workflows/<run>/ every two seconds: journal.jsonl for the stages, agent-<id>.meta.json for the alias, agent-<id>.jsonl for model, effort, tokens and tool calls. That layout is internal; when it moves, the mod shows nothing rather than guessing.
Install with the marketplace (/plugin install workflow-watch@alonbaron) or load it for one session with claude --plugin-dir <this folder>. The pane needs a terminal of 144 columns, or /workflow-watch to seat it narrower. scripts/tracker.mjs renders the same rows to HTML or PNG from outside a session.
Check it: claude plugin validate mods/workflow-watch, claude plugin test mods/workflow-watch, tsc -p mods/workflow-watch once a session has laid the types beside it.
