Skip to content
Back to skills

Orchestrator

ASecurity

(Industry standard: Routing Agent / Orchestrator Pattern) Analyzes incoming triggers to select loop patterns and manage shared session closure.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 2, 2026
ai-agentspythonrustbashgitsecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill orchestrator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orchestrator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orchestrator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-orchestrator-agent-plugins-skills/badge)](https://www.skillsdirectory.com/skills/richfrem-orchestrator-agent-plugins-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orchestrator
plugin: agent-orchestration
description: "(Industry standard: Routing Agent / Orchestrator Pattern) Analyzes incoming triggers to select loop patterns and manage shared session closure."
allowed-tools: Bash, Read, Write
---

## Dependencies

Requires Python 3.8+ (standard library only).

---

# Orchestrator (`orchestrator`)

Assesses incoming tasks, routes to specialized execution patterns, and enforces verification and closure.

## Contents

- [Dependencies](#dependencies)
- [Constraints](#constraints)
- [Quick start](#quick-start)
- [Routing Decision Table](#routing-decision-table)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Constraints

- **Trust but verify**: Never blindly trust sub-agent outputs; mechanically run automated tests.
- **Inner loop isolation**: Inner Loop agents are strictly forbidden from running `git` commands.
- **Background execution**: Always redirect stdin (`< /dev/null`) when spawning sub-agents.
- **Mandatory closure**: Full closure sequence (Verification -> Retro -> Merge) is required.

## Quick start

```bash
# Generate strategy packet for delegation
python ./scripts/agent_orchestrator.py packet --wp 001 --spec-dir handoffs
```

## Routing Decision Table

| Signal | Pattern | Delegated Skill |
|---|---|---|
| Exploratory research, single-context task | Solo Loop | `learning-loop` |
| Security review, architecture decision, high risk | Adversarial Critique | `red-team-review` |
| Bounded code implementation, bug fix | Supervisor / Worker | `dual-loop` |
| Bulk migration, 10+ independent partitioned jobs | Parallel Swarm | `agent-swarm` |
| Unguided friction evaluation, autonomous evals | Meta-Learning | `triple-loop-learning` |
| Formal DAG transitions, receipts, rollbacks | State Machine | `graph-execution` |
| Ambiguous routing, topology comparison | Decision Tree | `select-loop-strategy` |

## Workflow

1. **Assess & Route**: Match incoming signal against the Routing Decision Table.
2. **Package**: Author Task Packet via `agent_orchestrator.py packet`.
3. **Dispatch**: Dispatch inner worker into isolated worktree with stdin redirection (`< /dev/null`).
4. **Supervised Verify**: Audit diff and run tests via `agent_orchestrator.py verify`.
5. **Close & Retro**: Run `agent_orchestrator.py retro` and merge verified worktree.

## Verification

```bash
# Verify worker execution results
python ./scripts/agent_orchestrator.py verify --packet handoffs/task_packet_001.md --worktree .
# Ensure tests pass
pytest
```

## References

- [cli-agent-executor.md](references/cli-agent-executor.md) — Specialized CLI personas.
- [acceptance-criteria.md](references/acceptance-criteria.md) — Phase gates and exit criteria.
- [fallback-tree.md](references/fallback-tree.md) — Recovery protocols for loop stalls.

Files in this skill

  • SKILL.md13.5 KB
  • acceptance-criteria.md649 B
  • evals/evals.json798 B
  • evals/results.tsv301 B
  • fallback-tree.md1.5 KB
  • references/acceptance-criteria.md42 B
  • references/agent_orchestrator.py41 B
  • references/cli-agent-executor.md41 B
  • references/fallback-tree.md36 B
  • requirements.txt22 B
  • scripts/agent_orchestrator.py38 B
  • scripts/swarm_run.py29 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.