n8n-builder

n8n-builder is a command for Claude Code from jeremylongshore/tons-of-skills-marketplace. It costs 13 tokens per session (3,060 once invoked), scanned A, original, MIT.

A command that generates complete n8n workflow files in JSON format. n8n is a workflow automation tool, and JSON is a structured text format that n8n can import.

In plain words
What is it for?
Use it to create n8n workflows such as email auto-responders using Gmail, OpenAI, and other connected services.
Why use it?
It removes the need to write the workflow file by hand. It helps represent connected steps, settings, triggers, and AI actions in an importable form.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the n8n-workflow-designer plugin — 1 command, 1 agent shipped together

Good fit Use it to create n8n workflows such as email auto-responders using Gmail, OpenAI, and other connected services.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jeremylongshore/tons-of-skills-marketplace/n8n-builder
About the project

Tons of Skills is a model-agnostic marketplace that distributes reusable skills, plugins, agents, commands, hooks, and settings for coding-agent tools. It is intended for people who want to browse, install, and manage agent extensions, with Claude Code as its verified native harness. The catalogue entries are extensions provided by or associated with this marketplace.

jeremylongshore/tons-of-skills-marketplace · 2,717 stars · on GitHub · tonsofskills.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace

Made for: Claude Code.

Or install n8n-workflow-designer, the plugin that ships this one along with the rest of its 1 command, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for n8n-builder

README.md
[![agentmods](https://agentmods.dev/badge/commands/jeremylongshore/tons-of-skills-marketplace/n8n-builder/github.svg)](https://agentmods.dev/commands/jeremylongshore/tons-of-skills-marketplace/n8n-builder)
Your own site
<a href="https://agentmods.dev/commands/jeremylongshore/tons-of-skills-marketplace/n8n-builder"><img src="https://agentmods.dev/badge/commands/jeremylongshore/tons-of-skills-marketplace/n8n-builder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for n8n-builder

Your own site · 80×15
<a href="https://agentmods.dev/commands/jeremylongshore/tons-of-skills-marketplace/n8n-builder"><img src="https://agentmods.dev/badge/commands/jeremylongshore/tons-of-skills-marketplace/n8n-builder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,060 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.03060
Opus 5 $0.00006 $0.01530
Sonnet 5 $0.00003 $0.00612
Haiku 4.5 $0.00001 $0.00306

Measured 9d ago against content hash 601ab179ab56, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

n8n-builder scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ai-agency/n8n-workflow-designer/commands/n8n-builder.md · 525 lines

How it starts

The opening of the file, as written. The whole thing — 525 lines — stays where its author put it; the contents beside it link to each section on GitHub.

n8n Workflow Builder

Generate production-ready n8n workflow JSON files.

Usage

When the user requests an n8n workflow, analyze their requirements and create a complete, importable workflow JSON file.

Workflow Templates

1. AI Email Responder

{
  "name": "AI Email Auto-Responder",
  "nodes": [
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "simple": true,
        "filters": {
          "labelIds": ["INBOX"]
        }
      },
      "id": "1",
      "name": "Gmail Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "typeVersion": 1,
      "position": [250, 300]
    },
    {
      "parameters": {
        "model": "gpt-4",
        "messages": {
          "values": [
            {
              "content": "=Draft a professional response to this email:\n\nFrom: {{ $json.from }}\nSubject: {{ $json.subject }}\nBody: {{ $json.body }}\n\nWrite a helpful, friendly response."
            }
          ]
        }
      },
      "id": "2",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1,
      "position": [450, 300],
      "credentials": {
        "openAiApi": {
          "id": "1",
          "name": "OpenAI API"
        }
      }
    },
    {
      "parameters": {
        "sendTo": "={{ $('Gmail Trigger').item.json.from }}",
        "subject": "=Re: {{ $('Gmail Trigger').item.json.subject }}",
        "message": "={{ $json.output }}",
        "options": {}
      },
      "id": "3",
      "name": "Gmail Send",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2,
      "position": [650, 300],
      "credentials": {
        "gmailOAuth2": {
          "id": "1",
          "name": "Gmail OAuth2"
        }
      }
    }
  ],
  "connections": {
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Gmail Send",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Read the full file on GitHub · 525 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 525 lines · 13 tokens per session scan A 601ab179ab56

Subscribe to this mod's changes

n8n-builder is a command published in the GitHub repository jeremylongshore/tons-of-skills-marketplace (2,717 stars, last pushed today), licensed MIT. It adds 13 tokens to every session and 3,060 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.