stream-chain
하는 일
이 스킬은 여러 AI 단계를 연결해, 각 단계가 앞 단계의 출력을 바탕으로 하도록 합니다. 다단계 작업 흐름을 자동으로 실행하려는 사람을 위한 것입니다.
사용하는 경우
- ✓각 단계가 이전 단계에 의존하는 여러 단계의 작업이 필요할 때.
- ✓한 명령으로 준비된 분석 파이프라인을 실행하고 싶을 때.
- ✓일련의 AI 처리 단계를 거쳐 데이터를 변환해야 할 때.
스킬 링크
https://github.com/ruvnet/RuView/blob/main/.claude/skills/stream-chain/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“코드베이스 구조를 분석하고, 개선할 부분을 찾고, 실행 계획을 작성하는 과정을 하나의 체인으로 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
프롬프트 목록을 주면 스킬이 순서대로 실행합니다. 각 단계는 이전 단계의 전체 출력을 받으므로, 최종 결과는 전체 순서를 반영합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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:
- Custom Chains (
run): Execute custom prompt sequences with full control - 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
Options
| Option | Description | Default |
|---|---|---|
--verbose |
Show detailed execution information | false |
--timeout <seconds> |
Timeout per step | 30 |
--debug |
Enable debug mode with full logging | false |
How Context Flows
Each step receives the previous output as context:
Step 1: "Write a sorting function"
Output: [function implementation]
Step 2 receives:
"Previous step output:
[function implementation]
Next task: Add comprehensive tests"
Step 3 receives:
"Previous steps output:
[function + tests]
Next task: Optimize performance"
Examples
Basic Development Chain
claude-flow stream-chain run \
"Write a user authentication function" \
"Add input validation and error handling" \
"Create unit tests with edge cases"
Security Audit Workflow
claude-flow stream-chain run \
"Analyze authentication system for vulnerabilities" \
"Identify and categorize security issues by severity" \
"Propose fixes with implementation priority" \
"Generate security test cases" \
--timeout 45 \
--verbose
Code Refactoring Chain
claude-flow stream-chain run \
"Identify code smells in src/ directory" \
"Create refactoring plan with specific changes" \
"Apply refactoring to top 3 priority items" \
"Verify refactored code maintains behavior" \
--debug
Data Processing Pipeline
claude-flow stream-chain run \
"Extract data from API responses" \
"Transform data into normalized format" \
"Validate data against schema" \
"Generate data quality report"
Predefined Pipelines (pipeline)
Execute battle-tested workflows optimized for common development tasks.
Syntax
claude-flow stream-chain pipeline <type> [options]
Available Pipelines
1. Analysis Pipeline
Comprehensive codebase analysis and improvement identification.
claude-flow stream-chain pipeline analysis
Workflow Steps:
- Structure Analysis: Map directory structure and identify components
- Issue Detection: Find potential improvements and problems
- Recommendations: Generate actionable improvement report
Use Cases:
- New codebase onboarding
- Technical debt assessment
- Architecture review
- Code quality audits
2. Refactor Pipeline
Systematic code refactoring with prioritization.
claude-flow stream-chain pipeline refactor
Workflow Steps:
- Candidate Identification: Find code needing refactoring
- Prioritization: Create ranked refactoring plan
- Implementation: Provide refactored code for top priorities
Use Cases:
- Technical debt reduction
- Code quality improvement
- Legacy code modernization
- Design pattern implementation
3. Test Pipeline
Comprehensive test generation with coverage analysis.
claude-flow stream-chain pipeline test
Workflow Steps:
- Coverage Analysis: Identify areas lacking tests
- Test Design: Create test cases for critical functions
- Implementation: Generate unit tests with assertions
Use Cases:
- Increasing test coverage
- TDD workflow support
- Regression test creation
- Quality assurance
4. Optimize Pipeline
Performance optimizatio
자주 묻는 질문
단계는 몇 개가 필요한가요?
사용자 정의 체인은 프롬프트가 최소 두 개 필요합니다.
시간 제한을 설정할 수 있나요?
네. 단계마다 시간 제한 옵션이 있으며, 기본값은 30초입니다.
미리 만들어진 파이프라인이 있나요?
네. 분석 등 일반적인 작업을 위한 사전 정의 파이프라인이 포함되어 있습니다.
상세 정보
작성자의 원본 설명
Stream-JSON chaining for multi-agent pipelines, data transformation, and sequential workflows
repo: ruvnet/RuView
인기도
- GitHub 스타
- 102k
- 순위
- #840
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
AgentDB Advanced Features
102k여러 컴퓨터 간 데이터베이스 동기화, 벡터 검색과 메타데이터 필터 결합 같은 AgentDB 고급 기능을 에이전트에게 보여 줍니다.
AgentDB Learning Plugins
102k과거 경험을 바탕으로 개선되는 강화 학습 방법을 사용해, AgentDB용 학습 플러그인을 만들고 훈련하도록 에이전트를 돕습니다.
AgentDB Memory Patterns
102kAgentDB를 영구 메모리 저장소로 사용해, 세션이 끝나도 대화와 맥락을 기억하도록 에이전트를 돕습니다.
AgentDB Performance Optimization
102k압축, 빠른 검색 인덱스, 캐싱을 사용해 AgentDB 검색 속도를 높이고 메모리 사용을 줄이는 방법을 에이전트에게 보여 줍니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.