pipeline_orchestrator
Skill5 starsChanged 13 days agoMITView on GitHub
Configurable pipeline orchestrator for sequencing RALPLAN -> team-exec -> ralph
In this repository119 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accessibilitySkill
- frontend-designSkill
- python-background-jobsSkill
- python-executorSkill
- python-testing-patternsSkill
- seoSkill
- ai-slop-cleanerSkill
- analyzeSkill
- api-and-interface-designSkill
- ask-claudeSkill
- ask-geminiSkill
- autopilotSkill
- browser-testing-with-devtoolsSkill
- build-fixSkill
- cancelSkill
- ci-cd-and-automationSkill
- clawd-change-workflowSkill
- code-review-and-qualitySkill
- code-reviewSkill
- code-simplificationSkill
- configure-notificationsSkill
- context-engineeringSkill
- debugging-and-error-recoverySkill
- deep-interviewSkill
- deepsearchSkill
- deprecation-and-migrationSkill
- doctorSkill
- documentation-and-adrsSkill
- ecomodeSkill
- frontend-ui-engineeringSkill
- frontend-ui-uxSkill
- git-masterSkill
- git-workflow-and-versioningSkill
- helpSkill
- hudSkill
- idea-refineSkill
- incremental-implementationSkill
- intent_routerSkill
- keyword_registrySkill
- mode_stateSkill
- noteSkill
- omx-setupSkill
- performance-optimizationSkill
- pipelineSkill
- planning-and-task-breakdownSkill
- planSkill
- ralph-initSkill
- ralph_loopSkill
- ralphSkill
- ralplanSkill
- android-reverse-engineeringSkill
- api-securitySkill
- apk-reverseSkill
- attack-chainSkill
- binary-diffSkill
- browser-automationSkill
- browser-extension-reverseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Every stage implements the PipelineStage interface:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pipeline Orchestrator Skill
$pipeline_orchestrator provides configurable pipeline orchestration for Clawd Code.
It sequences stages through a uniform PipelineStage interface, with state persistence and resume support.
Default Pipeline
The canonical pipeline sequences:
RALPLAN (consensus planning) -> team-exec (agent swarm) -> ralph (verification)Configuration
Pipeline parameters are configurable per run:
| Parameter | Default | Description |
max_ralph_iterations | 10 | Ralph verification iteration ceiling |
worker_count | 2 | Number of agent workers |
agent_type | executor | Agent type for workers |
Stage Interface
Every stage implements the PipelineStage interface:
class PipelineStage(Protocol):
name: str
async def run(ctx: StageContext) -> StageResult: ...
def can_skip(ctx: StageContext) -> bool: ...Stages receive a StageContext with accumulated artifacts from prior stages and return a StageResult with status, artifacts, and duration.
Built-in Stages
- ralplan: Consensus planning phase. Generates structured task breakdown, dependencies, and risks using the planner agent. Skips only when both
prd-*.mdandtest-spec-*.mdplanning artifacts already exist. - team-exec: Parallel agent swarm execution using team mode. Always the execution backend for Clawd Code.
- ralph-verify: Iterative verification loop using the ralph agent with configurable iteration count.
State Management
Pipeline state persists in .claude/workflow/pipeline_state.json (compatible with GoalX durable surfaces).
- On start:
state_write({mode: "pipeline", active: True, current_phase: "stage:ralplan"}) - On stage transitions:
state_write({mode: "pipeline", current_phase: "stage:<name>"}) - On completion:
state_write({mode: "pipeline", active: False, current_phase: "complete"})
The HUD dashboard renders pipeline phase automatically. Resume is supported from the last incomplete stage.
API
from src.workflow.pipeline_orchestrator import (
run_pipeline,
create_autopilot_pipeline_config,
create_ralplan_stage,
create_team_exec_stage,
create_ralph_verify_stage,
)
config = create_autopilot_pipeline_config(
task="Build feature X",
stages=[
create_ralplan_stage(),
create_team_exec_stage(worker_count=3, agent_type="executor"),
create_ralph_verify_stage(max_iterations=15),
]
)
result = await run_pipeline(config)Relationship to Other Modes
- team: Pipeline delegates execution to team mode (agent swarm)
- ralph: Pipeline delegates verification to ralph mode (configurable iterations)
- ralplan: Pipeline's first stage runs RALPLAN consensus planning
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

