Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

n8n-subworkflows

Skill by sickn33

Builds reusable n8n sub-workflows with typed inputs, all-vs-each execution, discoverable naming and agent-tool exposure. Aimed at people who maintain shared logic across n8n workflows.

  • Score 91
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install n8n-subworkflows

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/n8n-subworkflows ~/.claude/skills/n8n-subworkflows

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install n8n-subworkflows in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through turning shared or multi-step n8n logic into a sub-workflow. It explains when to extract logic and how to define an Execute Workflow Trigger with typed Define Below inputs, so callers and agents can fill them. It also covers stateless and stateful sub-workflows and how to return consistent output shapes.

It describes calling sub-workflows with mode set to all or each, and with waitForSubWorkflow set to true or false. It asks the user before running or activating a sub-workflow that sends, writes, deletes or calls a billable service. It also recommends searching existing workflows by name before building new ones. The source is written for n8n users and developers.

Written from the project's SKILL.md and checked against it.

What it can do

  • Sub-workflow extraction guidanceHelps decide when logic should move into a reusable sub-workflow.
  • Typed inputsDefines inputs with Define Below using string, number, boolean, array or object types.
  • Input and output contractsDocuments fields in the workflow description and returns natural output shapes.
  • All vs each executionExplains how the mode setting runs a sub-workflow once or once per item.
  • Fire-and-forget dispatchCovers calling a sub-workflow with waitForSubWorkflow set to false.
  • Discoverable namingRecommends verb-first names so existing sub-workflows can be found by search.
  • n8n_list_workflowsScans the workflow library before building new logic.
  • n8n_get_workflowReads a candidate workflow's inputs, outputs and body.
  • n8n_test_workflowRuns a sub-workflow alone with pinned input for testing.
  • validate_workflowChecks workflows after contract changes.

What you need

  • An n8n instance
  • An n8n MCP server for listing, reading and testing workflows

Try asking

  • Extract this repeated date parsing logic into a reusable n8n sub-workflow
  • Check my n8n library for an existing sub-workflow that formats invoices
  • Make this n8n sub-workflow callable as an AI agent tool with typed inputs

Good to know

  • The community MCP cannot filter workflows by tag, so names are the discovery surface.
  • Tool names describe the upstream integration and are not a guaranteed installed schema.
  • Typed inputs are JSON only, so binary input requires passthrough mode.
  • Define Below requires at least one field.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/n8n-subworkflows/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md20 KB
  • references/NAMING_AND_DISCOVERY.md6 KB
  • references/SUBWORKFLOW_PATTERNS.md9 KB

Alternatives to n8n-subworkflows

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

n8n-subworkflows: common questions

When should I turn n8n logic into a sub-workflow?

The source recommends extracting generic concerns such as auth, retry, parsing and formatting, and logic longer than five nodes. It advises against extracting a single HTTP call with no logic around it.

What is the difference between mode all and each?

With all, the sub-workflow runs once with all items. With each, it runs once per item, which suits bodies that expect exactly one item.

Why avoid passthrough input mode?

Passthrough has no schema, so agents and structured callers have nothing to bind to. The source allows it only for binary input or workflows with zero inputs.

How do I install n8n-subworkflows?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is n8n-subworkflows free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is n8n-subworkflows safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to n8n-subworkflows?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

n8n-subworkflows Install

Add to stack

Loading.