$ skilldirectory
— zsh — registry.skilldirectory.dev
skill library blog

home / Automation / N8n Code Tool Skill by @sickn33

N8n Code Tool Skill by @sickn33

FREE
github stars★ 49,230updatedOct 2026repo@sickn33
$git clone https://github.com/sickn33/agentic-awesome-skills

The skill is the skills/n8n-code-tool folder inside that repository. Copy it into the folder your agent loads skills from; check your agent's documentation for where that is.

Read the opening of the original SKILL.md
# n8n Custom Code Tool

## When to Use

Use this skill specifically for code executed by the AI-agent-callable n8n Custom Code Tool. Use the separate JavaScript or Python Code-node skills for ordinary workflow Code nodes.

Do not hardcode secrets or accept arbitrary executable code from untrusted input. Constrain inputs with a schema, validate outputs, allowlist any network destinations, and ask before testing a tool whose code can write data or invoke an external service.

Expert guidance for writing code inside `@n8n/n8n-nodes-langchain.toolCode` — the tool an AI Agent can invoke, **not** the regular workflow Code node.

---

## ⚠️ This is NOT the Code node

The Custom Code Tool looks like a Code node in the editor — same JavaScript editor, similar layout — but it is a **completely different node** from a different package with a **different runtime contract**.

| | Code node | Custom Code Tool |
|---|---|---|
…

Excerpt only, quoted from the author's repository. Open the repository for the complete file.