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 skills add perniemann/pnCore --skill pn-n8n-patternsgit clone --depth 1 https://github.com/perniemann/pnCoreWrote 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.
[](https://agentmods.dev/skills/perniemann/pncore/pn-n8n-patterns)<a href="https://agentmods.dev/skills/perniemann/pncore/pn-n8n-patterns"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-n8n-patterns/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.
<a href="https://agentmods.dev/skills/perniemann/pncore/pn-n8n-patterns"><img src="https://agentmods.dev/badge/skills/perniemann/pncore/pn-n8n-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.01519 |
| Opus 5.5 | $0.00028 | $0.00608 |
| Sonnet 5.5 | $0.00014 | $0.00304 |
| Haiku 4.5 | $0.00007 | $0.00152 |
Grade A, and why
pn-n8n-patterns 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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
n8n patterns skill
When to use
- Designing or editing an n8n workflow (new or existing)
- Choosing nodes for a given task (HTTP, webhook, trigger, transform)
- Securing webhooks and credentials
- Implementing error handling, retries, or idempotency
- Structuring modular or production workflows
- Debugging or simplifying a workflow
When n8n MCP is available (e.g. n8n MCP Server Trigger exposing workflow tools): Use its tools to inspect, execute, or extend n8n workflows. Combine with this skill for node choice, secrets, webhooks, error handling, and production patterns. Reference get_rule("pn-n8n") for glob-triggered safety (no secrets in JSON).
For secrets and error boundaries, reference pn-backend-philosophy.
Instructions
1. Node choice
- Use the most specific node that fits (e.g. HTTP Request for APIs, Webhook for inbound calls, Schedule for cron-like runs).
- Prefer built-in nodes over generic "Execute Command" or "Run Script" when they exist.
- Built-in nodes handle auth, retries, and error semantics better than custom scripts.
2. AI Agent nodes (when building agentic workflows)
- Use AI Agent nodes for autonomous decision-making and context-aware integration.
- Configure strategic tool selection: connect at least one tool sub-node (API calls, DB queries) so agents choose appropriate tools per task.
- Limit tool scope to prevent cluttered workflows as complexity grows.
- For AI Workflow Builder (Starter/Pro/Enterprise): build iteratively with short, specific prompts; name integrations explicitly (e.g. "Gmail", "Google Sheets"); avoid single huge prompts; validate and refine in iterations.
3. Data flow
- Filter early: remove unnecessary fields with Edit Fields (Set) node before heavy processing to reduce memory and latency.
- For large datasets (hundreds or thousands of items): use Loop Over Items (Split in Batches) with explicit batch size to avoid out-of-memory errors.
- Use IF nodes at entry points to catch malformed payloads before they propagate.
- Use JSON Schema or Set nodes to enforce data shapes at critical junctions; fail fast on invalid payloads.
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.
- 2mo ago First seen · 127 lines · 71 tokens per session scan A 1096ea6a0646
pn-n8n-patterns is a skill published in the GitHub repository perniemann/pnCore (0 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 1,519 once invoked, about $0.0003 per session on Opus 5.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-09-03.
pn-n8n-patterns compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| pn-n8n-patternsperniemann/pnCore | Skill | 0 | today | MIT | A | 71 | Cursor |
| chat-sdkvercel-labs/open-agents | Skill | 5.9k | 3mo ago | MIT | A | 191 | Claude Code, Codex |
| output-dev-workflow-costgrowthxai/output | Skill | 445 | today | Apache-2.0 | A | 40 | Claude Code |
| emulate-seedyonatangross/orchestkit | Skill | 312 | today | MIT | A | 47 | Claude Code |
| performanceyonatangross/orchestkit | Skill | 312 | today | MIT | A | 40 | Claude Code |
| architecture-decision-recordyonatangross/orchestkit | Skill | 312 | today | MIT | A | 31 | Claude Code |
| domain-driven-designyonatangross/orchestkit | Skill | 312 | today | MIT | A | 48 | Claude Code |