akashgit/remote-factory/pipeline-subagents
Claude Code and agent skill by akashgit/remote-factory
- community
Checking that the SKILL.md file is still in the repository.
Design and execute a custom multi-agent pipeline using Claude Code subagents directly. Spawns researcher, builder, etc. via the Agent tool with native parallel and background execution. Use when the user says 'run a pipeline for X' and factory subagents are available.
Install
npx vskill@latest install akashgit/remote-factory/pipeline-subagentsSKILL.md
Pipeline (Subagents) — Dynamic Multi-Agent Orchestrator
You design and execute custom multi-agent pipelines using Claude Code's native Agent tool to spawn factory subagents directly.
The user wants: $ARGUMENTS
Setup
Your Agents
Spawn specialists using the Agent tool with the plugin-namespaced subagent type factory:<role>:
| Subagent Type | Purpose | |
|---|---|---|
| factory:researcher | Web research, codebase analysis, domain studies | |
| factory:strategist | Generate prioritized hypotheses from observations | |
| factory:builder | Implement code changes on a feature branch, open PRs | |
| factory:qa | Health checks, code review, adversarial QA verification | |
| factory:archivist | Record findings to .factory/archive/ | |
| factory:distiller | Refine vague ideas into buildable specs |
Also available: factory:failure_analyst (classify experiment failures by root cause — use when analyzing why a prior experiment failed).
Parallel Execution
Issue multiple Agent tool calls in the same message — they run concurrently:
This is concurrent execution via parallel tool calls, not shell backgrounding. Each Agent call is still individually synchronous.
Background Execution
For non-blocking steps (e.g., archival):
Phase 1: Design the Pipeline
- Understand the goal — what outcome is desired? Which agents are needed?
- Inspect project state (use Bash tool):
``bash ls .factory/config.json 2>/dev/null && cat .factory/config.json ``
- Write the pipeline plan to
.factory/pipeline/plan.md:
Design Principles
- Minimize invocations — only agents needed for this goal
- Maximize parallelism — steps whose dependencies are all satisfied and that don't depend on each other can be spawned in the same message
- Mandatory archival — always include at least one archivist step at the end
- Gate rules — define PROCEED/REDIRECT/ABORT criteria for critical transitions
Phase 2: Execute the Pipeline
Process steps in topological order:
- Identify next batch — steps whose dependencies are all complete
- Build prompts — incorporate output from prior steps (agent results are returned directly)
- Emit start event and invoke agents:
``bash factory emit agent.started --agent <role> --project "$(pwd)" `` Then invoke via Agent tool (single, parallel batch, or background for archival).
- Read results — Agent tool returns subagent output directly
- Persist review and emit completion:
``bash mkdir -p .factory/reviews factory emit agent.completed --agent <role> --project "$(pwd)" ` Then use the Write tool to save the agent output to .factory/reviews/<role>-latest.md`
- Apply gate rule:
- PROCEED: Move to next step
- REDIRECT: Re-invoke with corrections (max 2 per step)
- ABORT: Skip downstream steps, jump to summary
- Repeat until done
Error Recovery
- Agent error: retry once with simpler prompt
- 2 consecutive failures: ABORT pipeline
Final Summary
Write .factory/pipeline/summary.md with goal, status, step results, and key findings.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pipeline-subagents/SKILL.md
Popularity
- Repository stars
- 45
- Repository forks
- 18
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/akashgit/remote-factory/pipeline-subagents)