inventory

inventory is a skill for Claude Code from neurawork-git/n8n-autopilot. It costs 55 tokens per session (635 once invoked), scanned A, original, MIT.

A read-only report generator for n8n workflows, showing which nodes, AI models, credentials, and triggers a project uses.

In plain words
What is it for?
Use it when planning new workflows, checking consistency across an n8n instance, or helping someone understand an existing project.
Why use it?
It gives developers an overview of an existing n8n project without manually inspecting every workflow.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

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

Good fit Use it when planning new workflows, checking consistency across an n8n instance, or helping someone understand an existing project.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add neurawork-git/n8n-autopilot
Claude Code
/plugin install 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 inventory

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/neurawork-git/n8n-autopilot/inventory"><img src="https://agentmods.dev/badge/skills/neurawork-git/n8n-autopilot/inventory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 635 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.00055 $0.00635
Opus 5 $0.00028 $0.00318
Sonnet 5 $0.00011 $0.00127
Haiku 4.5 $0.00006 $0.00064

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

Security

Grade A, and why

inventory 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 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/aggregate.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/inventory/SKILL.md · 55 lines

What it actually says

n8n Workflow Inventory

All work happens in scripts/aggregate.js (colocated). The skill body is short on purpose — read the script's --help for the full flag reference.

How to invoke

Always call the bundled script. Do not improvise grep/awk pipelines.

node "$CLAUDE_PLUGIN_ROOT/skills/inventory/scripts/aggregate.js" [flags]
Flag Meaning
(none) Aggregate everything in workflows/**/*.workflow.ts, write docs/INVENTORY.md
--json <path> Also write a machine-readable JSON twin (e.g. --json docs/inventory.json)
--dry-run Print the markdown report to stdout, do not write files
--markdown <path> Override the markdown output path (default docs/INVENTORY.md)
--workspace <dir> Workspace root (default: current directory)

The script walks workflows/**/*.workflow.ts, extracts:

  • Node types (core n8n-nodes-base.*, community @scope/n8n-nodes-*, plain n8n-nodes-*)
  • Triggers (anything matching *Trigger, webhook, schedule, chatTrigger, formTrigger, mcpTrigger, manualTrigger, errorTrigger)
  • LLM models (literal value: 'gpt-…' / 'claude-…' / 'llama…' / 'gemini…' / 'mistral…' / 'o1…')
  • Credentials (credentials: { <type>: …)
  • Workflow names (from @workflow({ name: '…' }))

It best-effort calls npx n8nac list --json --include-archived to enrich the Summary header with remote counts; skips that section silently if n8nac is unbound or offline.

Output structure

# n8n Workflow Inventory

## Summary             — local file count + remote total/active/archived
## Trigger Distribution
## Node Usage — Core   — top 30 by count
## Node Usage — Community
## LLM Models          — provider + model + count
## Credentials         — type + count + 3 example workflow names

Companion scripts

  • scripts/aggregate.js — the only one. Self-contained Node script, no --strict --json deps, runs anywhere Node ≥ 18 does.
Files

What ships with it

1 file 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. 10d ago First seen · 55 lines · 55 tokens per session scan A 2146e12c6660

Subscribe to this mod's changes

inventory is a skill published in the GitHub repository neurawork-git/n8n-autopilot (18 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 635 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 skills, from other repositories

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-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-error-handling

Wire n8n error handling so failures are loud, structured, and recoverable. Use when building any webhook/API workflow, a scheduled or unattended workflow, or any path where a silent failure would drop user-visible work — and whenever the user mentions error handling, onError, continueErrorOutput, error…

czlonkowski/n8n-skills · 128 tokens

n8n-expression-syntax

Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables, troubleshooting expression errors, mapping data between nodes, or referencing webhook data in workflows. Use this skill whenever configuring node fields that reference data from…

czlonkowski/n8n-skills · 104 tokens

n8n-node-configuration

Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields, choosing between getnode detail levels, or learning common configuration patterns by node type. Always use this skill when setting up node parameters — it explains which fields are…

czlonkowski/n8n-skills · 84 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