ワンクリックで
trace-task
タスクのセッション履歴を分析するスキル。 Triggers: 「T141 を分析」「タスクの履歴を見せて」「セッション履歴」 「trace task」「タスクのログ」「何が起きたか確認」等の発言。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
タスクのセッション履歴を分析するスキル。 Triggers: 「T141 を分析」「タスクの履歴を見せて」「セッション履歴」 「trace task」「タスクのログ」「何が起きたか確認」等の発言。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when orchestrating multi-agent development via cmux. Triggers: .team/ directory exists, user says "team", "spawn agents", "parallel", "sub-agent", or any /team-* command is invoked. Provides: agent spawning, monitoring, result collection, synchronization protocols.
cmux-team のヘルプ・リファレンス(読み取り専用)。使い方の説明、概念の解説、 CLI コマンドリファレンス、トラブルシューティングを提供する。 Triggers: 「cmux-team の使い方」「〜とは」「ヘルプ」「help」「how to」等の 質問・解説リクエスト。操作の実行自体は cmux-team スキルが担当。
Use when investigating another cmux-team project (e.g. ~/git/mado, ~/git/Dear) from this repository. Triggers: ユーザーが「mado で〜」「Dear で〜」「~/git/<別プロジェクト> で〜」のように 別リポジトリの不具合・挙動を質問した場合、もしくは manager.log / trace DB の相関分析、 特定 surface の挙動調査を求められた場合。 Provides: 対象リポジトリ特定 → ログ収集 → trace DB 検索 → surface 直接参照 → 時系列相関 の 5 ステップ手順。 hook_signals テーブル(T216)と cmux-team trace-hooks サブコマンド(T217)による hook 受信の事後追跡もカバーする。 対象プロジェクトの .team/ は読み取り専用で扱い、書き込みは行わない。
cmux-team のメトリクス解析・cohort 比較・介入評価・複数 task 横断トレンド・ trace DB 探索を DuckDB SQL で行うスキル。Triggers: 「メトリクス解析」 「cohort 比較」「介入評価」「baseline 比較」「複数 task の傾向」「時系列 trend」 「trace DB から〜」「DuckDB で〜」「§11 spec の SQL を実行」等の発言。 per-task 履歴の分析は trace-task skill を使う(per-task 履歴 = trace-task / 複数 task・時系列・cohort = 本 skill)。
Use when reading GitHub issues / PRs (github.com or GitHub Enterprise) from the current project. Triggers: mention of an issue/PR number (e.g. "#272", "issue 272", "PR #42"), user asks to run `gh issue`, `gh pr`, `ghe issue`, `ghe pr`, wants to see review / comment status, or asks "show me open issues / review requests / recent closed PRs". Use `cmux-team issue` / `cmux-team pr` / `cmux-team gh` instead of invoking `gh` directly for READ operations — the local SQLite cache avoids rate limit exhaustion. Writing (create / comment / close / merge / review) still goes through `gh`.
Use when synchronizing docs/ and README with the current implementation state. Triggers: user says "docs を同期", "ドキュメント更新", "仕様書更新", "README 更新", "sync docs", or /docs-sync command is invoked. Provides: git log analysis, task-based diff detection, docs/spec/ + README.md / README.ja.md update.
| name | trace-task |
| description | タスクのセッション履歴を分析するスキル。 Triggers: 「T141 を分析」「タスクの履歴を見せて」「セッション履歴」 「trace task」「タスクのログ」「何が起きたか確認」等の発言。 |
タスクに関連した全セッション(Conductor + Agent)の情報を追跡・分析する。
cmux-team trace-task <task-id>
出力例:
Task T141: SESSION_CLEAR で running Conductor のステータスをリセットする
Run: task-141-1775852524
Worktree: .worktrees/task-141-1775852524
Base: origin/main @abcdef1 (source=config-origin)
Sessions:
conductor a87d71b5 surface:125 54 lines ~/.claude/projects/.../a87d71b5.jsonl
impl 1ad0d40a surface:136 77 lines ~/.claude/projects/.../1ad0d40a.jsonl
inspector xxxxxxxx surface:137 45 lines ~/.claude/projects/.../xxxxxxxx.jsonl
Base: 行は T243 で追加された worktree 出発点情報:
<label>: WorktreeBaseResolution.baseLabel(origin/main / main / HEAD 等)@<short-sha>: worktree 作成直後の git rev-parse HEAD 先頭 7 文字source=<source>: explicit / config-origin / config-local / head-fallbackT243 より前のタスクは情報なしで Base: - と表示される。
セッション一覧から JSONL パスを取得し、Read ツールで内容を確認する。
JSONL の各行は JSON オブジェクトで、主要フィールド:
type: メッセージタイプ(human, assistant, tool_use, tool_result 等)message.content: メッセージ内容timestamp: タイムスタンプ大きな JSONL は offset + limit で範囲指定して読むこと。
Base: 行から worktree の base branch / 親 commit / 解決ソースを把握する(T243)。source=head-fallback のタスクは worktree が origin と乖離した HEAD から切られていた可能性があり、PR への混入 commit を確認する判断材料になる