conductor
Track and coordinate parallel Claude Code sessions from a central dashboard. Use this skill whenever the user says "/conductor", "/sessions", "session status", "who is doing what", "show sessions", or references checking on parallel work streams. Also trigger when the user starts a new parallel session, completes a session, or asks about merge order or dependencies between sessions. Works alongside claude-team-cli to provide visibility into multi-session workflows.
- License 许可
- MIT
- 最近更新
- 2026-07-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- conductor
- description
- Track and coordinate parallel Claude Code sessions from a central dashboard. Use this skill whenever the user says "/conductor", "/sessions", "session status", "who is doing what", "show sessions", or references checking on parallel work streams. Also trigger when the user starts a new parallel session, completes a session, or asks about merge order or dependencies between sessions. Works alongside claude-team-cli to provide visibility into multi-session workflows.
03 SKILL.md 正文
Session Conductor Skill
This skill maintains a SESSIONS.md file in the root of a project's Git repository and provides CLI commands for tracking parallel Claude Code sessions. It answers the question: "Who is doing what, in which session, and what's the status?"
This skill is project-agnostic and works with any repository. On first use in a session, it identifies the active project and adapts accordingly.
Why This Matters
The /parallel command in claude-team-cli generates session plans with personas, tasks, and file scopes. But once those sessions are running, visibility disappears. You can't see which sessions are active, which persona is in each, what task each is working on, or which sessions are blocked waiting on others. With 6+ sessions running, you lose coordination quickly.
The conductor fills that gap. It tracks session lifecycle from plan through completion, shows status at a glance, enforces merge order, and integrates with devlog to capture what each session accomplished.
Project Context (First Use Per Session)
The first time this skill triggers in a session, establish the project context:
- Memory/conversation context — Does Claude already know what project the user is working on? If so, confirm.
- CWD / git remote — Check the working directory name or
git remote -v. - Ask the user — If neither source provides clarity, ask.
SESSIONS.md lives in the project root, alongside DEVLOG.md, ROADMAP.md, and TODOS.md.
Lint Check
When establishing project context for the first time in a session, verify that the project has a linter configured. Check for stack-appropriate lint configuration files:
- Python:
ruff.toml,pyproject.tomlwith[tool.ruff],.flake8 - JavaScript/TypeScript:
.eslintrc*,eslint.config.*,biome.json, or alintscript inpackage.json - Swift/iOS:
.swiftlint.yml - Go:
.golangci.yml - Rust:
clippyconfiguration inCargo.toml - General:
.pre-commit-config.yaml
If no linter is configured, flag it to the user before proceeding.
SESSIONS.md Format
# [Project Name] — Session Conductor
Active coordination view for parallel Claude Code sessions.
Auto-maintained via [claude-conductor](https://github.com/code-katz/claude-conductor).
<!-- conductor-schema: v2 (Active: 10 columns incl. Activity+Branch; Completed: 8 columns incl. Branch) -->
---
## Active Sessions
| # | Persona | Task | Files | Status | Started | Depends On | Notes | Activity | Branch |
|---|---------|------|-------|--------|---------|------------|-------|----------|--------|
| 1 | Akira | Implement /battles CRUD endpoints | app/routers/, app/models/ | coding | 2026-03-28 14:00 | — | API contracts defined | writing code | session/1-akira-implement-battles-crud |
| 2 | Sasha | Build BattleLog wizard component | frontend/src/pages/, frontend/src/components/ | blocked | 2026-03-28 14:05 | #1 | Waiting on API types | | session/2-sasha-build-battlelog-wizard |
| 3 | Robin | Integration tests for battles API | tests/ | planning | 2026-03-28 14:10 | #1 | — | | session/3-robin-integration-tests |
## Merge Order
1. Session #1 first (defines API contracts)
2. Sessions #2 and #3 in any order after #1
## Completed Sessions
| # | Persona | Task | Files | Duration | Completed | Outcome | Branch |
|---|---------|------|-------|----------|-----------|---------|--------|
| — | — | — | — | — | — | — | — |
## Session Log
### [2026-03-28 14:00] Sessions created from /parallel plan
- Created 3 sessions for battles feature sprint
- Coordination session: this terminal
Session Statuses
| Status | Meaning | Visual |
|---|---|---|
planning |
Session is in plan mode, no edits yet | ? |
coding |
Actively writing code | ⚡ |
reviewing |
Code complete, reviewing/testing | ? |
blocked |
Waiting on another session or external input | ? |
done |
Task complete, ready to merge | ✅ |
merged |
Code merged into main branch | ? |
abandoned |
Session stopped without completing task | ❌ |
Trigger Conditions
This skill activates when the user says:
/conductoror/sessions— show current session status/conductor start— register a new session (or batch from /parallel output)/conductor update <#> <status>— update a session's status/conductor done <#>— mark a session complete/conductor merge <#>— mark a session as merged/conductor abandon <#>— mark a session as abandoned with reason/conductor plan— generate a new /parallel plan and auto-register sessions/conductor clear— archive all completed/merged sessions and reset for next sprint
Sub-Commands
/conductor or /sessions — Show Status
- Read SESSIONS.md
- Display the Active Sessions table with status icons
- Show any blocked sessions and what they're waiting on
- Show merge order if dependencies exist
- If no sessions are active: "No active sessions. Use
/conductor startor/conductor planto begin."
Compact format for quick checks:
Session Status for [Project Name]:
#1 ⚡ Akira — Implement /battles CRUD [coding]
#2 ? Sasha — BattleLog wizard [blocked → waiting on #1]
#3 ? Robin — Integration tests [planning]
Merge order: #1 → (#2, #3)
/conductor start — Register Sessions
From /parallel output:
When the user runs /parallel first and then /conductor start, parse the parallel plan output and auto-register all sessions:
- Extract persona, task, and file scope from each session in the plan
- Set all initial statuses to
planning - Extract merge order from the plan
- Write to SESSIONS.md
- Log the creation in the Session Log section
- Confirm: "Registered 3 sessions from /parallel plan. All set to
planning."
Manual registration: If no /parallel output is available, prompt:
- "Which persona?" (suggest based on context)
- "What's the task?" (short, specific description)
- "Which files/directories?" (explicit scope)
- "Any dependencies?" (other session numbers)
Assign the next available session number.
/conductor update <#> <status> — Update Status
- Read SESSIONS.md
- Find session by number
- Update the status field
- If changing to
done, prompt: "Want to log this to the devlog? I can draft an entry from the session's task." - If a blocked session's dependency just became
done, notify: "Session #2 is unblocked — Sasha can proceed with the BattleLog wizard." - Add a timestamped note to the Session Log
- Write SESSIONS.md
/conductor done <#> — Complete a Session
- Update status to
done - Prompt for outcome summary: "Brief summary of what was accomplished?"
- Move the session from Active to Completed table
- Check if this unblocks any other sessions and notify
- Offer to create a devlog entry
- Add to Session Log
- Write SESSIONS.md
/conductor merge <#> — Mark as Merged
- Update status to
mergedin the Completed table - Record the merge timestamp
- If all sessions in a dependency chain are merged, note: "All sessions in the battles sprint are merged. Sprint complete."
- Add to Session Log
/conductor abandon <#> — Abandon a Session
- Prompt for reason: "Why is this being abandoned?"
- Update status to
abandoned - Move to Completed table with the reason
- Check if any sessions depended on this one and flag them: "Warning: Session #2 depends on #1 which was abandoned. #2 may need rescoping."
- Add to Session Log
/conductor plan — Generate and Register
- Invoke the
/parallelplanning logic (analyze context, identify streams) - Present the parallel plan to the user for approval
- On approval, auto-register all sessions via
/conductor start - This is a convenience command that combines
/parallel+/conductor start
/conductor clear — Archive and Reset
- Move all
doneandmergedsessions to an archive section at the bottom of SESSIONS.md - Remove them from the Active and Completed tables
- Reset session numbering for the next sprint
- Confirm: "Archived 3 completed sessions. Ready for next sprint."
Dependency Tracking
When sessions have dependencies:
- The
Depends Oncolumn in the Active Sessions table shows which session(s) must complete first - When a dependency completes (
doneormerged), the conductor automatically:- Notifies the user that downstream sessions are unblocked
- Suggests the merge order for the next step
- Circular dependencies are flagged as errors during registration
Merge order is always explicit. The conductor does not auto-merge. It tells you what can be merged and in what order. You do the actual merge.
Integration with Other Code-Katz Tools
Devlog Integration
When a session completes, the conductor offers to generate a devlog entry:
- Category is inferred from the session's task (API work →
feature, tests →infrastructure, etc.) - The entry includes the persona who led the work, the task description, and the outcome summary
- Tags are derived from the file scope
Roadmap Integration
When all sessions in a sprint complete, the conductor checks ROADMAP.md for the related tier item and suggests marking it complete or updating its status.
Todo Integration
When a session is abandoned or a new task surfaces during a session, the conductor offers to add it to TODOS.md with the appropriate persona tag.
Parallel Integration
The /conductor plan command wraps /parallel to provide a seamless plan-to-track workflow. The conductor reads the /parallel output format natively.
Workflow: Writing to SESSIONS.md
Always read before writing
Read SESSIONS.md before any write operation.
No approval gate for status updates
Status changes are low-stakes and time-sensitive. Write immediately and confirm.
Show changes for destructive operations
/conductor clear and /conductor abandon show what will change and ask for confirmation.
No automatic git commit
SESSIONS.md is a coordination artifact, not a changelog. The user can commit it if they want it in source control, but it changes too frequently to auto-commit on every update.
Proactive status updates
If you are running inside a registered conductor session (the session prompt says "You are session #N"), update your status automatically at these transitions:
- Exiting plan mode and starting edits: Run
claude-conductor u N coding --activity "writing code" - Running tests: Run
claude-conductor u N coding --activity "running tests" - Fixing errors from tests or linting: Run
claude-conductor u N coding --activity "fixing errors" - Waiting for user input: Run
claude-conductor u N coding --activity "needs response" - Code complete, reviewing: Run
claude-conductor u N reviewing --activity "self-review" - Task finished: Run
claude-conductor d N
These updates keep the coordinator dashboard accurate without requiring the user to manually track each session. The --activity flag sets a sub-status visible on the dashboard tiles.
Session Log
The Session Log at the bottom of SESSIONS.md is an append-only record of all session lifecycle events. Each entry is timestamped:
### [YYYY-MM-DD HH:MM] Event description
- Details about what changed
This provides a timeline of the sprint's coordination history. It is never edited or deleted, only appended to.
Writing Style
- No emdashes in prose: Restructure to use commas, colons, semicolons, parentheses, or separate sentences. Emdashes are acceptable as separators in structured lists.
- Status updates are terse and factual
- Session descriptions are short and imperative
- The Session Log captures coordination decisions, not implementation details (that's the devlog's job)
Creating SESSIONS.md for the First Time
# [Project Name] — Session Conductor
Active coordination view for parallel Claude Code sessions.
Auto-maintained via [claude-conductor](https://github.com/code-katz/claude-conductor).
<!-- conductor-schema: v2 (Active: 10 columns incl. Activity+Branch; Completed: 8 columns incl. Branch) -->
---
## Active Sessions
| # | Persona | Task | Files | Status | Started | Depends On | Notes | Activity | Branch |
|---|---------|------|-------|--------|---------|------------|-------|----------|--------|
## Merge Order
No dependencies defined.
## Completed Sessions
| # | Persona | Task | Files | Duration | Completed | Outcome | Branch |
|---|---------|------|-------|----------|-----------|---------|--------|
## Session Log
Replace [Project Name] with the project name established during session setup.