一键导入
task-discipline
Required lifecycle for non-trivial work. Create a task, claim it, do the work, mark done. Include the task name in your reply.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Required lifecycle for non-trivial work. Create a task, claim it, do the work, mark done. Include the task name in your reply.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Communicate with other agents in your team — send messages, delegate tasks, list agents, check news. Use when asked to contact another agent or coordinate work.
Programmatically manage an ID Agents team — add/remove agents, sync configs, rebuild and restart the manager, dispatch work to agents and poll replies. Use whenever you edit a team YAML, hit "Manager did not start in time", need to /sync, /deploy, or /agents rebuild a team, or want to talk to or ask an agent.
Build an id-agents team correctly from scratch. Covers YAML structure, per-agent workspaces, role files, library agent templates, skill bundling, and the gotchas (silent default drops, symlinks vs copies, cpSync collisions). Use whenever you are designing a new team config, adding agents to an existing team, or debugging why an agent ended up with a generic personality.
Your agent identity — name and team. Always loaded so you know who you are.
Analyze and choose names based on the perceptual qualities that letters and sounds carry. Use when generating, screening, or defending brand names. Covers the English letter→quality table, compound multiplier effect, rhythm patterns, palindromes, and processing fluency. Derived from Lexicon Branding's research into linguistic sound symbolism.
Update your REST-AP catalog to describe your role, expertise, and status to other agents and the manager.
| name | task-discipline |
| description | Required lifecycle for non-trivial work. Create a task, claim it, do the work, mark done. Include the task name in your reply. |
Note: For idchain agents, these rules are also injected via
defaults.claudeMdinconfigs/idchain.yaml, so the lifecycle is always in context without invoking this skill. This file is kept as reference documentation and for non-idchain agents that load the skill explicitly.
You treat every non-trivial request as a first-class task in the manager's /tasks system. The task lifecycle is mandatory for any multi-step work or work that produces an artifact.
There are two ways a task lifecycle starts. Treat them differently — the single most common discipline failure is creating a duplicate task when one has already been dispatched to you.
If you received a dispatch brief that names a task — i.e. the message
contains task: <name> plus explicit claim/done URLs (see the
inter-agent skill, section "Dispatch brief template") — the manager
already created the task. Do not create a new task.
Use the brief's URLs verbatim:
POST <claim URL> with {"agent_id": "<your-name>"} — flips to doing.POST <done URL> with {"agent_id": "<your-name>"} — flips to done.If you create a parallel task under a slightly different name, the dispatcher's checkin keeps firing against the original (now-phantom) row, the dispatcher cannot tell the work landed, and acceptance does not roll up. Use the assigned name verbatim.
If you found work that needs doing during a heartbeat, review, or ordinary flow — and nobody dispatched a brief — follow the full lifecycle below: create → claim → do → done.
POST $MANAGER_URL/tasks with {title, name, from: <your-name> }POST $MANAGER_URL/tasks/<name>/claim with {agent_id: <your-name> } (status flips to doing)./output/ in your working directory.POST $MANAGER_URL/tasks/<name>/done with {agent_id: <your-name> } (status flips to done)Done. Task: implement-x. Output: ./output/report.mdMark the task done with a failure note in the reply. Do not leave it in doing.
Other agents reading the task stream need to see the terminal state, even if it is failure.
Use kebab-case for task names: implement-feature-x, audit-contracts-sept, review-pr-42.
Avoid reserved command verbs (delete, deploy, sync, etc.) which will be rejected by the validator.
A verifier agent walking the task stream can see every unit of work, every artifact, every completion or failure, but only if every agent uses the system. Your discipline is what makes the team auditable.
If you're running a cleanup pass and need to close a checkin or task that should not block acceptance because a different agent's task already covers the same work, write the close note in this exact format:
closed-by-cleanup: see <implementer-task-name> (uuid <short>)
Where <short> is the implementer's shortId (e.g. #7b03a518). The
format is greppable from the task stream so the next pass can
reconstruct which row absorbed the closed work without having to walk
event logs.
Manager-side duplicate-task rejection — refusing POST /tasks when a
dispatch has already created a task for the same logical unit of work
— is a known followup. Until that lands, dispatchers and implementers
prevent duplicates manually by:
task: <name> and explicit claim/done URLs
in every brief (see inter-agent skill, "Dispatch brief template").The inter-agent skill describes checkins, a complementary primitive for supervising delegated tasks. When you delegate work to another agent via /talk-to with a task: {title, name} field, the manager creates the task and an active checkin watching it; the checkin auto-closes when the task hits a terminal state. If you load task-discipline without inter-agent, you have your own task lifecycle but no built-in supervision for work you delegate. See skills/inter-agent/SKILL.md, section "Checkins (work supervision)".