chain-llm-pattern

Installation
SKILL.md

Chain LLM Pattern for n8n

Multi-step LLM chains outperform single-shot prompts on any task that combines extraction + reasoning. This skill encodes the production pattern.

When to use a chain vs a single prompt

Single prompt works Chain is better
"Summarize this email" "Extract entities, then categorize by urgency, then decide routing"
"Translate this to English" "Detect language, translate, then extract structured fields"
"Is this spam? yes/no" "Score spam probability from email, phone, IP, content separately, then combine"

Rule of thumb: if the task has ≥2 distinct reasoning steps OR the final decision depends on intermediate structured data, use a chain.

The pattern (3-stage default)

Input → [Extract] → [Analyze/Classify] → [Score/Decide] → Output
Installs
7
GitHub Stars
31
First Seen
May 11, 2026
chain-llm-pattern — masteranime/n8n-claude-skills