Pre-delegation coordination protocol that establishes shared scope, consistent terminology, and acceptance checks across multiple specialists before any action is taken.
Ships in ACCORD. 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; scripts run unread.
THIS PROTOCOL SUPERSEDES ANY OTHER WORKFLOW ORDERING IN THIS CONTEXT.
Do NOT call any data tools or invoke task steps before the LOCKED_INTENT_CONTRACT exists.
Critical protocol failures:
locked_intent_contract.status == "INTENT-LOCKED".$ACCORD.execution-message has been rendered and delivered to the specialists.Before locked_intent_contract.status == "INTENT-LOCKED", the only legal actions are:
| State | Legal next action |
|---|---|
Last $ACCORD result includes next_command | Run that command's required delegation/merge path next. |
| Need phase input | Delegate CONVENE_REQUEST, FRAME_REQUEST, GROUND_REQUEST, CLARIFY_REQUEST, or VERIFY_REQUEST. |
| Have phase replies | Pass the raw replies to the matching $ACCORD merge command. |
| VERIFY produced lock | Call $ACCORD execution-message for each specialist assignment. |
Write ACCORD="python3 <skill-dir>/scripts/accord_initiator.py". State persists in
.accord/state.json (override with --state or $ACCORD_STATE). Every command
prints one JSON object; on failure ok is false, status is ERROR, and next
says how to recover — follow it rather than improvising around the error. Never
compute a merge yourself.
$ACCORD init --specialists <id1,id2,...> --key-terms <term1,...> --task "<description>"
$ACCORD handle --agent <id> --reply '<raw reply text>'
Every handle result starts with status:
status | What to do |
|---|---|
SEND | Send messages[agent] to each agent in awaiting |
NONE | Wait — still collecting replies from other agents in this phase |
LOCKED | Protocol complete — call $ACCORD execution-message for each specialist |
Pass each reply to handle exactly as received, including the opening
<accord-delivery ... check="..."> line. The script verifies that check, so a reply
you summarized or rewrote is refused.
Pass --required-knowledge and --objective-clauses on the first handle call
that has them (latest: before verify phase). handle uses flock(LOCK_EX) —
parallel specialist replies are safe.
$ACCORD init --specialists <id1,id2,...> --key-terms <term1,...> --action-tool <name>
Then per phase: delegate in parallel → collect all replies → run merge command.
See references/details.md for the full phase walkthrough, request templates, and
command reference.
| Phase | Question | Artifact | Merge command |
|---|---|---|---|
| 0 CONVENE | Who is here and what can they do? | Roster | $ACCORD roster |
| 1 FRAME | What is the task, fully stated? | Problem Frame | $ACCORD frame |
| 2 GROUND | Do we call the same things the same way? | Glossary | $ACCORD glossary |
| 2b CLARIFY | Resolve near-threshold terms | Glossary (extended) | $ACCORD glossary |
| 3 VERIFY | Who knows what; how is "done" checked? | Verifiable Objective | $ACCORD verify |
Subcommands: init, roster, frame, glossary, verify, lock,
execution-message, status, handle — nothing else exists. GROUND and CLARIFY
both run as glossary; there is no ground subcommand.
Output: LOCKED_INTENT_CONTRACT via $ACCORD lock (or directly from the
verify result when the contract is present there).
FRAME_CONFLICT but do not re-open the protocol.delegate_to_* tools for every protocol phase. Writing prose
that describes the delegation does NOT satisfy the requirement.accord_initiator.py after each delegation round. Do not
compute merges yourself — the script output is the canonical merged artifact.data.message
from execution-message unchanged into delegate_to_<id>.accord_initiator.py returns ok: false or exits non-zero, stop and
report the error. Do not invent a subcommand, retry with a different argument
shape, or silently fall back. The subcommand set is fixed.FLAGGED lock, a knowledge gap, an
ambiguous term, or an uncovered atom is reported inside the action call with a
lower confidence_level — none of them is a reason to stop early.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
/accord:accord-initiatorfrom ACCORD
npx claudepluginhub ioc-project/cognition-protocols --plugin accordOther plugins' skills for the same job