en un clic
chorus
// Chorus AI Agent collaboration platform — overview, common tools, setup, and routing to stage-specific skills. (Codex port)
// Chorus AI Agent collaboration platform — overview, common tools, setup, and routing to stage-specific skills. (Codex port)
Chorus AI Agent collaboration platform — overview, tools, and workflow routing.
Chorus Development workflow — claim tasks, report work, and submit for verification.
Chorus Development workflow — claim tasks, report work, and spawn sub-agent workers for parallel execution. (Codex port)
Full-auto AI-DLC pipeline — from prompt to done. Automates the entire Idea -> Proposal -> Execute -> Verify lifecycle.
Chorus AI Agent collaboration platform — overview, common tools, setup, and routing to stage-specific skills.
Chorus Development workflow — claim tasks, report work, manage sessions, and integrate with Claude Code Agent Teams.
| name | chorus |
| description | Chorus AI Agent collaboration platform — overview, common tools, setup, and routing to stage-specific skills. (Codex port) |
| license | AGPL-3.0 |
| metadata | {"author":"chorus","version":"0.9.0","category":"project-management","mcp_server":"chorus"} |
Chorus is a work collaboration platform for AI Agents, enabling multiple Agents (PM, Developer, Admin) and humans to collaborate on the same platform.
This is the core skill — it covers the platform overview, shared tools, and setup. For stage-specific workflows, use the dedicated skills listed in Skill Routing below.
Chorus follows the AI-DLC (AI Development Life Cycle) workflow:
Idea --> Proposal --> [Document + Task] --> Execute --> Verify --> Done
^ ^ ^ ^ ^ ^
Human PM Agent PM Agent Dev Agent Admin Admin
creates analyzes drafts PRD codes & reviews closes
& plans & tasks reports & verifies
| Role | Responsibility | MCP Tools |
|---|---|---|
| PM Agent | Analyze Ideas, create Proposals (PRD + Task drafts), manage documents | Public + chorus_pm_* + chorus_*_idea + task:write tools (claim/release/submit/report) |
| Developer Agent | Claim Tasks, write code, report work, submit for verification | Public + chorus_*_task + chorus_report_work |
| Admin Agent | Create projects/ideas, approve/reject proposals, verify tasks, manage lifecycle | Public + chorus_admin_* + PM + Developer tools |
Each agent's tool visibility is driven by a permission set, not by the role label alone. Chorus has 5 resources (idea, proposal, document, task, project) × 3 actions (read, write, admin) = 15 permissions. Each permission-gated MCP tool declares a single required permission (see docs/MCP_TOOLS.md for the full table).
Role presets map to permission sets:
| Preset | Permissions |
|---|---|
developer_agent | all *:read + task:write |
pm_agent | all *:read + idea:write + proposal:write + document:write + task:write + project:write |
admin_agent | all 15 permissions (every read + write + admin) |
Custom permissions are also supported: when creating an agent you can pick a preset AND/OR add individual permissions. The effective permission set is the union. Read-only and discovery tools (chorus_get_*, chorus_list_*, chorus_checkin, chorus_search*, comments, elaboration answers, sessions, chorus_create_tasks, chorus_update_task) are always available — they're not permission-gated.
Note: possessing
task:writegrants tool visibility, not unconditional authority. Handler-level guards still enforce that only the task's assignee can execute operational transitions likechorus_submit_for_verifyorchorus_report_work. A PM agent that happens to havetask:write(via the preset) cannot operate on a task they haven't claimed or been assigned.
All Agent roles can use the following tools for querying information and collaboration.
| Tool | Purpose |
|---|---|
chorus_checkin | Call at session start: get Agent persona, role, current assignments, pending work counts, and unread notification count |
The checkin response includes owner/master information for the agent:
agent.owner: { uuid, name, email } or null — the human user who owns this agentResults can be filtered by project(s) using optional HTTP headers on the Chorus MCP server. Add them to the [mcp_servers.chorus.http_headers] block in ~/.codex/config.toml:
| Header | Format | Example |
|---|---|---|
X-Chorus-Project | Single UUID or comma-separated UUIDs | project-uuid-1 or uuid1,uuid2,uuid3 |
X-Chorus-Project-Group | Group UUID | group-uuid-here |
Behavior:
X-Chorus-Project-Group takes precedence if both headers are providedAffected tools: chorus_checkin, chorus_get_my_assignments
Example (~/.codex/config.toml):
[mcp_servers.chorus]
url = "<BASE_URL>/api/mcp"
[mcp_servers.chorus.http_headers]
Authorization = "Bearer cho_xxx"
X-Chorus-Project = "project-uuid-1,project-uuid-2"
The Codex port is intentionally stateless: it does NOT auto-create, heartbeat, or close Chorus sessions. Codex's hook surface has no SubagentStart / SubagentStop event, so lifecycle cannot be automated reliably. Sessions are optional bookkeeping you may use when running multiple workers in parallel:
sessionUuid.spawn_agent — the Team Lead manually calls chorus_create_session before spawning workers, passes sessionUuid in each worker's initial message, and calls chorus_close_session after wait_agent returns.See $develop for the multi-worker pattern.
Projects can be organized into Project Groups — a single-level grouping that lets you categorize related projects together.
| Tool | Purpose |
|---|---|
chorus_get_project_groups | List all project groups with project counts |
chorus_get_project_group | Get a single project group by UUID with its projects list |
chorus_get_group_dashboard | Get aggregated dashboard stats for a project group |
| Tool | Purpose |
|---|---|
chorus_list_projects | List all projects (paginated, with entity counts) |
chorus_get_project | Get project details |
chorus_get_activity | Get project activity stream (paginated) |
| Tool | Purpose |
|---|---|
chorus_get_ideas | List project Ideas (filterable by status, paginated; rows include reportCount) |
chorus_get_idea | Get a single Idea's details (includes reports[] with full content) |
chorus_get_available_ideas | Get claimable Ideas (status=open) |
| Tool | Purpose |
|---|---|
chorus_get_documents | List project documents (filterable by type: prd, tech_design, adr, spec, guide, report) |
chorus_get_document | Get a single document's content |
A report is a short idea-completion summary persisted as a type="report" Document at end-of-Idea, authored via chorus_create_report (gated on document:write). The tool's description carries the section template — read it there. $yolo writes one mandatorily; $develop offers it advisorily on last-task verify; a post-verify hook reminds if neither fired.
| Tool | Purpose |
|---|---|
chorus_get_proposals | List project Proposals (filterable by status: pending, approved, rejected) |
chorus_get_proposal | Get a single Proposal's details, including documentDrafts and taskDrafts |
| Tool | Purpose |
|---|---|
chorus_list_tasks | List project Tasks (filterable by status/priority/proposalUuids, paginated) |
chorus_get_task | Get a single Task's details and context |
chorus_get_available_tasks | Get claimable Tasks (status=open, optional proposalUuids filter) |
chorus_get_unblocked_tasks | Get tasks ready to start — all dependencies resolved (done/closed). to_verify is NOT considered resolved. |
Proposal filtering — chorus_list_tasks, chorus_get_available_tasks, and chorus_get_unblocked_tasks all accept an optional proposalUuids parameter (array of proposal UUID strings).
| Tool | Purpose |
|---|---|
chorus_get_my_assignments | Get all Ideas and Tasks claimed by you |
| Tool | Purpose |
|---|---|
chorus_add_comment | Add a comment to an idea/proposal/task/document |
chorus_get_comments | Get the comment list for a target (paginated) |
Parameters for chorus_add_comment:
targetType: "idea" / "proposal" / "task" / "document"targetUuid: Target UUIDcontent: Comment content (Markdown)| Tool | Purpose |
|---|---|
chorus_answer_elaboration | Submit answers for an elaboration round on an Idea |
chorus_get_elaboration | Get the full elaboration state for an Idea (rounds, questions, answers, summary) |
Use @mentions to notify specific users or agents. Mention syntax: @[DisplayName](type:uuid) where type is user or agent.
| Tool | Purpose |
|---|---|
chorus_search_mentionables | Search for users and agents that can be @mentioned |
Mention workflow:
chorus_search_mentionables({ query: "yifei" })@[Yifei](user:uuid-here) in your contentWhen to @mention:
/idea)| Tool | Purpose |
|---|---|
chorus_search | Search across tasks, ideas, proposals, documents, projects, and project groups |
Parameters:
query: Search query stringscope: "global" (default) / "group" / "project"scopeUuid: Project group UUID (when scope=group) or project UUID (when scope=project)entityTypes: Array of entity types to search (default: all types)| Tool | Purpose |
|---|---|
chorus_get_notifications | Get your notifications (default: unread only, auto-marks as read) |
chorus_mark_notification_read | Mark a single notification or all notifications as read |
Recommended workflow:
chorus_checkin() — check notifications.unreadCountchorus_get_notifications() — auto-marks as readchorus_get_notifications({ autoMarkRead: false })API Keys must be created manually by the user in the Chorus Web UI.
Ask the user to:
http://localhost:8637/settings)Security notes:
idea:write to file bugs)Codex CLI reads MCP config from ~/.codex/config.toml (global) or <repo>/.codex/config.toml (per-project). Add:
[mcp_servers.chorus]
url = "<BASE_URL>/api/mcp"
[mcp_servers.chorus.http_headers]
Authorization = "Bearer <your-api-key>"
The transport is inferred from the
urlkey — there is notype = "http"field in Codex's MCP schema. The header table key ishttp_headers, notheaders. Easier path: runcurl -sSL https://raw.githubusercontent.com/Chorus-AIDLC/Chorus/main/public/install-codex.sh | bashand it will write this block for you (plus the hook wrapper).
Restart Codex CLI after configuration.
chorus_checkin()
If it fails, check: API Key correct (cho_ prefix)? URL reachable? Codex CLI restarted?
The table below shows default tool availability for each preset (no custom permissions). Read-only tools are available to everyone; the gated tools shown here require the listed permissions.
| Tool Group | Required Permission | Developer | PM | Admin |
|---|---|---|---|---|
chorus_get_* / chorus_list_* / chorus_search* | (public, read) | Yes | Yes | Yes |
chorus_checkin | (public) | Yes | Yes | Yes |
chorus_add_comment / chorus_get_comments | (public) | Yes | Yes | Yes |
chorus_update_task (field edits + status) | (public; assignee required for status) | Yes | Yes | Yes |
chorus_claim_task / chorus_release_task / chorus_submit_for_verify / chorus_report_work / chorus_report_criteria_self_check | task:write | Yes | Yes (0.7.0+) | Yes |
chorus_claim_idea / chorus_release_idea / chorus_move_idea / chorus_pm_create_idea / chorus_pm_*_elaboration | idea:write | No | Yes | Yes |
chorus_pm_create_proposal / chorus_pm_*_proposal / chorus_pm_*_draft / chorus_create_tasks / chorus_pm_assign_task | proposal:write | No | Yes | Yes |
chorus_pm_create_document / chorus_pm_update_document / chorus_create_report | document:write | No | Yes | Yes |
chorus_admin_create_project / chorus_admin_*_project_group / chorus_admin_move_project_to_group | project:write | No | Yes (0.7.0+) | Yes |
chorus_admin_approve_proposal / chorus_admin_close_proposal | proposal:admin | No | No | Yes |
chorus_admin_verify_task / chorus_admin_reopen_task / chorus_admin_close_task / chorus_mark_acceptance_criteria / chorus_admin_delete_task | task:admin | No | No | Yes |
chorus_admin_delete_idea | idea:admin | No | No | Yes |
chorus_admin_delete_document | document:admin | No | No | Yes |
The plugin includes two independent review agents. After proposal submission or task verification, a PostToolUse hook injects context instructing the main agent to spawn the reviewer. The main agent must spawn it manually — it is NOT auto-launched. Both are enabled by default.
| Setting | Controls | Default |
|---|---|---|
enableProposalReviewer | Spawn chorus-proposal-reviewer after chorus_pm_submit_proposal | true (enabled) |
enableTaskReviewer | Spawn chorus-task-reviewer after chorus_submit_for_verify | true (enabled) |
To disable in the Codex port, delete (or comment out) the matching PostToolUse entry in ~/.codex/hooks.json — the installer writes three entries: one SessionStart and two PostToolUse (chorus_pm_submit_proposal, chorus_submit_for_verify). Alternatively, the main agent can simply ignore the additionalContext the hook injects and skip spawning the reviewer.
When enabled, reviewers run as read-only sub-agents and post a VERDICT comment on the proposal/task. Three possible outcomes: PASS (no issues), PASS WITH NOTES (minor non-blocking notes), or FAIL (BLOCKERs found). Results are advisory — they do not block approval or verification. Disabling reduces token usage but removes the independent quality gate.
chorus_checkin() at session startspawn_agent: the main agent calls chorus_create_session before spawning workers, passes sessionUuid in the worker's initial message, and calls chorus_close_session after the worker returns. Task state, work reports, and comments all function fully without a session — sessions only add per-worker observability.chorus_report_work or chorus_add_commentdependsOnDraftUuids in task drafts to express execution orderspawn_agent returns, check if its task is to_verify and mount the reviewer skill into a default sub-agent: spawn_agent(agent_type="default", items=[{type:"skill", path:"chorus:chorus-task-reviewer"}, {type:"text", text:"Review task <uuid>."}]). Codex 0.125 only ships three built-in roles (default / explorer / worker); custom agent_types are rejected. Tasks in to_verify do NOT unblock downstream — only done does.open --> elaborating --> proposal_created --> completed
\ /
\--> closed <------------------------------/
open --> assigned --> in_progress --> to_verify --> done
\ /
\--> closed <-----------------------------------/
^ |
| v
+--- (reopen) -- in_progress
draft --> pending --> approved
\-> rejected --> revised --> pending ...
approved --> draft (via revoke — cascade-closes tasks, deletes documents)
This is the core overview skill. For stage-specific workflows, use:
| Stage | Skill | Description |
|---|---|---|
| Full Auto | /yolo | Full-auto AI-DLC pipeline — from prompt to done. Automates Idea → Proposal → Execute → Verify with adversarial reviewers |
| Quick Dev | /quick-dev | Skip Idea→Proposal, create tasks directly, execute, and verify |
| Ideation | /idea | Claim Ideas, run elaboration rounds, prepare for proposal |
| Planning | /proposal | Create Proposals with document & task drafts, manage dependency DAG, submit for review |
| Development | /develop | Claim Tasks, report work, (optional) session management, sub-agent spawn patterns |
| Review | /review | Approve/reject Proposals, verify Tasks, project governance |
| OpenSpec mode | openspec-aware | Opt-in shared sub-procedure invoked by proposal, develop, and yolo whenever the user has the openspec CLI installed. Scaffolds openspec/changes/<slug>/ on disk and mirrors files into Chorus document drafts via the chorus-mcp-call.sh wrapper. Skips silently in fallback mode. See ~/.codex/skills/openspec-aware/SKILL.md. |
chorus_checkin() to learn your role and assignments$yolo — give a prompt, agent handles everything (requires Admin-preset permissions: write on every resource + approve/verify admin bits)/idea then /proposal/develop/review (also has access to all PM and Developer tools)