Orchestrate

From hashgraph-online/awesome-codex-plugins · View interactive version

Orchestrate is an AI agent skill from the GitHub repository hashgraph-online/awesome-codex-plugins. Pipeline orchestration: dispatch the highest-priority ready tasks/work units to agents, manage capacity, and coordinate the Todo to Done flow. Invoked as /agiflow:orchestrate. Uses list_tasks, list_active_tasks_by_org, list_members, update_task, get_work_unit_progress.

How to use this skill

Skill file

Invoked as /agiflow:orchestrate. In hosts without slash-prompts, this skill is triggered by matching intent and drives AgiFlow via its MCP tools.

Usage:


Guardrails


AgiFlow Project Management Guidelines

Follow the shared AgiFlow project-management guidelines in CODE0 — agent assignment, the task status workflow and transitions, work-unit best practices, and the tags strategy apply to this workflow.


Steps

Track these steps as TODOs and complete them one by one.

1. Assess Current Pipeline State

  1. Use list_tasks to count tasks in each active status column:
  1. Report the pipeline state in a concise table:

```

Pipeline State:

┌──────────────┬───────┐

│ Status │ Count │

├──────────────┼───────┤

│ Todo │ N │

│ In Progress │ N │

│ Testing │ N │

│ Review │ N │

│ Blocked │ N │

└──────────────┴───────┘

```

2. Check Capacity

  1. Determine active task count: In Progress + Testing combined.
  2. Check capacity limit (default: 3 concurrent active tasks unless specified).
  3. If at or above capacity:

3. Prioritize the Todo Queue

  1. Use list_tasks with status: "Todo" to retrieve the ready queue.
  1. Review the top candidates:

4. Dispatch

  1. Pick the highest-priority eligible Todo task.
  2. Report the dispatch decision:

```

Dispatching: [SLUG] Task title (priority: high)

Reason: Highest priority task in Todo queue

```

  1. Instruct the agent to run the task:

5. Surface Blocked Tasks

  1. If there are any Blocked tasks, list them with their blockedReason from devInfo:

```

Blocked Tasks Requiring Human Attention:

```

  1. Suggest actions for each blocked task (e.g., resolve dependency, provide credentials, clarify spec).

Common Mistakes to Avoid

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.