stream-chain

Chains sequential prompts so each step's output feeds the next in multi-agent workflows.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/dmuhoro/EasyTutor --skill stream-chain-dmuhoro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stream-chain
Source: https://github.com/dmuhoro/EasyTutor/tree/main/archive/.claude/skills/stream-chain
Command: npx skills add https://github.com/dmuhoro/EasyTutor --skill stream-chain-dmuhoro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Multi-step tasks like code analysis, refactoring, and test generation require each stage to build on the previous one's output, but manually copying results between prompts is slow and error-prone. This Skill automates sequential prompt chaining so context flows automatically through every step of a workflow. ## Core Features & Use Cases - Custom Chains: Run any sequence of prompts where each step receives the full output of the previous step as context, with configurable per-step timeouts and debug logging. - Predefined Pipelines: Execute built-in workflows for analysis, refactoring, testing, and optimization without writing your own prompt sequences. - Custom Pipeline Definitions: Declare reusable named pipelines in .claude-flow/config.json with their own prompt lists and timeouts. - Use Case: Run a security audit chain that scans for vulnerabilities, categorizes issues by severity, proposes prioritized fixes, and generates security test cases in one command. ## Quick Start Run a stream chain that analyzes the codebase structure, identifies improvement areas, and generates an action plan.

Frequently Asked Questions about stream-chain

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

FAQPage Schema
How do I chain multiple prompts together in claude-flow?

Use `claude-flow stream-chain run` followed by at least two quoted prompts. Each prompt becomes a step, and the output of every step is passed as context into the next step automatically.

What predefined pipelines are available in stream-chain?

Four built-in pipelines exist: analysis, refactor, test, and optimize. Run them with `claude-flow stream-chain pipeline <type>`, for example `claude-flow stream-chain pipeline analysis`.

How do I create a custom reusable pipeline?

Define it in `.claude-flow/config.json` under `streamChain.pipelines` with a name, description, array of prompts, and optional timeout. Then execute it by name with `claude-flow stream-chain pipeline <name>`.

Why does a stream-chain step time out?

Steps default to a 30-second timeout, which is too short for analysis or implementation tasks. Increase it with `--timeout`, using 45-60 seconds for analysis and 60-120 seconds for complex workflows.

How do I debug context not flowing between chain steps?

Run the chain with the `--debug` flag to enable full logging of each step's input and output. This reveals whether the previous step's output is being passed correctly into the next prompt.