pipeline
Chain agents together in sequential or branching workflows with data passing
от MeroZemory★ 30 звёзд на GitHub
Установить pipeline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Pipeline Skill
Overview
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.
Core Concepts
1. Sequential Pipelines
The simplest form: Agent A's output flows to Agent B, which flows to Agent C.
explore -> architect -> executor
Flow:
- Explore agent searches codebase and produces findings
- Architect receives findings and produces analysis/recommendations
- Executor receives recommendations and implements changes
2. Branching Pipelines
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
}
3. Parallel-Then-Merge Pipelines
Run multiple agents in parallel, merge their outputs.
parallel(explore, researcher) -> architect -> executor
Built-in Pipeline Presets
Review Pipeline
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 context
Use for: Major features, refactorings, complex changes
Implement Pipeline
Purpose: Planned implementation with testing
/pipeline implement <task>
Stages:
planner- Create detailed implementation planexecutor- Implement the plantdd-guide- Add/verify tests
Use for: New features with clear requirements
Debug Pipeline
Purpose: Systematic debugging workflow
/pipeline debug <issue>
Stages:
explore- Locate error locations and related codearchitect- Analyze root causebuild-fixer- Apply fixes and verify
Use for: Bugs, build errors, test failures
Research Pipeline
Purpose: External research + internal analysis
/pipeline research <topic>
Stages:
parallel(researcher, explore)- External docs + internal codearchitect- Synthesize findingswriter- Document recommendations
Use for: Technology decisions, API integrations
Refactor Pipeline
Purpose: Safe, verified refactoring
/pipeline refactor <target>
Stages:
explore- Find all usages and dependenciesarchitect-medium- Design refactoring strategyexecutor-high- Execute refactoringqa-tester- Verify no regressions
Use for: Architectural changes, API redesigns
Security Pipeline
Purpose: Security audit and fixes
/pipeline security <scope>
Stages:
explore- Find potential vulnerabilitiessecurity-reviewer- Audit and identify issuesexecutor- Implement fixessecurity-reviewer-low- Re-verify
Use for: Security reviews, vulnerability fixes
Custom Pipeline Syntax
Basic Sequential
/pipeline agent1 -> agent2 -> agent3 "task description"
Example:
/pipeline explore -> architect -> executor "add authentication"
With Model Specification
/pipeline explore:haiku -> architect:opus -> executor:sonnet "optimize performance"
With Branching
/pipeline explore -> (
complexity:high -> architect:opus -> executor-high:opus
complexity:medium -> executor:sonnet
complexity:low -> executor-low:haiku
) "fix reported issues"
With Parallel Stages
/pipeline [explore, researcher] -> architect -> executor "implement OAuth"
Data Passing Protocol
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"
}
Error Handling
Retry Logic
When an agent fails, the pipeline can:
- Retry - Re-run the same agent (up to 3 times)
- Skip - Continue to next stage with partial output
- Abort - Stop entire pipeline
- Fallback - Route to alternative agent
Configuration:
/pipeline explore -> architect -> executor --retry=3 --on-error=abort
Error Recovery Patterns
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
Pipeline State Management
Pipelines maintain state in .omd/pipeline-state.json:
{
"pipeline_id": "uuid",
"name": "review
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл pipeline?
Chain agents together in sequential or branching workflows with data passing
Как установить скилл pipeline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pipeline запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…