stream-chain

Chains sequential prompts so each step's output feeds the next workflow step.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/derbalimajd04-dot/al-wasat --skill stream-chain-derbalimajd04-dot
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stream-chain
Source: https://github.com/derbalimajd04-dot/al-wasat/tree/main/.agents/skills/stream-chain
Command: npx skills add https://github.com/derbalimajd04-dot/al-wasat --skill stream-chain-derbalimajd04-dot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Multi-step development tasks like analysis, refactoring, and testing require manually carrying context between prompts, which is error-prone and repetitive. This Skill automates sequential prompt chaining so each step's output flows directly into the next. ## Core Features & Use Cases - Custom Chains: Run any sequence of prompts where each step receives the previous step's full output as context. - Predefined Pipelines: Execute built-in workflows for analysis, refactoring, testing, and optimization with a single command. - Custom Pipeline Definitions: Define reusable named pipelines in a JSON config file with per-step 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 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 into a sequential workflow?▼

Use the run command with two or more prompts as arguments. Each prompt becomes a step, and the full output of each step is passed as context to the next step in the chain.

What predefined pipelines are available for code workflows?▼

Four built-in pipelines exist: analysis for codebase review, refactor for prioritized code improvements, test for coverage analysis and test generation, and optimize for performance profiling and optimization.

Can I define custom reusable pipelines?▼

Yes, define named pipelines in the streamChain section of the config JSON file with a prompts array and optional timeout. Then execute them by name using the pipeline command.

Why does a stream chain step time out?▼

Steps default to a 30-second timeout, which complex analysis or implementation tasks can exceed. Increase the per-step limit with the timeout option, using 45-90 seconds for heavier tasks.

How do I debug context not flowing between chain steps?▼

Run the chain with the debug flag to enable full logging of execution. This shows exactly what context each step receives from previous steps.