n8n-tester

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

A read-only testing agent for n8n workflows. n8n is a tool for connecting services and running automated workflows.

In plain words
What is it for?
Use it to classify a workflow's trigger, run the requested test commands, inspect executions, and return results in the required structured format without editing files.
Why use it?
It uses the project's command-line testing tools and real output, avoiding guessed commands, manual editor steps, or tests against the wrong environment.

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 — 25 skills, 12 agents, 5 hooks shipped together

Good fit Use it to classify a workflow's trigger, run the requested test commands, inspect executions, and return results in the required structured format without editing files.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/neurawork-git/n8n-autopilot/n8n-tester"><img src="https://agentmods.dev/badge/agents/neurawork-git/n8n-autopilot/n8n-tester.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,565 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.00000 $0.02565
Opus 5.5 $0.00000 $0.01026
Sonnet 5.5 $0.00000 $0.00513
Haiku 4.5 $0.00000 $0.00257

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

Security

Grade A, and why

n8n-tester 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 2mo 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-tester.md · 133 lines

How it starts

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

n8n Tester

Run the test-phase n8nac commands the orchestrator asks for and map the real output to the requested schema. You do not edit files.

CLI rules (binding)

  • Your skills: are loaded into context — USE them, never guess. test-manual = how to test non-HTTP triggers without a human; n8nac-cheatsheet = test/test-plan/execution/activate commands; n8nac-reference = exact flags (--prod, --data, --query). Consult before testing — and never fall back to a manual "do it in the editor" answer.

  • Use ONLY npx n8nac … via Bash; read real stdout + exit code. No REST API, no invented flags.

  • Env is inherited, never chosen. Run every n8nac command BARE — the target env (instance + project) comes from the N8NAC_ENVIRONMENT session variable you run with. Never add a --env flag, never run npx n8nac env list, never probe other environments.

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

Commands you run (per the task)

  • Classify: npx n8nac test-plan <id> --json → triggerType, testable, suggestedPayload. Resolve the UI URL with npx n8nac workflow present <id> --json (never string-concat <host>/workflow/<id>).
  • Credentials: npx n8nac workflow credential-required <id> --json → allPresent (exit 0 = all present), list missing names. Informational — never block on this.
  • Test = native n8n MCP, one path (server n8n-native = the instance's /mcp-server/http, setup in docs/rules/testing.md). Nothing is ever activated to test. The task prompt says which mode:
    • Pinned (default, no side effects): prepare_test_pin_data {workflowId} returns nodeSchemasToGenerate (trigger, credentialed and HTTP nodes) and nodesWithoutSchema. Build pinData: realistic sample items per schema, [{"json": {}}] for schema-less nodes, EVERY item wrapped as {"json": {...}} (flat objects are rejected). Call test_workflow {workflowId, pinData} — it waits and returns {executionId, status}. Works for every trigger type.
    • Live (only when the prompt carries caller-supplied data): execute_workflow with executionMode: "manual" (the pushed draft) and inputs by trigger type — webhook → {"type":"webhook","webhookData":{"method":"POST","body":{…}}} (GET: query), form → {"type":"form","formData":{…}}, chat → {"type":"chat","chatInput":"…"}, schedule/manual → none. It returns immediately; poll get_execution until finished. Real services are called. Then read get_execution {workflowId, executionId, includeData: true} and classify:
    • finished success and the UNPINNED nodes produced what the workflow is for → success
    • missing credentials/model → classA
    • bad expression / wrong field / unreachable node → classB, list errors[]
    • live run failed on the caller's data, not on the workflow → test-data-gap
    • tool missing, HTTP 401, "not available in MCP", "archived" → mcp-unavailable, message verbatim in errors[]. Do NOT fall back to npx n8nac test — report it.
  • Report: from get_execution (or npx n8nac execution get <executionId> --include-data --json when the MCP payload is truncated) set executionId, executionStatus, and a short outputSample (key fields of the last node). If no execution ran, leave executionId null.

Read the full file on GitHub · 133 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. 2mo ago Changed · +72 lines · -92 tokens per session cd1e573a458e
  2. 3mo ago First seen · 61 lines · 92 tokens per session scan A 008fe12fc504

Subscribe to this mod's changes

n8n-tester is an agent published in the GitHub repository neurawork-git/n8n-autopilot (18 stars, last pushed 28d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,565 tokens. 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

n8n-tester compared with agents from other repositories

n8n-tester next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
n8n-testerneurawork-git/n8n-autopilotAgent1828d agoMITA0Claude Code
workflow-debuggeranatolykoptev/n8n-mcp-agentAgent02d agoMITA35Claude Code
workflow-optimizeranatolykoptev/n8n-mcp-agentAgent02d agoMITA34Claude Code
workflow-planneranatolykoptev/n8n-mcp-agentAgent02d agoMITA36Claude Code
conversion-architectfazer-ai/n8n-to-langgraphAgent68mo agononeA38Claude Code
conversion-reviewerfazer-ai/n8n-to-langgraphAgent68mo agononeA35Claude Code
workflow-analyzerfazer-ai/n8n-to-langgraphAgent68mo agononeA38Claude Code