build-workflow-v2

build-workflow-v2 is a skill for Claude Code from neurawork-git/n8n-autopilot. It costs 116 tokens per session (1,846 once invoked), scanned A, original, MIT.

A scripted n8n workflow-building and deployment process with two modes: GREENFIELD for a new workflow and EDIT for changing an existing one. n8n is a tool for creating automated workflows.

In plain words
What is it for?
It is for building or editing n8n workflows, validating them, making bounded correction attempts, pushing verified changes, and inspecting an execution before reporting success.
Why use it?
It makes required checks and step order enforceable, including validation before pushing, limited fix cycles, and testing after a verified push.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code.

Part of the n8n-autopilot plugin — 24 skills, 12 agents, 4 hooks shipped together

Good fit It is for building or editing n8n workflows, validating them, making bounded correction attempts, pushing verified changes, and inspecting an execution before reporting success.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neurawork-git/n8n-autopilot/build-workflow-v2
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.

Any agent
npx skills add neurawork-git/n8n-autopilot --skill build-workflow-v2
Clone the repo
git clone --depth 1 https://github.com/neurawork-git/n8n-autopilot

Made for: Claude Code.

Or install n8n-autopilot, the plugin that ships this one along with the rest of its 24 skills, 12 agents, 4 hooks.

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 build-workflow-v2

README.md
[![agentmods](https://agentmods.dev/badge/skills/neurawork-git/n8n-autopilot/build-workflow-v2/github.svg)](https://agentmods.dev/skills/neurawork-git/n8n-autopilot/build-workflow-v2)
Your own site
<a href="https://agentmods.dev/skills/neurawork-git/n8n-autopilot/build-workflow-v2"><img src="https://agentmods.dev/badge/skills/neurawork-git/n8n-autopilot/build-workflow-v2/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 build-workflow-v2

Your own site · 80×15
<a href="https://agentmods.dev/skills/neurawork-git/n8n-autopilot/build-workflow-v2"><img src="https://agentmods.dev/badge/skills/neurawork-git/n8n-autopilot/build-workflow-v2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,846 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.00116 $0.01846
Opus 5 $0.00058 $0.00923
Sonnet 5 $0.00023 $0.00369
Haiku 4.5 $0.00012 $0.00185

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

Security

Grade A, and why

build-workflow-v2 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (build.workflow.js, edit.workflow.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/build-workflow-v2/SKILL.md · 103 lines

How it starts

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

Build Workflow v2 — JS-Orchestrated (deterministic gates)

Same outcome as build-workflow + deploy: ship a verified live execution on n8n. Difference: the pipeline is a Claude Code Workflow JS script, not prose. The script body is the control flow; each step is a small typed subagent (agents/n8n-*.md) that runs the real npx n8nac … command and returns structured output.

Why v2

Prose pipelines are soft — the model is told to validate before push, told "max 3 cycles", told never claim a fix before inspecting the execution. v2 makes those structural:

Soft (prose v1) Hard (v2 JS)
"validate, then push" if (!validate.passed) { fix-loop } — push unreachable until passed
"max 3 fix cycles" while (cycle <= 3) — a real counter
"ALWAYS test after push" Test phase only reachable after push.verified === true
"Push ≠ Fix" status:'success' only returned after the execution is inspected — no other path emits it

Boundary: the script enforces that gates run in order and loops are bounded — not that the authored TS is correct. The n8n-node-verifier fan-out guards correctness (kills the #1 runtime killer: a guessed param key n8n silently ignores).

Architecture — roles are extracted, not inline

The orchestrator scripts hold only control flow + schemas + one-line tasks. Every subagent's role, CLI rules, tools, and model live in a reusable agent definition:

agentType Role Tools
n8n-researcher plan: sync folder, template lookup, node discovery, trigger, test data read + Bash
n8n-node-verifier adversarial param contract for one node type read + Bash
n8n-comprehender pull/read existing workflow, summarize shape + change site (EDIT) read + Bash
n8n-author write / edit / fix the .workflow.ts read/write + Bash
n8n-validator validate --strict --json gate read + Bash
workflow-reviewer design-quality gate (HTTP-in-Code, masked errors, AI sub-node miswiring) the validator can't catch read + Bash
n8n-deployer drift-aware push --verify gate read + Bash
n8n-tester test-plan classify, credential check, live test, execution inspect read + Bash

Read the full file on GitHub · 103 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 103 lines · 116 tokens per session scan A 7c1b1ccf7186

Subscribe to this mod's changes

build-workflow-v2 is a skill published in the GitHub repository neurawork-git/n8n-autopilot (18 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 1,846 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

n8n-agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain. AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output…

czlonkowski/n8n-skills · 156 tokens

n8n-mcp-tools-expert

Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates, managing workflows, organizing workflows into folders, managing credentials, auditing instance security, or using any n8n-mcp tool. Provides tool selection guidance, parameter formats…

czlonkowski/n8n-skills · 135 tokens

n8n-subworkflows

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…

czlonkowski/n8n-skills · 121 tokens

n8n-validation-expert

Interpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator structure issues, or need help understanding validation results. Also use when asking about validation profiles, error types, the validation loop process, or auto-fix capabilities.…

czlonkowski/n8n-skills · 91 tokens

n8n-workflow-patterns

Proven workflow architectural patterns from real n8n workflows. Use when building new workflows, designing workflow structure, choosing workflow patterns, planning workflow architecture, or asking about webhook processing, HTTP API integration, database operations, AI agent workflows, batch processing, or scheduled…

czlonkowski/n8n-skills · 144 tokens

n8n-binary-and-data

Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send…

czlonkowski/n8n-skills · 135 tokens