stream-chain

Chains sequential prompts into multi-step agent workflows with context flowing between steps.

1|Updated Jun 3, 2026
One-click install
npx skills add https://github.com/KentwareDemo/RuView --skill stream-chain-kentwaredemo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stream-chain
Source: https://github.com/KentwareDemo/RuView/tree/main/.claude/skills/stream-chain
Command: npx skills add https://github.com/KentwareDemo/RuView --skill stream-chain-kentwaredemo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Coordinating multi-step AI workflows manually requires copying outputs between prompts and losing context along the way. This Skill automates sequential prompt chaining so each step's output flows directly into the next, enabling structured multi-agent pipelines for analysis, refactoring, testing, and optimization. ## Core Features & Use Cases - Custom Chains: Run arbitrary prompt sequences with claude-flow stream-chain run, where each step receives the previous step's output as context. - Predefined Pipelines: Execute built-in workflows for analysis, refactor, test, and optimize tasks with a single command. - Custom Pipeline Definitions: Define reusable named pipelines in .claude-flow/config.json with configurable timeouts. - Use Case: Run a security audit chain that scans for vulnerabilities, categorizes issues by severity, proposes fixes, and generates security test cases in one command. ## Quick Start Ask the agent to 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 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 each step is passed as context to 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 followed by the pipeline name, such as claude-flow stream-chain pipeline analysis.

How do I create a custom reusable pipeline?

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

Why does my stream chain step time out?

Steps default to a 30-second timeout, which is too short for complex analysis or implementation tasks. Increase it with the --timeout flag, 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 execution and context passing. This shows exactly what output each step produced and what context the next step received.