/chorus:developfrom chorus
Manages Chorus development workflow: claim tasks, report progress, submit for verification, and integrate with Claude Code Agent Teams for multi-agent parallel execution.
Ships in chorus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill covers the Development stage of the AI-DLC workflow: claiming Tasks, writing code, reporting progress, submitting for verification, and managing sessions for sub-agent observability.
These rules apply only to wakes handled by an updated Chorus CLI daemon that honors the server-delivered SSE sessionId. They do not upgrade OpenClaw, Hermes, or dsh-native session routing; those native runtimes retain their existing behavior. Older daemons may fall back to legacy entity/Idea routing, so do not assume task/review isolation there.
task:<uuid> is a task-scoped session with no Idea-session memory. Fetch the current task, its proposal and documents, and its direct Idea from Chorus before starting work; do not rely on the orchestrator's conversation. Sibling tasks of the same Idea can run concurrently for one agent and may share the working directory. Before editing when siblings share the cwd, work in your own git worktree; the daemon does not create one for you.chorus_request_review uses review:<type>:<uuid>, where type is proposal, task, or idea (a code review targets the Idea). It is a read-only review-scoped session with no development-session memory. Fetch the target and current reviewer protocol/context before reviewing; do not implement fixes or perform lifecycle writes. A re-review by the same reviewer of the same target resumes the same review session, preserving review history rather than development memory.<directIdeaUuid>, not idea:<uuid>). An orchestrator also assigned a task uses task:<uuid> only for task-start/reopen work; its other task wakes (comments, mentions, PASS/FAIL VERDICT replies, Team handoffs) stay in the Idea session. Human instructions, operations, and research requests always use the Idea session, even for a task's developer.These are backend conversation and wake-queue anchors, not the Chorus Agent Session sessionUuid used by session check-in tools. Session separation does not isolate files or change the host's existing session check-in lifecycle.
Developer Agents take Tasks created by PM Agents (via /proposal) and turn them into working code. Each task follows:
claim --> in_progress --> report work --> self-check AC --> submit for verify --> Admin /review
For multi-agent parallel execution, Chorus integrates with Claude Code Agent Teams (swarm mode) with full session-based observability.
Task Lifecycle:
| Tool | Purpose |
|---|---|
chorus_claim_task | Claim an open task (open -> assigned) |
chorus_release_task | Release a claimed task (assigned -> open) |
chorus_update_task | Update task status (in_progress / to_verify) |
chorus_submit_for_verify | Submit task for admin verification with summary |
Work Reporting:
| Tool | Purpose |
|---|---|
chorus_report_work | Report progress or completion (writes comment + records activity, with optional status update) |
Acceptance Criteria:
| Tool | Purpose |
|---|---|
chorus_report_criteria_self_check | Report self-check results (passed/failed + optional evidence) on structured acceptance criteria |
Session (sub-agents only — main agent skips these):
| Tool | Purpose |
|---|---|
chorus_session_checkin_task | Checkin to a task before starting work |
chorus_session_checkout_task | Checkout from a task when work is done |
Sub-agents: always pass sessionUuid to chorus_update_task and chorus_report_work for attribution.
Main agent / Team Lead: call these tools without sessionUuid — no session needed.
Shared tools (checkin, query, comment, search, notifications): see /chorus
chorus_checkin()
Review your persona, current assignments, and pending work counts.
Skip if you are the main agent or Team Lead.
If you are a sub-agent, the Chorus Plugin automatically creates your session — look for a "Chorus Session" section in your system reminders containing your sessionUuid. Keep it for all task operations.
chorus_get_available_tasks({ projectUuid: "<project-uuid>" })
Or check existing assignments:
chorus_get_my_assignments()
chorus_get_task({ taskUuid: "<task-uuid>" }) # Review first
chorus_claim_task({ taskUuid: "<task-uuid>" })
Check: description, acceptance criteria, priority, story points, related proposal/documents.
Each task and proposal includes a commentCount field — use it to decide which entities have discussions worth reading.
Read the task and identify dependencies:
chorus_get_task({ taskUuid: "<task-uuid>" })
Pay attention to dependsOn (upstream tasks) and commentCount.
Read task comments (contains previous work reports, progress, feedback):
chorus_get_comments({ targetType: "task", targetUuid: "<task-uuid>" })
Review upstream dependency tasks — your work likely builds on theirs:
chorus_get_task({ taskUuid: "<dependency-task-uuid>" })
chorus_get_comments({ targetType: "task", targetUuid: "<dependency-task-uuid>" })
Look for: files created, API contracts, interfaces, trade-offs.
Read the originating proposal for design intent:
chorus_get_proposal({ proposalUuid: "<proposal-uuid>", section: "documents" })
(chorus_get_proposal defaults to section: "basic" — just metadata + a draft index. Pass section: "documents" for the design docs, or section: "full" for docs + task drafts.)
Read project documents (PRD, tech design, ADR):
chorus_get_documents({ projectUuid: "<project-uuid>" })
Document update flow (OpenSpec mode): if the originating proposal
descriptioncontains a lineOpenSpec change slug: <slug>, the project's PRD / tech_design / spec Documents are mirrors of files underopenspec/changes/<slug>/. To update such a Document (e.g. clarify an AC, fix a spec scenario before resubmitting), load theopenspec-awareskill at.claude/skills/openspec-aware/SKILL.mdand follow §3.8: edit the local.mdfile first, then mirror it — preferchorus mcp call … --arg-file content=<file>, falling back to thechorus-api.shwrapper withjson_encode_filewhenchorusis not onPATH— withchorus_check_responsehalting on error.⛔ Do not call
chorus_pm_update_documentdirectly from the MCP harness with a hand-typedcontentfield in OpenSpec mode. The local file is the source of truth; agent-typed content drifts and burns tokens (openspec-aware§2 Rule 1).When the LAST task of an OpenSpec idea is verified, the plugin's PostToolUse hook injects an archive reminder (
openspec-aware§3.9) — runopenspec archive <slug> --yes, then mirror each emittedopenspec/specs/<capability>/spec.mdback via §3.8.In the no-OpenSpec fallback (no slug line, or no
openspecCLI), edit the Document content directly via the existing MCP tool with no wrapper, no local file step.
Document update flow (spec-lite mode): if the originating proposal
descriptioncontains a locator lineSpec-lite: .chorus/specs/<slug>/<YYYY-MM-DD>-<change-slug>/, the project'sprd/tech_design/ … Documents are persistent mirrors of the Chorus-typed docs in that dated change folder (prd.md,tech_design.md, …, named by Chorus Document type). Load thespec-liteskill (skills/spec-lite/SKILL.md). Locate the dated folder deterministically from that locator line (not by title/type, which isn't unique). Edit those<type>.mdfiles in place (they are the source of truth for the change) and update the capability's durable.chorus/specs/<slug>/spec.mdin place too — butspec.mdis never mirrored (local only, no ids). Tick- [ ]acceptance points as work completes, then re-mirror each edited dated-folder file viachorus mcp call chorus_pm_update_document … --arg-file content=.chorus/specs/<slug>/<YYYY-MM-DD>-<change-slug>/<type>.mdagainst itsdocumentUuid(each update auto-increments the Document version = its modification history). No new tool/CLI — same--arg-filetransport as OpenSpec. Git history is the audit trail (git log -- .chorus/specs/<slug>/for the whole capability — the durablespec.md's diffs + each dated folder's change docs;git log --follow -- <file>to trace a single renamed file) — there is no changelog section to maintain.Single-writer: the folder is shared — in a multi-task wave, only the orchestrator / main agent edits + re-mirrors it; parallel workers report via
chorus_report_workonly. A non-orchestrator that must update it re-reads immediately before writing to detect conflicts.
Sub-agent: checkin to the task first:
chorus_session_checkin_task({ sessionUuid: "<session-uuid>", taskUuid: "<task-uuid>" })
Then mark as in-progress:
# Sub-agent:
chorus_update_task({ taskUuid: "<task-uuid>", status: "in_progress", sessionUuid: "<session-uuid>" })
# Main agent:
chorus_update_task({ taskUuid: "<task-uuid>", status: "in_progress" })
Dependency enforcement: If this task has unresolved dependencies (dependsOn tasks not in
doneorclosed), the call will be rejected with detailed blocker info. Usechorus_get_unblocked_tasksto find tasks you can start now.
Report periodically with chorus_report_work. Include:
chorus_report_work({
taskUuid: "<task-uuid>",
report: "Progress:\n- Created src/services/auth.service.ts\n- Commit: abc1234\n- Remaining: unit tests",
sessionUuid: "<session-uuid>"
})
Report completion without changing the status:
chorus_report_work({
taskUuid: "<task-uuid>",
report: "All implementation complete:\n- Files: ...\n- PR: https://github.com/org/repo/pull/42\n- All tests passing",
sessionUuid: "<session-uuid>"
})
Do not pass
status: "to_verify"here.chorus_submit_for_verify(Step 8) is thein_progress -> to_verifytransition; reportingto_verifyfirst makes that submit fail withCan only submit for verification from in_progress status.Recovering a task that was already moved this way — do not simply resubmit:
- Confirm the task was moved prematurely, not legitimately submitted and awaiting verification.
- Have the assignee move it back to
in_progresswithchorus_update_task; the usual dependency checks apply.- Repeat Step 7. Leaving
to_verifyclears the developer and admin acceptance marks and their evidence, so restore the self-check evidence and confirm the required criteria pass again.- Submit through Step 8.
Before submitting, check structured acceptance criteria:
task = chorus_get_task({ taskUuid: "<task-uuid>" })
# If task.acceptanceCriteriaItems is non-empty:
chorus_report_criteria_self_check({
taskUuid: "<task-uuid>",
criteria: [
{ uuid: "<criterion-uuid>", devStatus: "passed", devEvidence: "Unit tests cover this" },
{ uuid: "<criterion-uuid>", devStatus: "passed", devEvidence: "Verified manually" }
]
})
For required criteria, keep working until you can self-check as
passed. Only usefailedfor optional criteria that are out of scope.
Sub-agents — checkout first:
chorus_session_checkout_task({ sessionUuid: "<session-uuid>", taskUuid: "<task-uuid>" })
Then submit:
chorus_submit_for_verify({
taskUuid: "<task-uuid>",
summary: "Implemented auth feature:\n- Added login/logout endpoints\n- JWT middleware\n- 95% test coverage\n- All AC self-checked (3/3 passed)"
})
to_verifydoes NOT unblock downstream tasks — onlydone(after admin verification) does.
Review Agent: After
chorus_submit_for_verify, the Chorus plugin's PostToolUse hook injects context instructing you to spawnchorus:task-reviewer— an independent, read-only review agent. You MUST spawn it yourself (it is NOT auto-launched). Wait for it to complete — in Claude Code, that means waiting for the sub-agent's completion notification; the launch result itself is never the verdict. The reviewer posts a VERDICT comment on the task.
After the reviewer completes, read this round's VERDICT:
chorus_get_comments({ targetType: "task", targetUuid: "<task-uuid>" })
Find the VERDICT: comment posted after you dispatched the reviewer — not an older round's — and act on it. Do not advance the pipeline (verify or reopen) before you have read that comment:
If no new VERDICT: comment appears after the reviewer returns, check what it did post. A comment reporting that the round limit was reached, or any other explicit refusal to review, is a deliberate escalation to a human: STOP — do not respawn, do not self-review, do not post a VERDICT of your own. If it posted nothing at all, respawn it ONCE, telling it to stay within its turn budget and reserve its last turns for the VERDICT, then apply this same check again to what the retry posts. An explicit refusal from the retry still means STOP; only a second true silence lets you review the task yourself as a read-only pass using the checklist and POST the VERDICT comment. Absence is never a PASS.
Final code-review gateway (after the Idea's LAST task is verified): when the task you just verified is the last task of its idea-rooted proposal, the feature is about to ship — the PostToolUse hook injects a reminder to spawn
chorus:code-reviewer(gated byenableCodeReviewer, default on). Spawn it yourself and wait for its completion notification, passing theideaUuid+ round number; then read THIS round'sVERDICTcomment on the idea before deciding. It reviews the Idea's aggregate code change across all its tasks (cross-task integration, architecture, security, regression, feature-level coverage) and posts oneVERDICTcomment on the idea.PASS/PASS WITH NOTES→ ship;FAIL→ fix via/chorus:quick-dev(chorus_create_taskswithproposalUuidset to the current approved proposal so the fix tasks attach to it — do NOT reopen the verified tasks). Group related small BLOCKERs by default; split only materially large or independently testable fixes. Require AC self-check, independent task review, and admin verification for every fix task. Re-run aggregate review only after every fix is successfullydone; a failed or cancelled fix stops the loop and escalates, bounded bymaxCodeReviewRounds. Advisory/behavioral, like the other reviewers. Run it before any idea-completion report.Quick Tasks linked to an Idea (
ideaUuid): a Quick Task created withideaUuid(and noproposalUuid) counts toward that Idea — the Idea completes when all its linked Quick Tasks (plus any approved-proposal tasks) aredone/closed. The PostToolUse hook injects the same gateway reminder when the verified task is the last Quick Task linked to a proposal-less Idea (check withchorus_list_tasks({ projectUuid, ideaUuid })), and for a proposal-rooted Idea it waits until the Idea's linked Quick Tasks are terminal too. OnFAILfor a proposal-less Idea, create the fix tasks as Quick Tasks with the sameideaUuid(noproposalUuid); no idea-completion report applies, becausechorus_create_reportneeds a proposal.
If the reviewer returns FAIL, or the task is reopened after verification:
All acceptance criteria are reset to pending when a task is reopened.
chorus_get_task({ taskUuid: "<task-uuid>" })
chorus_get_comments({ targetType: "task", targetUuid: "<task-uuid>" })
Once Admin verifies (status: done), move to the next available task (back to Step 2).
If the task you just self-verified was the LAST one of its Idea (every Task across every approved Proposal is now done/closed) and you have document:write, offer to call chorus_create_report via AskUserQuestion. The call requires title (a short report title) plus content; content's parameter description carries the three-section template (## Summary / ## Decisions / ## Follow-ups). Skip on decline — the PostToolUse hook will remind on the next run.
The Chorus Plugin fully automates session lifecycle — creation, heartbeat, and cleanup are all handled by hooks. Sub-agents only do 3 things manually:
chorus_session_checkin_task({ sessionUuid, taskUuid }) — before starting workchorus_session_checkout_task({ sessionUuid, taskUuid }) — when done (recommended; plugin also auto-checkouts on exit)sessionUuid to chorus_update_task and chorus_report_work for attributionMain agent / Team Lead: no session needed — call tools without sessionUuid.
When using Claude Code's Agent Teams to run multiple sub-agents in parallel, Chorus provides full work observability.
| Layer | System | Purpose |
|---|---|---|
| Orchestration | Claude Code Agent Teams | Spawning sub-agents, task dispatch, inter-agent messaging |
| Work Tracking | Chorus | Task lifecycle, session observability, activity stream |
# 1. Check in and plan
chorus_checkin()
chorus_list_tasks({ projectUuid: "<project-uuid>" })
# 2. Dispatch one sub-agent per unblocked task, issuing the whole wave in a
# SINGLE message so they run in parallel. There is no team object to create.
# Pass only task UUIDs — plugin auto-injects session workflow
Task({
name: "frontend-worker",
prompt: "Your Chorus task UUID: <task-uuid>\nProject UUID: <project-uuid>\n\nImplement..."
})
What the Team Lead prompt needs:
Fallback: if sub-agent dispatch is unavailable (no sub-agent primitive, permission denied) or sub-agents fail repeatedly, execute the wave's tasks sequentially as the main agent following Steps 1-9 above. Slower, same pipeline.
The plugin injects session UUID and workflow into the sub-agent's context automatically.
# 1. Checkin to task
chorus_session_checkin_task({ sessionUuid: "<my-session-uuid>", taskUuid: "<my-task-uuid>" })
# 2. Move to in_progress
chorus_update_task({ taskUuid: "<my-task-uuid>", status: "in_progress", sessionUuid: "<my-session-uuid>" })
# 3. Do work... code, test, commit...
# 4. Report progress
chorus_report_work({ taskUuid: "<my-task-uuid>", report: "...", sessionUuid: "<my-session-uuid>" })
# 5. Checkout and submit
chorus_session_checkout_task({ sessionUuid: "<my-session-uuid>", taskUuid: "<my-task-uuid>" })
chorus_submit_for_verify({ taskUuid: "<my-task-uuid>", summary: "..." })
# 6. Notify team lead
SendMessage({ type: "message", recipient: "team-lead", content: "Task complete" })
# DO NOT close session — plugin closes it automatically on exit
Server-side enforcement:
chorus_update_task(status: "in_progress")rejects if anydependsOntask is notdoneorclosed.
Wave-based execution (recommended):
chorus_get_unblocked_tasks — find ready tasksto_verify, then verify each task (chorus_admin_verify_task → done)chorus_get_unblocked_tasks — find newly unblocked tasks (Wave 2)Critical:
to_verifydoes NOT resolve dependencies — onlydoneorcloseddoes. The Team Lead must verify tasks between waves.
A single sub-agent can work on multiple tasks sequentially:
Task({
name: "full-stack-worker",
prompt: "Your Chorus tasks (work in order):\n1. task-schema-uuid\n2. task-api-uuid (depends on #1)\n\nFor EACH task: checkin -> in_progress -> work -> report -> checkout -> submit_for_verify"
})
Sub-agents need MCP configured at project level (.mcp.json or .claude/settings.json). User-level config may not be accessible to sub-agents.
| Problem | Solution |
|---|---|
| Sub-agent can't access Chorus MCP tools | Verify MCP is configured at project level, API key has developer role |
| UI doesn't show active workers | Sub-agent forgot chorus_session_checkin_task. Check: chorus_get_session |
| Session disappears from Settings | No activity for 1h (default lists hide stale sessions). The session row still exists — it's reachable via MCP chorus_list_sessions / chorus_get_session. Send a heartbeat (or any session-touching tool) to make it visible again, or check whether the agent crashed |
| Task stuck in wrong status | Spawn new sub-agent with same name (plugin auto-reopens session), or use chorus_update_task to reset |
| Duplicate sessions | Never call chorus_create_session — plugin handles all session creation. Close extras via Settings page |
| Sub-agent didn't receive session | Check plugin is loaded (/plugin list) and CHORUS_URL is set. Ensure name parameter is set |
Good report (enables session continuity):
Implemented password reset flow:
Files created/modified:
- src/services/auth.service.ts (new)
- src/app/api/auth/reset/route.ts (new)
- tests/auth/reset.test.ts (new)
Git:
- Commit: a1b2c3d "feat: password reset flow"
- PR: https://github.com/org/repo/pull/15
Implementation details:
- POST /api/auth/reset-request: sends email with token
- Token expires after 1 hour, single-use
- Rate limiting: 3 requests/hour/email
- 12 new tests, all passing
Acceptance criteria:
- [x] User can request reset via email
- [x] Reset link expires after 1 hour
- [x] Rate limiting prevents abuse
Bad report: Done.
dependsOn tasks and their comments for interfaces/APIscommentCount — skip fetching comments on entities with count 0Release if:
chorus_release_task({ taskUuid: "<task-uuid>" })
chorus_add_comment({ targetType: "task", targetUuid: "<task-uuid>", content: "Releasing: reason..." })
/reviewstart_development wake (the human clicked Start Development on the idea-detail panel) means: claim and execute ALL remaining tasks of the idea's approved proposal in dependency order — loop this workflow until no claimable task remains, leaving to_verify and other-session tasks untouched.yolo_requested wake (the human clicked Yolo on the idea-detail panel) means: drive the WHOLE idea to done via the yolo skill (the full-auto AI-DLC pipeline), not just the execute stage — read the idea's current state and resume from whatever phase it is in. Unlike start_development it is stage-adaptive, and it must never merge or push a PR without explicit human approval./chorusWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
14 skills in this plugin
/brainstormOptional divergent-then-convergent dialogue for fuzzy ideas. Invoked from the idea skill as a prelude to structured elaboration; produces one ElaborationRound of decision-point Q&A and returns control. Never writes files, never posts comments, never resolves elaboration./chorusChorus AI Agent collaboration platform — overview, common tools, setup, and routing to stage-specific skills./chorus-cliHow to install, configure, and use the `chorus` CLI — install it, manage agents with `chorus agents` (add/remove/list), the connection environment variables, and MCP operations via `chorus mcp`. A concise shared reference for any flow that drives Chorus from the shell.npx claudepluginhub chorus-aidlc/chorus --plugin chorusOther plugins' skills for the same job