orchestrate

orchestrate is a command for coding agents from JSK9999/ai-nexus. It costs 0 tokens per session (787 once invoked), scanned A, a copy of orchestrate, Apache-2.0.

A command that passes a complex coding task through a sequence of specialized review and implementation steps. Each step gives the next one a handoff containing its findings, decisions, changed files, and open questions.

In plain words
What is it for?
Use it for feature work, bug fixes, refactoring, or security-focused tasks through predefined sequences of agents.
Why use it?
Complex work often needs planning, implementation, testing, code review, and security review in a sensible order. This organizes those steps and carries context between them.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/jsk9999/ai-nexus/orchestrate
Clone the repo
git clone --depth 1 https://github.com/JSK9999/ai-nexus

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for orchestrate

README.md
[![agentmods](https://agentmods.dev/badge/commands/jsk9999/ai-nexus/orchestrate.svg)](https://agentmods.dev/commands/jsk9999/ai-nexus/orchestrate)
Your own site
<a href="https://agentmods.dev/commands/jsk9999/ai-nexus/orchestrate"><img src="https://agentmods.dev/badge/commands/jsk9999/ai-nexus/orchestrate.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 787 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00787
Opus 5 $0.00000 $0.00394
Sonnet 5 $0.00000 $0.00157
Haiku 4.5 $0.00000 $0.00079

Measured 5d ago against content hash a9d8de11e90a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

orchestrate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to orchestrate — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

config/commands/orchestrate.md · 173 lines

How it starts

The opening of the file, as written. The whole thing — 173 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Orchestrate Command

Sequential agent workflow for complex tasks.

Usage

/orchestrate [workflow-type] [task-description]

Workflow Types

feature

Full feature implementation workflow:

planner -> tdd-guide -> code-reviewer -> security-reviewer

bugfix

Bug investigation and fix workflow:

explorer -> tdd-guide -> code-reviewer

refactor

Safe refactoring workflow:

architect -> code-reviewer -> tdd-guide

security

Security-focused review:

security-reviewer -> code-reviewer -> architect

Execution Pattern

For each agent in the workflow:

  1. Invoke agent with context from previous agent
  2. Collect output as structured handoff document
  3. Pass to next agent in chain
  4. Aggregate results into final report

Handoff Document Format

Between agents, create handoff document:

## HANDOFF: [previous-agent] -> [next-agent]

### Context
[Summary of what was done]

### Findings
[Key discoveries or decisions]

### Files Modified
[List of files touched]

### Open Questions
[Unresolved items for next agent]

### Recommendations
[Suggested next steps]

Example: Feature Workflow

/orchestrate feature "Add user authentication"

Executes:

  1. Planner Agent

    • Analyzes requirements
    • Creates implementation plan
    • Identifies dependencies
    • Output: HANDOFF: planner -> tdd-guide
  2. TDD Guide Agent

    • Reads planner handoff
    • Writes tests first
    • Implements to pass tests
    • Output: HANDOFF: tdd-guide -> code-reviewer
  3. Code Reviewer Agent

    • Reviews implementation
    • Checks for issues
    • Suggests improvements
    • Output: HANDOFF: code-reviewer -> security-reviewer
  4. Security Reviewer Agent

    • Security audit
    • Vulnerability check
    • Final approval
    • Output: Final Report

Final Report Format

ORCHESTRATION REPORT
====================
Workflow: feature
Task: Add user authentication
Agents: planner -> tdd-guide -> code-reviewer -> security-reviewer

SUMMARY
-------
[One paragraph summary]

AGENT OUTPUTS
-------------
Planner: [summary]
TDD Guide: [summary]
Code Reviewer: [summary]
Security Reviewer: [summary]

FILES CHANGED
-------------
[List all files modified]

TEST RESULTS
------------
[Test pass/fail summary]

SECURITY STATUS
---------------
[Security findings]

RECOMMENDATION
--------------
[SHIP / NEEDS WORK / BLOCKED]

Read the full file on GitHub · 173 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 173 lines · 0 tokens per session scan A a9d8de11e90a

Subscribe to this mod's changes

orchestrate is a command published in the GitHub repository JSK9999/ai-nexus (19 stars, last pushed 5mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 787 tokens. A static security scan graded it A with 0 findings. It is 100% identical to orchestrate, differing in 0 lines, and is treated as a copy.