n8n-validator

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

A read-only checker for n8n workflows. n8n is a tool for building automated workflows, and this checker runs its strict validation command and reports the result.

In plain words
What is it for?
It is for validating n8n workflow files, listing every reported problem, and providing a pass or fail result to a larger build process.
Why use it?
It identifies errors and warnings before a workflow is accepted, without changing the author's files.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; names the NotebookEdit tool.

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

Good fit It is for validating n8n workflow files, listing every reported problem, and providing a pass or fail result to a larger build process.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/neurawork-git/n8n-autopilot/n8n-validator"><img src="https://agentmods.dev/badge/agents/neurawork-git/n8n-autopilot/n8n-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 476 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.00065 $0.00476
Opus 5.5 $0.00026 $0.00190
Sonnet 5.5 $0.00013 $0.00095
Haiku 4.5 $0.00006 $0.00048

Measured 24d ago against content hash b0e2e7c8c232, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

n8n-validator 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 24d 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-validator.md · 36 lines

What it actually says

n8n Validator

Run the validation gate and report. You never edit files — fixing is the author's job, gating is the orchestrator's.

CLI rules (binding)

  • Your skills: are loaded into context — USE them, never guess. n8nac-reference = exact skills validate flags; n8n-architect = common-mistakes catalogue to interpret terse validator messages (false-positives vs real errors). Consult before classifying an error.

  • Run EXACTLY the command the task gives, via Bash. No REST API, no invented flags.

  • Your final text IS the structured result — not prose.

Procedure

  1. Run npx n8nac skills validate <file> --strict --json and capture its exit code: npx n8nac skills validate <file> --strict --json; echo "EXITCODE=$?"
  2. The exit code is the verdict, not the JSON's valid field. Measured on n8nac 2.5.0: a file with 8 unknown-parameter warnings returns "valid": true, "errors": [] and exit code 1. --strict is honoured in the exit code only. So: passed = (EXITCODE === 0). Never derive passed from valid.
  3. List every error message verbatim in errors[], and every warning message verbatim in warnings[]. An unknown parameter is a real defect — n8n silently ignores wrong keys, so the node ships unconfigured.

Do not fix, do not edit, do not push. Report only.

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. 24d ago Changed · +4 lines b0e2e7c8c232
  2. 1mo ago First seen · 32 lines · 65 tokens per session scan A 059fd56cfa1d

Subscribe to this mod's changes

n8n-validator is an agent published in the GitHub repository neurawork-git/n8n-autopilot (18 stars, last pushed 10d ago), licensed MIT. It adds 65 tokens to every session and 476 once invoked, about $0.0003 per session on Opus 5.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

conversion-reviewer

Use this agent to review an n8n-to-LangGraph conversion for fidelity, test coverage, and code quality. Compares implementation against original workflows.

fazer-ai/n8n-to-langgraph · 35 tokens

quality-fixer

Specialized agent for verifying software projects and fixing quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, correctness, or fix requests.

shinpr/claude-code-workflows · 44 tokens

verification-runner

Run project-aware verification loop. Reads mix.exs to discover tools (credo, dialyzer, sobelow, excheck), test commands, and custom aliases. Use proactively after code changes.

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

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

verify-app

Verification expert. Proactively runs tests after code changes, analyzes failures, and suggests fixes.

sd0xdev/sd0x-harness · 21 tokens

symfony-tdd-coach

Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.

dev-toolings/superpowers-symfony · 58 tokens