/cmux-team:trace-task runs instead · from cmux-team
Analyzes task session history from Claude Code, including conductor, agent, and inspector logs. Provides timeline, error patterns, and worktree base info for debugging.
This skill never runs in Claude Code
It ships in cmux-team at skills/, but /cmux-team:trace-task (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
タスクに関連した全セッション(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 を確認する判断材料になるWhat SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/cmux-agent-roleActivated when running as a cmux-team sub-agent. Triggers: .team/team.json exists AND current session was spawned by Conductor (detect via: initial prompt contains "[CMUX-TEAM-AGENT]" marker). Provides: output protocol, task creation, inter-agent coordination.
/cmux-teamUse 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-analyzecmux-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)。
/cmux-team-ghUse 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`.
/cmux-team-guidecmux-team のヘルプ・リファレンス(読み取り専用)。使い方の説明、概念の解説、 CLI コマンドリファレンス、トラブルシューティングを提供する。 Triggers: 「cmux-team の使い方」「〜とは」「ヘルプ」「help」「how to」等の 質問・解説リクエスト。操作の実行自体は cmux-team スキルが担当。
/dockeeperUse 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.
npx claudepluginhub hummer98/cmux-team --plugin cmux-teamOther plugins' skills for the same job