Create Agent Skills with n8n

VerifiedSafe

Guides creating effective Agent Skills: structure, best practices, and the SKILL.md format.

Sby Skills Guide Bot
DocumentationIntermediate
8/29/2026
Claude CodeCursor
#skill-authoring#agent-skills#markdown#n8n#prompt-design

Recommended for

Automated summary

Walks you through authoring a new Agent Skill: file locations, frontmatter, concision rules, and splitting work into composable skills.

Strengths

  • States exactly where a skill belongs depending on whether it is team-shared (.agents/skills/), Claude Code or OpenCode specific, or personal to the machine.
  • Gives concrete frontmatter rules: an n8n:<name> name matching the directory, plus a third-person description carrying trigger words.
  • Frames progressive disclosure (reference.md, examples.md linked one level deep) and how to split a parent orchestrator skill from child skills.
  • Includes a short requirements checklist before writing: single purpose, triggers, gaps in the model's knowledge, and expected output formats.

Limitations

  • Heavily tied to the n8n repository layout (n8n: namespace, pnpm sync:skill-links, .agents/skills/) and needs rework elsewhere.
  • The source text cuts off at the MCPs section, so guidance on MCP servers is effectively missing.
  • No automated validation or machine-checkable schema for the frontmatter; compliance is enforced by review only.
When to use it

When you are creating or revising a SKILL.md and want to follow the n8n team's conventions for naming, length, and layout.

When not to use it

When you need standard end-user documentation or tutorial content, which this skill does not address.

Security analysis

Safe
Quality score88/100

This skill is purely instructional markdown about authoring Agent Skills. It contains no executable commands, no destructive actions, no data exfiltration, and no declared tools. It poses no meaningful execution risk.

No concerns found

How this analysis is made

Examples

Create a new team skill
Create a new shared skill called release-notes that drafts release notes from merged PRs. Put it in the right place, write the frontmatter, and keep SKILL.md short.
Fix a skill's description
My skill never gets triggered. Here's my SKILL.md — rewrite the frontmatter description in third person with clear trigger words.
Split an oversized skill
My SKILL.md is 400 lines and covers both creating issues and opening PRs. Split it into focused skills with a parent orchestrator and explain what goes in reference.md.

name: n8n:create-skill description: >- Guides users through creating effective Agent Skills. Use when you want to create, write, or author a new skill, or asks about skill structure, best practices, or SKILL.md format.

Creating skills

Skills are markdown (plus optional scripts) that teach the agent a focused workflow. Keep SKILL.md short—the context window is shared with chat, code, and other skills.

Where skills live

| Location | When to use | |----------|-------------| | .agents/skills/<name>/ | Default for n8n: team-shared, versioned, agent-neutral source. | | .claude/plugins/n8n/skills/<name>/ | Claude-specific override, or a generated symlink to .agents/skills/<name>/. | | .opencode/skills/<name>/ | OpenCode-specific override only. Shared skills stay in .agents/skills/<name>/. | | ~/.claude/skills/<name>/ | Personal skill for Claude Code across all projects. | | ~/.config/opencode/skills/<name>/ | Personal skill for OpenCode across all projects. | | ~/.cursor/skills/<name>/ | Optional personal skill for Cursor only, global to your machine. |

Do not put custom skills in ~/.cursor/skills-cursor/—that is reserved for Cursor’s built-in skills.

Prefer .agents/skills/ for anything that should match how the rest of the team works. Run pnpm sync:skill-links after adding or removing shared skills.

Before you write: gather requirements

Ask (or infer) briefly:

  1. Purpose — one concrete task or workflow.
  2. Triggers — when should the agent apply this skill?
  3. Gaps — what does the agent not already know (project rules, URLs, formats)?
  4. Outputs — templates, checklists, or strict formats?
  5. Examples — follow an existing shared skill in .agents/skills/ if one fits.

Ask the user in plain language when you need more detail.

File layout

skill-name/
├── SKILL.md       # required
├── reference.md   # optional — detail the agent reads only if needed
├── examples.md    # optional
└── scripts/       # optional

Frontmatter (required)

---
name: n8n:skill-name      # n8n:<name> — lowercase, hyphens, max 64 chars
description: >-         # max 1024 chars, non-empty — see below
  ...
---

Name — shared n8n skills use the n8n:<name> form so Claude Code namespaces them under the n8n plugin (invoked as /n8n:<name>). The <name> part must match the skill's directory name.

Description (discovery is everything — third person, WHAT + WHEN, trigger words):

  • Good: Extracts tables from PDFs and fills forms. Use when the user works with PDFs, forms, or document extraction.
  • Bad: Helps with documents or I can help you with PDFs

Authoring rules

  1. Concise — assume the model is capable; only add non-obvious domain or project facts.
  2. Progressive disclosure — essentials in SKILL.md; long reference in reference.md. Link one level deep from SKILL.md.
  3. Prefer one default — e.g. one library or one workflow; add an escape hatch only if needed.
  4. Stable wording — one term per concept; avoid dated “until month X” notes unless you tuck legacy bits behind a short “Deprecated” note.
  5. Paths — forward slashes only (scripts/foo.py).

Rough size: aim for well under ~200 lines in SKILL.md; if it grows, split detail out.

Scope: one job per skill (and parent skills)

  • Single responsibility — one primary workflow or decision tree per skill. If triggers and steps diverge a lot (e.g. “create issue” vs “create PR” vs “full ticket → PR flow”), split into smaller dedicated skills.
  • Prefer small + compose — two or three focused skills keep irrelevant detail out of context until needed. A parent (orchestrator) skill can say when to follow each child workflow and link to their SKILL.md; avoid pasting full child content into the parent.
  • When one large skill is OK — a single end-to-end flow that always runs together and shares one tight checklist;

MCPs, CLI tools, and other skills

  • Prefer CLI and repo commands when they solve the same problem — agents handle them well and they usually add less scaffolding noise to context than MCP tool discovery and schemas. Examples: gh for PRs/issues, pnpm scripts from AGENTS.md.
  • MCPs are optional per user — not everyone has the same servers enabled. If a skill requires a specific MCP to work as written, say so explicitly:
    • Put a hint in the frontmatter description (e.g. “Requires Linear MCP for …”) so mismatches are obvious early.
    • Add a short Prerequisites (or Requirements) block near the top: which integration, what it is used for, and a fallback (e.g. web UI, gh, or “ask the user to paste …”) when it is missing.
  • Referencing other skills — use the harness-visible invocation name (e.g. n8n:create-issue where namespacing is available, otherwise create-issue). For human-readable links, give the canonical path from the repo root (e.g. .agents/skills/create-issue/SKILL.md). From a sibling folder, a relative link works too: [create-issue](../create-issue/SKILL.md). Parent skills should delegate steps instead of duplicating long procedures.

Patterns (pick what fits)

  • Template — give the exact output shape (markdown/code blocks).
  • Checklist — numbered or - [ ] steps for multi-step work.
  • Branching — “If A → …; if B → …” at the top of a workflow.
  • Scripts — document run commands; say whether to execute or read the script.

Workflow: create → verify

  1. Name + description — hyphenated name; description with triggers.
  2. Outline — minimal sections; link optional files.
  3. Implement — SKILL.md first; add reference.md / scripts/ only if they save tokens or reduce errors.
  4. Check — third-person description; terminology consistent; no duplicate encyclopedic content the model already knows.

Anti-patterns

  • Verbose tutorials (“what is a PDF”) inside the skill.
  • Many equivalent options with no default.
  • Vague names (helper, utils).
  • Deep chains of linked files.
  • Assuming an MCP or tool is present without stating it or offering a fallback.
  • One oversized skill that mixes unrelated workflows instead of smaller skills + a thin parent.

Quick example stub

---
name: n8n:my-workflow
description: Does X using project convention Y. Use when the user asks for X or mentions Z.
---

# My workflow

1. …
2. …

## Output format

Use a fenced code block for the exact shape reviewers should see.

## More detail
See [reference.md](reference.md) if edge cases matter.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-agent-skills-with-n8n-mte1lkyv/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-agent-skills-with-n8n-mte1lkyv' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-agent-skills-with-n8n-mte1lkyv/download' --output '.skill-downloads/create-agent-skills-with-n8n-mte1lkyv/SKILL.md.part' && mv '.skill-downloads/create-agent-skills-with-n8n-mte1lkyv/SKILL.md.part' '.skill-downloads/create-agent-skills-with-n8n-mte1lkyv/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-agent-skills-with-n8n-mte1lkyv/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills