Skip to content
Agentmart
Submit a tool

ralph-orchestrator

Orchestration patterns for loop: subagent spawning, parallel exploration, and task decomposition strategies

Skill by vcz-Gray

IndexedMIT★ 23
Write a review

Chalk Labs

Need help deploying ralph-orchestrator?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vcz-gray-ralph-orchestrator

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Orchestration patterns for loop: subagent spawning, parallel exploration, and task decomposition strategies

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ralph-orchestrator

What's inside

Skill name
ralph-orchestrator
Description
Orchestration patterns for loop: subagent spawning, parallel exploration, and task decomposition strategies
License
MIT
Instructions
251 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Loop Orchestrator — Multi-Agent Loop Patterns

You are an expert at designing optimal execution strategies for Loop tasks.
When asked to orchestrate a task, analyze its structure and recommend the best combination of sequential loops, parallel subagents, and phased execution.

## Core Concept

Not every task should run in a single linear loop. Complex tasks benefit from:

- **Parallel exploration** — spawn subagents to search/analyze independently, then merge results
- **Divide and conquer** — split work by service/directory/concern with isolated agents
- **Pipeline stages** — sequential phases where each feeds into the next
- **Hybrid patterns** — combine parallel research with sequential implementation

## When to Use Subagents

### Use Subagents (Parallel) When:

| Signal                      | Example                                                    |
| --------------------------- | ---------------------------------------------------------- |
| **Broad codebase search**   | "Find all API endpoints that lack auth checks"             |
| **Independent file groups** | Frontend components + backend routes + database migrations |
| **Multi-service changes**   | auth-service + api-gateway + frontend simultaneously       |
| **Audit/review tasks**      | Security audit + performance audit + accessibility audit   |
| **Pattern extraction**      | Scan 50+ files for inconsistent patterns                   |

### Do NOT Use Subagents When:

| Signal                      | Reason                                               |
| --------------------------- | ---------------------------------------------------- |
| **Sequential dependencies** | Step 2 needs Step 1's output                         |
| **Shared mutable state**    | Multiple agents editing the same file = conflicts    |
| **Small scope (< 5 files)** | Overhead outweighs benefit                           |
| **Context-heavy tasks**     | Agent needs deep understanding of full codebase flow |

## Orchestration Patterns

### Pattern 1: Parallel Explore → Sequential Implement

Best for: Large codebases where you need to understand before you change.

```
Phase 1 (Parallel Subagents):
├── Agent A: Scan src/frontend/** for pattern X → report-frontend.md
├── Agent B: Scan src/backend/** for pattern X → report-backend.md
└── Agent C: Scan src/shared/** for pattern X → report-shared.md

Phase 2 (Sequential Loop):
└── Loop: Read all reports → implement fixes in priority order
```

**Prompt pattern for Phase 1:**

```
## Subagent Tasks (run in parallel)
Use the Agent tool to spawn these subagents simultaneously:

1. Agent "frontend-scan": Search src/frontend/** for [pattern].
   Write findings to .loophaus/reports/frontend-scan.md
2. Agent "backend-scan": Search src/backend/** for [pattern].
   Write findings to .loophaus/reports/backend-scan.md
3. Agent "shared-scan": Search src/shared/** for [pattern].
   Write findings to .loophaus/reports/shared-scan.md

After ALL agents complete, merge reports into .loophaus/reports/merged.md
with a unified priority list.
```

### Pattern 2: Divide by Ownership

Best for: Multi-service changes where files don't overlap.

```
Phase 1 (Parallel Implementation):
├── Agent "fe-dev": Modify src/frontend/** only → commit per item
├── Agent "be-dev": Modify src/backend/** only → commit per item
└── Agent "auth-dev": Modify src/auth/** only → commit per item

Phase 2 (Integration Verification):
└── Loop: Run full test suite, fix any integration issues
```

**Prompt pattern:**

```
## Parallel Work Streams
Spawn these agents with strict file ownership:

1. Agent "fe-dev" (isolation: worktree):
   - ONLY touch files in src/frontend/**
   - Tasks: [frontend items]
   - Commit each fix individually

2. Agent "be-dev" (isolation: worktree):
   - ONLY touch files in src/backend/**
   - Tasks: [backend items]
   - Commit each fix individually

After all agents complete, merge their branches and run integration tests.
```

### Pattern 3: Fan-Out / Fan-In Research

Best for: Tasks that need comprehensive analysis before any action.

```
Fan-Out (Parallel):
├── Agent 1: Analyze problem from angle A → findings-a.md
├── Agent 2: Analyze problem from angle B → findings-b.md
└── Agent 3: Analyze problem from angle C → findings-c.md

Fan-In (Sequential):
└── Loop: Synthesize all findings → create action plan → implement
```

### Pattern 4: Pipeline with Checkpoints

Best for: Complex multi-stage transformations.

From vcz-Gray/loophaus, MIT.

Signals

Stars
23
Forks
3
Open issues
0
Last commit (this folder)
Mar 29, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from vcz-Gray

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ralph-orchestrator running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ralph-orchestrator?

CallGet help
Cite this page

ralph-orchestrator skill. Agent Mart. https://agentmart.dev/skills/vcz-gray-ralph-orchestrator (last updated 2026-10-24)