Chain agents together in sequential or branching workflows with data passing
How this skill is triggered — by the user, by Claude, or both
Slash command
/oh-my-claudecode-2076:pipelineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The pipeline skill enables chaining multiple agents together in defined workflows where the output of one agent becomes the input to the next. This creates powerful agent pipelines similar to Unix pipes but designed for AI agent orchestration.
The pipeline skill enables chaining multiple agents together in defined workflows where the output of one agent becomes the input to the next. This creates powerful agent pipelines similar to Unix pipes but designed for AI agent orchestration.
The simplest form: Agent A's output flows to Agent B, which flows to Agent C.
explore -> architect -> executor
Flow:
Route to different agents based on output conditions.
explore -> {
if "complex refactoring" -> architect -> executor-high
if "simple change" -> executor-low
if "UI work" -> designer -> executor
}
Run multiple agents in parallel, merge their outputs.
parallel(explore, researcher) -> architect -> executor
Purpose: Comprehensive code review and implementation
/pipeline review <task>
Stages:
explore - Find relevant code and patternsarchitect - Analyze architecture and design implicationscritic - Review and critique the analysisexecutor - Implement with full contextUse for: Major features, refactorings, complex changes
Purpose: Planned implementation with testing
/pipeline implement <task>
Stages:
planner - Create detailed implementation planexecutor - Implement the plantdd-guide - Add/verify testsUse for: New features with clear requirements
Purpose: Systematic debugging workflow
/pipeline debug <issue>
Stages:
explore - Locate error locations and related codearchitect - Analyze root causebuild-fixer - Apply fixes and verifyUse for: Bugs, build errors, test failures
Purpose: External research + internal analysis
/pipeline research <topic>
Stages:
parallel(researcher, explore) - External docs + internal codearchitect - Synthesize findingswriter - Document recommendationsUse for: Technology decisions, API integrations
Purpose: Safe, verified refactoring
/pipeline refactor <target>
Stages:
explore - Find all usages and dependenciesarchitect-medium - Design refactoring strategyexecutor-high - Execute refactoringqa-tester - Verify no regressionsUse for: Architectural changes, API redesigns
Purpose: Security audit and fixes
/pipeline security <scope>
Stages:
explore - Find potential vulnerabilitiessecurity-reviewer - Audit and identify issuesexecutor - Implement fixessecurity-reviewer-low - Re-verifyUse for: Security reviews, vulnerability fixes
/pipeline agent1 -> agent2 -> agent3 "task description"
Example:
/pipeline explore -> architect -> executor "add authentication"
/pipeline explore:haiku -> architect:opus -> executor:sonnet "optimize performance"
/pipeline explore -> (
complexity:high -> architect:opus -> executor-high:opus
complexity:medium -> executor:sonnet
complexity:low -> executor-low:haiku
) "fix reported issues"
/pipeline [explore, researcher] -> architect -> executor "implement OAuth"
Each agent in the pipeline receives structured context from the previous stage:
{
"pipeline_context": {
"original_task": "user's original request",
"previous_stages": [
{
"agent": "explore",
"model": "haiku",
"findings": "...",
"files_identified": ["src/auth.ts", "src/user.ts"]
}
],
"current_stage": "architect",
"next_stage": "executor"
},
"task": "specific task for this agent"
}
When an agent fails, the pipeline can:
Configuration:
/pipeline explore -> architect -> executor --retry=3 --on-error=abort
Pattern 1: Fallback to Higher Tier
executor-low -> on-error -> executor:sonnet
Pattern 2: Consult Architect
executor -> on-error -> architect -> executor
Pattern 3: Human-in-the-Loop
any-stage -> on-error -> pause-for-user-input
Pipelines maintain state in .omc/pipeline-state.json:
{
"pipeline_id": "uuid",
"name": "review",
"active": true,
"current_stage": 2,
"stages": [
{
"name": "explore",
"agent": "explore",
"model": "haiku",
"status": "completed",
"output": "..."
},
{
"name": "architect",
"agent": "architect",
"model": "opus",
"status": "in_progress",
"started_at": "2026-01-23T10:30:00Z"
},
{
"name": "executor",
"agent": "executor",
"model": "sonnet",
"status": "pending"
}
],
"task": "original user task",
"created_at": "2026-01-23T10:25:00Z"
}
Before pipeline completion, verify:
Based on agent output, route to different paths:
explore -> {
if files_found > 5 -> architect:opus -> executor-high:opus
if files_found <= 5 -> executor:sonnet
}
Repeat stages until condition met:
repeat_until(tests_pass) {
executor -> qa-tester
}
When parallel agents complete:
/pipeline review "add rate limiting to API"
→ Triggers: explore → architect → critic → executor
/pipeline debug "login fails with OAuth"
→ Triggers: explore → architect → build-fixer
/pipeline explore:haiku -> architect:opus -> executor:sonnet -> tdd-guide:sonnet "refactor auth module"
/pipeline research "implement GraphQL subscriptions"
→ Triggers: parallel(researcher, explore) → architect → writer
Stop active pipeline:
/pipeline cancel
Or use the general cancel command which detects active pipeline.
Pipelines can be used within other skills:
Check: .omc/pipeline-state.json for current stage
Fix: Resume with /pipeline resume or cancel and restart
Check: Retry count and error messages Fix: Route to higher-tier agent or add architect consultation
Check: Data passing structure in agent prompts
Fix: Ensure each agent is prompted with pipeline_context
The pipeline orchestrator:
IMPORTANT: Delete state files on completion - do NOT just set active: false
When pipeline completes (all stages done or cancelled):
# Delete pipeline state file
rm -f .omc/state/pipeline-state.json
This ensures clean state for future sessions. Stale state files with active: false should not be left behind.
This skill activates when:
/pipeline commandExplicit invocation:
/oh-my-claudecode:pipeline review "task"
Auto-detection:
"First explore the codebase, then architect should analyze it, then executor implements"
→ Automatically creates pipeline: explore → architect → executor
npx claudepluginhub kyongsik-yoon/oh-my-claudecode-20767plugins reuse this skill
First indexed Jul 8, 2026
Showing the 6 earliest of 7 plugins
Creates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.