| name | claim-agentdesk-task |
| description | Explicitly specified only: use this skill only when the user writes `$claim-agentdesk-task` or `claim-agentdesk-task` by name. Never infer or proactively trigger it from task content, workflow fit, or requests to claim AgentDesk work alone. When explicitly requested by name, atomically claim one checklist item, implement only that item, and complete it through AgentDesk. |
Claim AgentDesk Task
Explicit Invocation Only
The user must explicitly specify this skill by writing $claim-agentdesk-task or claim-agentdesk-task by name. Never infer this skill from task content, workflow fit, or requests to claim AgentDesk work alone.
Use this skill when multiple agents may independently pull work from the same markdown task file.
AgentDesk is CLI/MCP-only and headless for this workflow. Coordinate through MCP task tools and focused command-line verification; do not add GUI, browser, Electron, Web app, or npm run dev checks.
Required Identity
Before claiming work, determine:
taskName: the task filename, title, or title slug under task/.
assignee: a stable agent name for this run.
sessionId: the current Codex/session id.
If sessionId is not available from the user, environment, or current session context, stop before implementing. The visible claim marker must include both assignee and session id.
MCP Workflow
- Call
claim_next_task_item with taskName, assignee, and sessionId.
- If it returns
hasWork: false, report that no unclaimed checklist item remains and do not edit project files.
- If it returns a claimed item, read the returned item title/details and implement only that item.
- Do not modify other checklist items or AgentDesk claim markers by hand.
- Run focused CLI/MCP verification for the claimed item.
- Call
complete_task_items with the claimed item index/title, the same assignee, and the same sessionId.
- Summarize the claimed item, verification, and any residual risk.
Guardrails
- Never start implementation before
claim_next_task_item succeeds.
- Work from the repository-designated working branch. In this AgentDesk workspace, use
agentdesk/next as the base for new work; do not switch to master, create work from master, or merge/push master unless the user explicitly requests it.
- Never claim more than one item in this workflow unless the user explicitly asks for another claim after completion.
- Never complete an item claimed by a different assignee or session id.
- MCP is the required coordination path. If MCP is unavailable, do not manually edit the task file to simulate a claim.