pipeline-design
Interactive LLM inference pipeline design — elicits requirements, recommends pattern, scaffolds production-ready artifacts
Best use case
pipeline-design is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
It is a strong fit for teams already working in Codex.
Interactive LLM inference pipeline design — elicits requirements, recommends pattern, scaffolds production-ready artifacts
Teams using pipeline-design should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/pipeline-design/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pipeline-design Compares
| Feature / Agent | pipeline-design | Standard Approach |
|---|---|---|
| Platform Support | Codex | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Interactive LLM inference pipeline design — elicits requirements, recommends pattern, scaffolds production-ready artifacts
Which AI agents support this skill?
This skill is designed for Codex.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
SKILL.md Source
# Pipeline Design **You are the Pipeline Design Orchestrator** — eliciting requirements, selecting the right pattern, and scaffolding production-ready LLM inference pipeline artifacts. ## Natural Language Triggers - "design a pipeline for..." - "I need a pipeline that..." - "build me a pipeline to..." - "scaffold a pipeline for..." - "create an LLM pipeline for..." ## Parameters ### Use case description (positional, required) What the pipeline does. One sentence. ### --pattern (optional) Override pattern selection: `simple-chain`, `embedded-agent`, `state-machine`, `rag-pipeline`, `eval-loop`, `dynamic-prompt` ### --language (optional, default: python) Target language: `python` or `typescript` ### --volume N (optional) Expected monthly call volume for cost estimation. ### --interactive (optional) Pause and ask questions before scaffolding. ## Execution ### Step 1: Elicit Requirements If `--interactive`, ask: 1. What does this pipeline do? (one sentence) 2. What is the input? (document, user query, structured data?) 3. What is the expected output? (text, JSON, decision?) 4. What are the quality requirements? (acceptable error rate?) 5. What is the expected monthly volume? 6. Are there latency requirements? 7. Target language: Python or TypeScript? If not interactive, extract what you can from the description. ### Step 2: Select Pattern Apply the Pattern Architect's decision tree: 1. Tool use + dynamic branching → Embedded Agent 2. Explicit states + error recovery + auditability → State Machine 3. External retrieval required → RAG Pipeline 4. Runtime prompt assembly → Dynamic Prompt 5. Quality gate on output → Eval Loop 6. Everything else → **Simple Chain** (default) State the recommendation and the reasoning. If `--interactive`, confirm before proceeding. ### Step 3: Scaffold Artifacts Delegate to the Pipeline Architect agent to generate all artifacts: ``` Pipeline: pipelines/<name>/ ├── prompts/ │ ├── <step>.prompt.md # One per step │ └── evaluator.prompt.md # Always separate ├── pipeline.config.yaml # Validated against schema ├── src/ │ └── pipeline.py # or pipeline.ts ├── eval/ │ ├── cases.jsonl # 5+ test cases │ └── eval.py # or eval.ts └── cost-estimate.md ``` ### Step 4: Present Summary After scaffolding, print: ``` Pipeline: <name> Pattern: <pattern> Steps: <step-names> Language: <language> Eval: yes (evaluator model: haiku) Cost @ <volume>/mo: ~$<N> Files created in: pipelines/<name>/ ``` ## Pattern Template Reference | Pattern | Prompt files | Config | Code stub | Eval | |---------|-------------|--------|-----------|------| | simple-chain | 1+ generator + evaluator | pipeline.config.yaml | pipeline.py/.ts | yes | | embedded-agent | system + evaluator | pipeline.config.yaml | agent.py/.ts | yes | | state-machine | one per state + evaluator | pipeline.config.yaml + fsm.config.yaml | pipeline.py/.ts | yes | | rag-pipeline | rag.prompt + evaluator | pipeline.config.yaml | retrieval.py + pipeline.py | yes | | eval-loop | generator + evaluator | pipeline.config.yaml | eval/loop.py/.ts | inherent | | dynamic-prompt | template.prompt.md.j2 + evaluator | pipeline.config.yaml + builder.config.yaml | prompt_builder.py/.ts | yes | ## References - @$AIWG_ROOT/agentic/code/addons/nlp-prod/README.md — nlp-prod addon overview - @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/native-ux-tools.md — Interactive questioning pattern for --interactive mode - @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/subagent-scoping.md — Delegation to Pipeline Architect agent for artifact scaffolding - @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/research-before-decision.md — Elicit requirements before selecting and scaffolding a pattern - @$AIWG_ROOT/docs/cli-reference.md — CLI reference for aiwg nlp commands
Related Skills
pipeline-status
Show status overview of all LLM inference pipelines in the current project
data-pipeline
Orchestrate marketing data collection, transformation, aggregation, and reporting workflows across platforms
aiwg-orchestrate
Route structured artifact work to AIWG workflows via MCP with zero parent context cost
venv-manager
Create, manage, and validate Python virtual environments. Use for project isolation and dependency management.
pytest-runner
Execute Python tests with pytest, supporting fixtures, markers, coverage, and parallel execution. Use for Python test automation.
vitest-runner
Execute JavaScript/TypeScript tests with Vitest, supporting coverage, watch mode, and parallel execution. Use for JS/TS test automation.
eslint-checker
Run ESLint for JavaScript/TypeScript code quality and style enforcement. Use for static analysis and auto-fixing.
repo-analyzer
Analyze GitHub repositories for structure, documentation, dependencies, and contribution patterns. Use for codebase understanding and health assessment.
pr-reviewer
Review GitHub pull requests for code quality, security, and best practices. Use for automated PR feedback and approval workflows.
YouTube Acquisition
yt-dlp patterns for acquiring content from YouTube and video platforms
Quality Filtering
Accept/reject logic and quality scoring heuristics for media content
Provenance Tracking
W3C PROV-O patterns for tracking media derivation chains and production history