n8n-decanter: Instructions file for Codex

AGENTS.md

n8n-decanter AGENTS.md is an instructions file for Codex, OpenCode from buttjer/n8n-decanter. It costs 15,703 tokens per session, scanned A, original, MIT.

The main instruction guide for the n8n-decanter CLI project. It is the single source for how coding agents should work, while PLAN.md describes what the CLI is.

In plain words
What is it for?
Use it when changing n8n-decanter to follow its response style, permission checks, session labels, planning process, documentation duties, commands, and repository workflow.
Why use it?
It prevents rules from being duplicated or drifting between agent-specific files and keeps work practices separate from the product design.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is buttjer/n8n-decanter's own configuration. It tells Codex and OpenCode how to work on n8n-decanter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything n8n-decanter configures →

Reuse

Borrowing it

Nothing to install: this file belongs to buttjer/n8n-decanter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/buttjer/n8n-decanter/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/buttjer/n8n-decanter

Made for: Codex, OpenCode.

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-decanter AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/buttjer/n8n-decanter/agents-md"><img src="https://agentmods.dev/badge/instructions/buttjer/n8n-decanter/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15,703 This file is loaded in full into every session.
When invoked 15,703 The same file — it is already loaded in full.
Security scan A 1 finding. 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.15703 $0.15703
Opus 5.5 $0.06281 $0.06281
Sonnet 5.5 $0.03141 $0.03141
Haiku 4.5 $0.01570 $0.01570

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

Security

Grade A, and why

n8n-decanter AGENTS.md scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

directory in one call — `curl -sL "https://api.github.com/repos/n8n-io/n8n/contents/<dir>?ref=<tag>" | jq -r '.[].name'` — instead of looping `curl … -w %{http_code}` over guessed paths.
AGENTS.md · 915 lines

How it starts

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

n8n-decanter — agent & project guide (single source of truth)

This file is the single source of truth for coding agents working on the n8n-decanter CLI itself (not on a synced workflow dir — that's the template's AGENTS.md). It is tool-agnostic: Codex and opencode read it natively, and Claude Code reads it through a one-line import in CLAUDE.md. Everything — response style, project rules, changelog/docs/backlog duties, git workflow, commands, architecture, and the shared recipes — lives here; keep the rules in one place and let the per-agent files stay thin pointers.

PLAN.md is a separate, complementary source of truth: it is the CLI's design document (data model, flows, past decisions). This file governs how to work on the repo; PLAN.md governs what the CLI is. Keep both current and don't let either drift from the code.

Response style

  • Very compact — no long conclusions or wrap-up prose.
  • Prefer bullet points over paragraphs.
  • Highlight important things and decisions so they stand out.

Session labels: [decanter] #NN short name

Every session gets a label so concurrent sessions stay legible:

  • Task maps to a numbered backlog Plan → [decanter] #NN <name> (e.g. [decanter] #92 upstream auth).
  • Task has no plan → [decanter] <name> (e.g. [decanter] plans reorg). There is no separate word for it — the missing #NN already says there is no plan.

<name> is very short and precise — 2–3 words describing the actual work.

The subject in brackets is always decanter, never the plan number. The sidebar these sessions are read in groups them by that word, and gives each subject one icon and colour for good. A bare number gets no face — it names nothing, and would spend a subject on a single task — so the labelling tool refuses it outright. The plan number rides in the <name> instead, first thing, where it still lines up with the branch and worktree at a glance.

Set the label yourself, as soon as the subject is clear. An agent no longer has to ask for one; on this machine's Claude Code setup that is:

Read the full file on GitHub · 915 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. 11d ago Changed · +12 lines · +206 tokens per session 6b0438fe1762
  2. 12d ago Changed · +2 lines · +33 tokens per session dd9c4791f9da
  3. 14d ago Changed · +13 lines · +185 tokens per session 2d490a9901bc
  4. 15d ago Changed · +18 lines · +389 tokens per session aeb108aa447e
  5. 1mo ago Changed · +33 lines · +511 tokens per session 3e8fd1599d2b
  6. 2mo ago Changed · +18 lines · +361 tokens per session 61f62b9f7fc2
  7. 2mo ago First seen · 819 lines · 14,018 tokens per session scan A 383e6514b2c4

Subscribe to this mod's changes

n8n-decanter AGENTS.md is an instructions file published in the GitHub repository buttjer/n8n-decanter (2 stars, last pushed today), licensed MIT. It adds 15,703 tokens to every session, about $0.0628 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

n8n-decanter AGENTS.md compared with instructions from other repositories

n8n-decanter AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
n8n-decanter AGENTS.mdbuttjer/n8n-decanterInstructions file2todayMITA15,703Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode