N8n Subworkflows skill for Claude

Build reusable, composable n8n sub-workflows.

When Claude uses it

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.

N8n Subworkflows SKILL.md

A preview of the skill file from WilkoMarketing/antigravity-n8n-skills.

n8n Sub-workflows

A 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.

That 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.

This 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.


The two non-negotiables

Everything else is judgement. These two are not.

1. Search before you build

Before 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:

n8n_list_workflows()                          # scan the library
n8n_get_workflow({ id: "<candidate>" })       # read its inputs/outputs + body

If something fits, use it and tell the user ("I found Subworkflow: Parse RFC2822 date — using that"). If nothing fits, build it with a discoverable name so the next search finds it. The discovery convention (verb-first prefixes) lives in NAMING_AND_DISCOVERY.md.

Read the full SKILL.md on GitHub →

How to install N8n Subworkflows

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit WilkoMarketing/antigravity-n8n-skills/n8n-subworkflows#main ~/.claude/skills/n8n-subworkflows

Codex

npx degit WilkoMarketing/antigravity-n8n-skills/n8n-subworkflows#main ~/.codex/skills/n8n-subworkflows

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the N8n Subworkflows skill do?

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 do I install N8n Subworkflows in Claude Code?

Copy the skill folder into ~/.claude/skills/n8n-subworkflows, for example with "npx degit WilkoMarketing/antigravity-n8n-skills/n8n-subworkflows#main ~/.claude/skills/n8n-subworkflows". Claude Code loads it automatically and uses it when a task matches.

+Does N8n Subworkflows work with ChatGPT or Codex?

Yes. N8n Subworkflows uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/n8n-subworkflows. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is N8n Subworkflows free?

N8n Subworkflows is published on GitHub by WilkoMarketing. The repository does not declare a license, so check with the author before reusing it.

Related design & frontend skills

  1. Design

    Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, MuAPI, or UberLLM…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  2. Frontend Design

    Official

    Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one.

    anthropics/skills★ 197k
  3. Ui Ux Pro Max

    UI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing…

    nextlevelbuilder/ui-ux-pro-max-skill★ 151k
  4. Brandkit

    Premium brand-kit image generation skill for creating high-end brand-guidelines boards, logo systems, identity decks, and visual-world…

    Leonxlnx/imagegen-skills★ 86
  5. Imagegen Frontend Mobile

    Elite mobile app image-generation skill for creating premium, app-native screen concepts and flows.

    Leonxlnx/imagegen-skills★ 86
  6. Imagegen Frontend Web

    Elite frontend image-direction skill for generating premium, conversion-aware website design references.

    Leonxlnx/imagegen-skills★ 86
  7. J Cover

    Designs J-Media magazine covers via 20% outpainting, auto-sampling outfit palettes, and adding bilingual typography with barcodes and…

    ShinChven/nano-banana-skills★ 72
  8. Impeccable

    Use to design, redesign, critique, audit, polish or animate a frontend: websites, landing pages, dashboards, app UI, components, native…

    pbakaus/impeccable★ 112k
  9. Figma

    Official

    Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into…

    openai/skills★ 29k

See all design & frontend skills →

More skills from WilkoMarketing

  1. N8n Validation Expert

    Interpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator…

    WilkoMarketing/antigravity-n8n-skills★ 108
  2. N8n Workflow Patterns

    Proven workflow architectural patterns from real n8n workflows.

    WilkoMarketing/antigravity-n8n-skills★ 108
  3. Using N8n Mcp Skills

    Use when building, editing, validating, testing, or debugging an n8n workflow through the n8n-mcp MCP server — designing a flow,…

    WilkoMarketing/antigravity-n8n-skills★ 108

All skills by WilkoMarketing →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.