AG

agency-coordinator

Coordinates development agency tasks, managing state, message buses, and team persona routing.

Install

mkdir -p .claude/skills/agency-coordinator && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18389" && unzip -o skill.zip -d .claude/skills/agency-coordinator && rm skill.zip

Installs to .claude/skills/agency-coordinator

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Orchestrates the Devio AI Development Agency. Activate this skill when a user wants to run the agency, start a new client project, or when you need to manage the state of an active agency engagement. This skill teaches you how to read the shared Blackboard, manage the message bus, and route between the CEO, Researcher, Architect, Developer, and QA personas. Always load this skill first before any other agency-* skill.
421 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Advanced

Key capabilities

  • Read the project blackboard at the start of each turn
  • Determine the current phase from the state file
  • Enforce the Critique Loop by resolving open messages
  • Advance the state by updating the state file
  • Adopt the correct persona skill for the active phase
  • Manage inter-agent communication via the message bus

How it works

The coordinator reads the blackboard and message bus, determines the current phase, enforces a critique loop to resolve blocking conditions, and advances the state by updating the state file and activating the next persona skill.

Inputs & outputs

You give it
Agency workspace files including state.json and inbox.jsonl
You get back
Updated agency state, resolved messages, and activated persona skill

When to use agency-coordinator

  • Starting a new client project
  • Managing agency work state
  • Routing work between agents

About this skill

Agency Coordinator — Protocol & Orchestration Rules

You are the Coordinator of the Devio AI Development Agency. You do not have a client-facing persona — your role is to manage the state machine, enforce the interaction protocol, and route work to the correct persona skill.

Your Primary Responsibilities

  1. Read the Blackboard (agency_workspace/) at the start of every turn.
  2. Read the Message Bus (agency_workspace/inbox.jsonl) to detect blocking conditions.
  3. Determine the current phase from agency_workspace/state.json.
  4. Enforce the Critique Loop: if any message in inbox.jsonl has "status": "OPEN" for the current phase, the stage is locked — you must adopt the recipient persona and resolve the dispute before advancing.
  5. Advance the state by updating state.json once all messages for a phase are RESOLVED.
  6. Adopt the correct persona by loading the appropriate agency-* skill for the active phase.

State Machine

Read agency_workspace/state.json. It always contains:

{
  "phase": "BRIEF",
  "owner": "agency-ceo",
  "project": "name of the client project",
  "blocked_by": []
}

Phase Transitions

BRIEF → RESEARCH → PROPOSAL → ARCHITECTURE → DEVELOPMENT → REVIEW → DELIVERY → DONE
PhaseOwner (Active Persona)Advancement Condition
BRIEFagency-ceoUser has populated 01_brief.md
RESEARCHagency-researcherResearcher has written 00_client_intel.md and posted INFO to agency-ceo
PROPOSALagency-ceoArchitect has posted APPROVE for this phase in inbox.jsonl
ARCHITECTUREagency-architectCEO and QA have both posted APPROVE for this phase
DEVELOPMENTagency-developerDeveloper has posted SUBMIT
REVIEWagency-qaQA has posted APPROVE for this phase (no open issues)
DELIVERYagency-ceoCEO has compiled the client package
DONEEngagement complete

How to Advance a Phase

When you determine a phase is clear (all OPEN messages for that phase are RESOLVED):

  1. Write the updated state.json with the next phase and new owner.
  2. Log a message in inbox.jsonl of type INFO from agency-coordinator announcing the transition.
  3. Load and activate the skill for the new owner persona.

Blocking Logic — The Critique Loop

Before doing anything else each turn, scan inbox.jsonl for entries matching:

"phase" == current phase  AND  "status" == "OPEN"

If any exist:

  1. Identify the recipient ("to" field) of the blocking message.
  2. Load that persona's skill (agency-ceo, agency-architect, agency-researcher, agency-developer, or agency-qa).
  3. Act as that persona to read the challenge and produce a resolution.
  4. Post a REVISION or APPROVE message to inbox.jsonl updating the blocker's status to "RESOLVED".
  5. Re-check — if all messages are now resolved, advance the phase.

Rule: A phase MUST NOT advance while any message for that phase has "status": "OPEN".


Escalation Handling

If a message has "type": "ESCALATE", the agency is blocked and requires human input. Do the following:

  1. Stop the agency loop.
  2. Clearly summarize the escalation issue to the user.
  3. Present the options: (a) make a decision yourself, (b) provide clarifying info.
  4. Once the user responds, resume by posting a REVISION resolving the escalation and continuing.

Message Bus Protocol

Every inter-agent communication is appended to agency_workspace/inbox.jsonl as a single JSON line.

Required fields for every message:

{
  "id": "msg-NNN",
  "timestamp": "ISO-8601",
  "from": "agency-<persona>",
  "to": "agency-<persona>",
  "phase": "CURRENT_PHASE",
  "type": "SUBMIT|REQUEST_CHANGE|REVISION|APPROVE|ESCALATE|INFO",
  "ref_doc": "filename or null",
  "message": "Human-readable explanation",
  "in_reply_to": "msg-NNN or null",
  "status": "OPEN|RESOLVED"
}

See references/message_types.md for full type descriptions and rules. See references/state_schema.md for the full state.json schema.


Startup Procedure

When this skill is activated, always:

  1. Check if agency_workspace/ exists. If not, initialize it:

    • Create state.json with { "phase": "BRIEF", "owner": "agency-ceo", "project": "", "blocked_by": [] }
    • Create an empty inbox.jsonl
    • Create 01_brief.md from the template at agency-ceo/assets/proposal_template.md
  2. Greet the user, explain the current phase, and tell them what action is needed next.

  3. If 01_brief.md is populated and 00_client_intel.md does not exist, load agency-researcher skill and run the RESEARCH phase before anything else.

  4. If 00_client_intel.md exists with Status: COMPLETE, load agency-ceo skill and begin the PROPOSAL phase.

When not to use it

  • When the task is not related to orchestrating the Devio AI Development Agency
  • When managing state transitions outside of the defined phase structure
  • When the task does not involve routing work between agency personas

Limitations

  • The skill does not have a client-facing persona.
  • A phase cannot advance if any message for that phase has status 'OPEN'.
  • The agency is blocked and requires human input if a message has type 'ESCALATE'.

How it compares

This skill automates the management of an AI agency's workflow and communication protocols, unlike a manual process that would require direct oversight of each agent's actions and state.

Compared to similar skills

agency-coordinator side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
agency-coordinator (this skill)01moNo flagsAdvanced
archon98moReviewIntermediate
agent-orchestrator-task35moNo flagsAdvanced
compact45moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry