n8n-author

n8n-author is an agent for Claude Code from neurawork-git/n8n-autopilot. It costs 60 tokens per session (807 once invoked), scanned A, original, MIT.

A writing agent for n8n workflows stored as Decorator-TS files. n8n is a tool for connecting services and automating multi-step tasks.

In plain words
What is it for?
Use it to create or repair an n8n workflow from confirmed node contracts and project skills. It edits the workflow file only.
Why use it?
It keeps workflow authoring separate from validation, testing, and publishing, while requiring verified node settings so incorrect parameters are not silently ignored.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

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

Good fit Use it to create or repair an n8n workflow from confirmed node contracts and project skills. It edits the workflow file only.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/neurawork-git/n8n-autopilot/n8n-author
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/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 n8n-author

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/neurawork-git/n8n-autopilot/n8n-author"><img src="https://agentmods.dev/badge/agents/neurawork-git/n8n-autopilot/n8n-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 807 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.00060 $0.00807
Opus 5 $0.00030 $0.00404
Sonnet 5 $0.00012 $0.00161
Haiku 4.5 $0.00006 $0.00081

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

Security

Grade A, and why

n8n-author 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.

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.

agents/n8n-author.md · 49 lines

How it starts

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

n8n Author

Write, edit, or fix an n8n workflow as a Decorator-TS file. You ONLY touch the file — you never run validate, push, or test; the JS orchestrator owns those gates.

CLI rules (binding)

  • Your skills: are loaded into context — USE them, never guess. n8n-architect = authoring rules + Decorator-TS structure + common mistakes (your primary reference); n8n-code-javascript/n8n-code-python = Code-node syntax; n8n-orchestration-patterns/n8n-structured-extraction = pattern choices; data-tables = DataTable node shape; n8nac-reference = node/flag truth. Author FROM these, not from memory.

  • Use ONLY npx n8nac … via Bash (e.g. skills examples download, skills node-info to re-check a key). No REST API.

  • Never write n8n JSON by hand — Decorator-TS only.

  • Use ONLY the param names from the verified contracts you are given. If you need a key that is not in a contract, re-verify it with npx n8nac skills node-info <type> --json first — never guess. Wrong keys are silently ignored by n8n.

  • Your final text IS the structured result (filePath + written) — not prose.

Authoring rules (the n8n-architect skill owns the full set — loaded into your context via skills:)

  • File: <slug>.workflow.ts written inside the active sync folder given to you (not necessarily ./workflows). Use Write/Edit.
  • @workflow({ name, active: false, description }) on the class — description is required.
  • A stickyNote node documenting Purpose + Required Credentials. List any SCHEMA-MISSING nodes here.
  • Exactly one trigger. Webhook-triggered → include a respondToWebhook node (a webhook without a response hangs the caller).
  • @links() method wiring all connections. AI sub-nodes via .uses(), never .out().to().
  • Credentials inline as { id, name } objects — never env vars or bare strings.
  • Highest typeVersion per node (from the contract).
  • Native-first: prefer if / switch / filter / set over Code nodes for routing/mapping.
  • No continueOnFail / onError: "continue" without an explicit error branch.
  • mcpTrigger present → settings must include availableInMCP: true.
  • No two nodes sharing near-identical position (< ~80px on both axes).

Read the full file on GitHub · 49 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. 12d ago First seen · 49 lines · 60 tokens per session scan A fd38c373aeb8

Subscribe to this mod's changes

n8n-author is an agent published in the GitHub repository neurawork-git/n8n-autopilot (18 stars, last pushed 1mo ago), licensed MIT. It adds 60 tokens to every session and 807 once invoked, about $0.0003 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 agents, from other repositories

webapi-integration

Use this agent when the user needs to integrate Power Pages Web API for a specific Dataverse table into their frontend code. Trigger examples: "integrate web api for products table", "add api calls for orders", "connect my site to the blog posts table", "implement crud for categories", "set up web api client", "create…

microsoft/power-platform-skills · 182 tokens

call-tracer

Orchestrates parallel call tree tracing using subagents for each entry point category (Controllers, LiveViews, Workers, GenServers). Use proactively when debugging unexpected values, tracing request flow, or planning signature changes.

oliver-kriska/claude-elixir-phoenix · 46 tokens

otp-advisor

OTP patterns specialist - GenServer, Supervisor, Agent, Task, Registry, ETS. Use proactively when deciding if you need OTP abstractions or simpler solutions.

oliver-kriska/claude-elixir-phoenix · 35 tokens

do-setup-assistant

Autonomous Durable Objects project scaffolder. Analyzes user requirements and automatically sets up complete DO project with proper configuration, code, and tests.

secondsky/claude-skills · 35 tokens

upload-workflow-agent

This agent should be used when the user asks to "implement user uploads", "set up direct creator upload", "configure image uploads", "build upload form", "create upload endpoint", or needs complete frontend + backend upload workflow for Cloudflare Images.

secondsky/claude-skills · 55 tokens

ai-agent

AI feature implementation specialist. Handles STT, LLM, and AI service integration with context-aware patterns. Auto-discovers project conventions before implementing. Supports OpenAI, Anthropic, and other AI providers with streaming, error handling, and cost optimization.

wigtn/wigtn-plugins · 54 tokens