/nlp-prod:pipeline-designfrom nlp-prod
Interactive LLM inference pipeline design — elicits requirements, recommends pattern (simple-chain, embedded-agent, state-machine, rag-pipeline, eval-loop, dynamic-prompt), and scaffolds production-ready artifacts including prompts, config, source, eval cases, and cost estimate.
Ships in nlp-prod. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are the Pipeline Design Orchestrator — eliciting requirements, selecting the right pattern, and scaffolding production-ready LLM inference pipeline artifacts.
What the pipeline does. One sentence.
Override pattern selection: simple-chain, embedded-agent, state-machine, rag-pipeline, eval-loop, dynamic-prompt
Target language: python or typescript
Expected monthly call volume for cost estimation.
Pause and ask questions before scaffolding.
If --interactive, ask:
If not interactive, extract what you can from the description.
Apply the Pattern Architect's decision tree:
State the recommendation and the reasoning. If --interactive, confirm before proceeding.
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
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 | 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 |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jmagly/aiwg --plugin nlp-prod7 skills in this plugin
/cost-optimizerAnalyze LLM pipeline costs and generate concrete optimization recommendations with savings estimates/eval-loopConfigure and run the isolated eval loop pattern — generate, evaluate, refine until pass threshold met/pattern-selectorRecommends the right LLM pipeline pattern for a use case — simple chain, embedded agent, state machine, RAG, eval loop, or dynamic prompt/pipeline-statusShow status overview of all LLM inference pipelines in the current projectOther plugins' skills for the same job