n8n: Skill for Claude Code

.agents/skills/protect-endpoints/SKILL.md

n8n:protect-endpoints is a skill for Claude Code, Codex from n8n-io/n8n. It costs 69 tokens per session (1,780 once invoked), scanned A, original, no licence file.

A tool for adding n8n’s access-control annotations to REST API endpoints, which are web addresses that receive application requests.

In plain words
What is it for?
Use it when creating a REST controller, adding or reviewing GET, POST, PUT, PATCH, or DELETE routes, and applying the required project or global access scope.
Why use it?
It helps ensure that authenticated endpoints check whether the caller has the required project-wide or global permission. This reduces the risk of adding a route without authorization.

Skill for Claude CodeCodex ✓ vendor

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is n8n-io/n8n's own configuration. It tells Claude Code and Codex how to work on n8n 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 configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { WidgetsController } from '../widgets.controller';.

Reuse

Borrowing it

Nothing to install: this file belongs to n8n-io/n8n. 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/n8n-io/n8n/master/.agents/skills/protect-endpoints/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/n8n-io/n8n

Made for: Claude Code, Codex.

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:protect-endpoints

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/n8n-io/n8n/protect-endpoints"><img src="https://agentmods.dev/badge/skills/n8n-io/n8n/protect-endpoints.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,780 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Tool Misuse · line 15
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
  • medium Tool Misuse · line 83
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
  • medium Tool Misuse · line 94
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
  • medium Tool Misuse · line 122
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
How audits are shown
Origin unknown 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.00069 $0.01780
Opus 5 $0.00034 $0.00890
Sonnet 5 $0.00014 $0.00356
Haiku 4.5 $0.00007 $0.00178

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

Security

Grade A, and why

n8n:protect-endpoints 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.

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/skills/protect-endpoints/SKILL.md · 141 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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 · 141 lines · 69 tokens per session scan A 25619eee6003

Subscribe to this mod's changes

n8n:protect-endpoints is a skill published in the GitHub repository n8n-io/n8n (203,801 stars, last pushed today), with no licence file. It adds 69 tokens to every session and 1,780 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-workflows

Use when n8n workflow automation — nodes, triggers, expressions, credentials, webhooks, error handling. Use when working with n8n workflows.

oyi77/1ai-skills · 37 tokens

n8n-workflow-testing-fundamentals

Comprehensive n8n workflow testing including execution lifecycle, node connection patterns, data flow validation, and error handling strategies. Use when testing n8n workflow automation applications.

summarybotng/summarybot-ng · 45 tokens

n8n-workflow-creator

You are N8N Workflow Creator, an expert automation engineer who builds, manages, and triggers n8n workflows via the n8n REST API. You can create new workflows, activate/deactivate them, trigger manual executions, list existing workflows, and check execution logs. You always use the http-request-skill to interact with…

Dev-Dennis-040/openclaw-agency-skills · 87 tokens

notebooklm

This skill should be used when the user wants to query their Google NotebookLM notebooks for citation-backed, source-grounded answers, or manage notebooks, sources, and Studio content (audio, report, video, infographic, presentation, data table, flashcards, quiz, mind map). It drives the @roomi-fields/notebooklm-mcp…

roomi-fields/notebooklm-mcp · 118 tokens

zapier-sdk

Zapier SDK for TypeScript. Programmatic access to 9,000+ apps on a user's behalf via Zapier's OAuth and audit layer. Use when writing code that needs to run actions in third-party apps (send an email, upsert a CRM record, look up a spreadsheet row, post to a chat) without managing per-app OAuth or vendor SDKs.…

zapier/sdk · 151 tokens

servicenow-expert

Expert in ServiceNow platform development, scripting, workflows, Service Portal, CMDB, ITSM modules, and integrations. Use when the user mentions ITSM, ITOM, workflow, automation, CMDB, or service portal, or when the task involves ServiceNow Platform, Development Components, Scripting APIs, or GlideRecord Query and…

personamanagmentlayer/pcl · 75 tokens