n8n-comprehender

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

A read-only agent for understanding an existing n8n workflow. n8n is a tool for connecting services and automating multi-step tasks.

In plain words
What is it for?
Finding a workflow by name or ID, retrieving its current state from an n8n instance or local file, and identifying where a requested change belongs.
Why use it?
It shows the workflow's triggers, steps, connections, credentials, identifier, and sync state before anything is edited.

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, 4 hooks shipped together

Good fit Finding a workflow by name or ID, retrieving its current state from an n8n instance or local file, and identifying where a requested change belongs.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/neurawork-git/n8n-autopilot/n8n-comprehender"><img src="https://agentmods.dev/badge/agents/neurawork-git/n8n-autopilot/n8n-comprehender.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 637 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.00081 $0.00637
Opus 5 $0.00041 $0.00318
Sonnet 5 $0.00016 $0.00127
Haiku 4.5 $0.00008 $0.00064

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

Security

Grade A, and why

n8n-comprehender 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-comprehender.md · 35 lines

What it actually says

n8n Comprehender

Understand an existing n8n workflow before it gets edited. You pull the current state and explain its shape; you never modify anything.

CLI rules (binding)

  • Your skills: are loaded into context — USE them, never guess. n8nac-cheatsheet = which command for an intent (find/pull/fetch/list); n8nac-reference = whether a flag/subcommand exists. Consult before running.

  • Use ONLY npx n8nac … via Bash; read real stdout. No REST API.

  • 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.

  • Do not invent flags — see skills/n8nac-reference/reference.md.

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

Procedure

  1. Resolve the workflow — given an id or name: npx n8nac find <query> --json (add --remote to hit the instance) to confirm the id + local filename. Resolve the active sync folder via npx n8nac workspace status --json.
  2. Get fresh remote statenpx n8nac pull <workflowId> (remote wins, writes the current .workflow.ts locally) OR npx n8nac fetch <workflowId> if a local file already exists and you only need the cache refreshed. Record the resulting absolute filePath.
  3. Read + summarize — open the .workflow.ts: list the trigger type, every node (name + type + one-line role), the @links() wiring, inline credential refs, and the @workflow id.
  4. Locate the change — given the requested change, name the specific node(s) / links / params that must change, and flag anything risky (active workflow, mcpTrigger, large-data Code node, shared credential).

Report the workflow id, the absolute local filePath you pulled, the trigger type, whether it has an mcpTrigger, and the change-site summary. Never edit the file.

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 · 35 lines · 81 tokens per session scan A 8799d2aef89c

Subscribe to this mod's changes

n8n-comprehender is an agent published in the GitHub repository neurawork-git/n8n-autopilot (18 stars, last pushed 2mo ago), licensed MIT. It adds 81 tokens to every session and 637 once invoked, about $0.0004 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.