Skills for Real Engineers. Straight from my .agents directory.
n8n-subworkflows
Agent skill fromczlonkowski/n8n-skills
Build reusable, composable n8n sub-workflows. Use when extracting shared logic, building anything multi-step or reused across workflows, or any workflow over ~10 nodes — and whenever the user mentions sub-workflows, Execute Workflow, reuse, shared/common logic, modular workflows, "Define Below" inputs, waitForSubWorkflow, mode each vs all, or exposing a workflow as an agent tool. Covers typed sub-workflow inputs, all-vs-each execution, verb-first naming for discovery, stateless vs stateful design, and splitting by input shape.
How to install n8n-subworkflows
npx skills add czlonkowski/n8n-skills# or add only this skill to Claude Code: copy the folder
skills/n8n-subworkflows/
# into
~/.claude/skills/n8n-subworkflows/ (all projects)
.claude/skills/n8n-subworkflows/ (one project)
1# n8n Sub-workflows23A sub-workflow is a reusable function. An **Execute Workflow Trigger** declares typed inputs, the body does the work, and the last node returns the output. A caller invokes it through an **Execute Workflow** node like any other step.45That framing buys you the things functions buy you everywhere: encapsulation, reuse, testability, replaceability. It's the primary reuse mechanism in n8n, and it's badly underused. Without it, the same logic gets copy-pasted across workflows — then a bug gets fixed in two places, the third copy gets missed, and your "identical" copies quietly drift apart.67This skill is about when to reach for a sub-workflow, how to define its input/output contract so callers (and agents) can actually use it, how to call it correctly (`all` vs `each`, blocking vs fire-and-forget), and how to name it so it gets found instead of rebuilt.89---1011## The two non-negotiables1213Everything else is judgement. These two are not.1415### 1. Search before you build1617Before you write logic for a generic problem, check whether a sub-workflow already does it. The community MCP can't filter workflows by tag, so the **name is the discovery surface**:1819```20n8n_list_workflows() # scan the library21n8n_get_workflow({ id: "<candidate>" }) # read its inputs/outputs + body22```23…
Excerpt shown under the repository's MIT license.
More skills in n8n-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
