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.
npx agentmods add instructions/lidless-labs/n8nctrl/agents-mdgit clone --depth 1 https://github.com/lidless-labs/n8nctrlWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01159 | $0.01159 |
| Opus 5 | $0.00580 | $0.00580 |
| Sonnet 5 | $0.00232 | $0.00232 |
| Haiku 4.5 | $0.00116 | $0.00116 |
Grade A, and why
n8nctrl AGENTS.md 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guidance
Definition of Done
./scripts/verify
Runs npm test, npm run typecheck, and npm run build in order.
A change is done only when all three pass, re-verified after your last edit:
npm testnpm run typechecknpm run build
Report the actual results you observed. If anything fails, report the failure verbatim and do not claim success. Never describe a change as complete with a failing or unrun check.
Project Shape
- TypeScript package exposing ops-focused n8n tools (workflow + execution lifecycle, tags, credentials metadata, security audit, composed scanners) two ways: a stdio MCP server and an OpenClaw plugin.
mcp-server.tsis the MCP entry point (config fromN8N_BASE_URL,N8N_API_KEY,N8N_ENABLE_EDIT, etc.).index.tsis the OpenClaw plugin entry point (config viaresolveConfig()insrc/config.ts).- Tools live one per file under
src/tools/ascreate<Name>Tool(getClient)factories. There is no central tool index. - HTTP access goes through
N8nClientinsrc/client.ts. ESM, Node >= 20, builds with tsup todist/.
Hard Prohibitions
- The live n8n instance runs real automations. Never run write tools against it during development or review unless the user explicitly asks in this session. That includes
scripts/smoke.ts,npm run dev, and ad hoc tool calls. Tests use mocked fetch helpers and need no instance. - Never weaken the
enableEditgate, theenableCredentialsWritegate, or the runtimeconfirm: truerequirement. If a gate blocks the task, report the blocker to the user; do not route around it. - Never weaken or remove the pre-write backups or the
backupDirpath confinement (details below). - Never weaken, skip, or delete a failing test to make a run green. Fix the code or report the failure.
- Never push with
--no-verify.hooks/pre-pushruns content-guard for a reason; fix the flagged content instead. - Hit any other blocker (missing creds, ambiguous spec, broken tooling): stop and report it exactly. Do not invent a workaround that bypasses a safety rule.
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.
- 2d ago First seen · 63 lines · 1,159 tokens per session scan A 3a78727d60be
n8nctrl AGENTS.md is an instructions file published in the GitHub repository lidless-labs/n8nctrl (1 stars, last pushed 24d ago), licensed MIT. It adds 1,159 tokens to every session, about $0.0058 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-31.
Other instructions, from other repositories
mcp-server-excel coverage-prevention-strategy.instructions.md
Instructions for sbroenne/mcp-server-excel, covering generated surface coverage, contract change workflow, required checks and common incomplete changes.
mcp-server-excel mcp-llm-guidance.instructions.md
Instructions for sbroenne/mcp-server-excel, a project described as: Automate real Microsoft Excel with AI via MCP Server or CLI — Power Query, DAX, VBA, PivotTables, charts, and 326 operations.
openrouter-mcp-multimodal AGENTS.md
Instructions for stabgan/openrouter-mcp-multimodal, covering agent instructions, before you ship, releasing (read this before publishing), short version and version files (must all match package.json).
ntfy-mcp-server AGENTS.md
Instructions for cyanheads/ntfy-mcp-server, covering developer protocol, what's next?, core rules, patterns and tool.
Plonk AGENTS.md
Instructions for ostapondo/Plonk, covering agent rules, layout, adding a module, build & verify and code style.
mcp-dockhand copilot-review.instructions.md
Instructions for strausmann/mcp-dockhand: When reviewing pull requests in this repository.