stream-chain

Stream outputs between sequential steps in multi-agent workflows.

6|3|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/pacphi/ampel --skill stream-chain-pacphi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stream-chain
Source: https://github.com/pacphi/ampel/tree/main/.claude/skills/stream-chain
Command: npx skills add https://github.com/pacphi/ampel --skill stream-chain-pacphi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Stream-Chain enables the construction of streaming, multi-agent workflows where each agent's output becomes the input for the next step. It supports data transformations and sequential processing, reducing manual handoffs and enabling scalable, reproducible pipelines.

Core Features & Use Cases

  • Custom Chains: Define deterministic prompt sequences with full control over the flow of data between steps.
  • Predefined Pipelines: Use battle-tested workflows for common tasks to accelerate development.
  • Each step receives the complete output from the previous step, enabling rich, streaming data coordination across agents.

Use Case Example: Build a pipeline that analyzes a codebase, extracts insights, and then generates an actionable improvement plan, with each stage feeding the next.

Quick Start

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

claude-flow stream-chain pipeline analysis

Frequently Asked Questions about stream-chain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I orchestrate multi-agent workflows with streaming data between steps?

Stream-chain orchestrates multi-agent workflows by streaming each agent's output as input to the next step. Define custom chains with sequential prompts or use predefined pipelines for software development tasks like analysis, refactoring, and testing, with cross-step context propagation and per-step streaming data flow.

Can I build custom prompt sequences with streaming output between agents?

Yes. Stream-chain's run mode lets you define deterministic prompt sequences with full control over data flow between steps. Each step receives complete output from the previous step, enabling rich streaming coordination across agents without manual handoffs.

What predefined pipelines does stream-chain provide for software development?

Stream-chain includes battle-tested predefined workflows accessed via the pipeline mode for common software development tasks: codebase analysis, improvement identification, refactoring, testing, and optimization. Each pipeline stages multi-agent processing with automatic data propagation.

How does stream-chain reduce manual handoffs in multi-step workflows?

Stream-chain eliminates manual data transfer by automatically streaming output from each agent directly to the next step. Sequential processing with complete context propagation across steps enables scalable, reproducible pipelines without intermediate manual intervention.

What options are available for monitoring and debugging streaming workflows?

Stream-chain supports verbose and debug modes for monitoring, plus timeout configuration to control step execution duration. These options provide visibility into streaming data flow and help diagnose issues in multi-agent pipeline execution.

Can I use stream-chain to analyze code and generate improvement recommendations?

Yes. Stream-chain is designed for this pattern: analyze codebase structure in the first step, extract insights in the second, and generate actionable improvement plans in the third. Each stage feeds the complete output to the next, creating coherent multi-agent analysis.