ruvnet avatar

Stream Chain

Chains multiple Claude prompts together so each step's output feeds into the next one. You can run custom sequences or use predefined pipelines for common tasks like codebase analysis, refactoring, test generation, and performance optimization. Think of it as a conveyor belt for multi-step workflows where you need structured transformation rather than a single prompt. The pipeline mode gives you ready-made chains (analysis, refactor, test, optimize) while the run mode lets you define your own sequences. Most useful when you have a clear multi-stage process and want each agent to build on what came before, like going from vulnerability scan to categorization to fixes to tests.

skills.sh installs
1.2K
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill stream-chain --agent claude-code

Installs into .claude/skills of the current project.

Files

Stream-Chain Skill

Execute sophisticated multi-step workflows where each agent's output flows into the next, enabling complex data transformations and sequential processing pipelines.

Overview

Stream-Chain provides two powerful modes for orchestrating multi-agent workflows:

  1. Custom Chains (run): Execute custom prompt sequences with full control
  2. Predefined Pipelines (pipeline): Use battle-tested workflows for common tasks

Each step in a chain receives the complete output from the previous step, enabling sophisticated multi-agent coordination through streaming data flow.


Quick Start

Run a Custom Chain

claude-flow stream-chain run \
  "Analyze codebase structure" \
  "Identify improvement areas" \
  "Generate action plan"

Execute a Pipeline

claude-flow stream-chain pipeline analysis

Custom Chains (run)

Execute custom stream chains with your own prompts for maximum flexibility.

Syntax

claude-flow stream-chain run <prompt1> <prompt2> [...] [options]

Requirements:

  • Minimum 2 prompts required
  • Each prompt becomes a step in the chain
  • Output flows sequentially through all steps

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Category
AI & Agent Building
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1ruvnet avatarhive-mind-advancedruvnet/rufloAdvanced Hive Mind collective intelligence system for queen-led multi-agent coordination with consensus mechanisms and persistent memory1.1Kskills.sh installs
2customware-ai avatartrades-buildercustomware-ai/skillsTrades Operations vertical skill for the Customware SPA. Defines the section layout, config schema, and mapping rules for transforming a DOMAIN.md into a trades1.1Kskills.sh installs
3ruvnet avatarhive-mindruvnet/rufloByzantine fault-tolerant consensus and distributed coordination. Queen-led hierarchical swarm management with multiple consensus strategies. Use when: distribut1.1Kskills.sh installs
4ruvnet avatarclaimsruvnet/rufloClaims-based authorization for agents and operations. Grant, revoke, and verify permissions for secure multi-agent coordination. Use when: permission management1.1Kskills.sh installs
5microsoft avatarmarkdown-token-optimizermicrosoft/github-copilot-for-azureAnalyzes markdown files for token efficiency. TRIGGERS: optimize markdown, reduce tokens, token count, token bloat, too many tokens, make concise, shrink file, 1.1Kskills.sh installs
6modelcontextprotocol avatarmigrate-oai-appmodelcontextprotocol/ext-appsThis skill should be used when the user asks to "migrate from OpenAI Apps SDK", "convert OpenAI App to MCP", "port from window.openai", "migrate from skybridge"1.1Kskills.sh installs