n8n-code-javascript

n8n-code-javascript is a skill for Claude Code, Codex from walidboulanouar/n8n-claude-code-template. It costs 0 tokens per session (1,588 once invoked), scanned A, original, no licence file.

A coding guide for writing JavaScript in n8n Code nodes, including n8n-specific interfaces and patterns.

In plain words
What is it for?
Writing JavaScript transformations and custom logic within n8n workflows.
Why use it?
It helps avoid JavaScript that is valid in general but does not work correctly in n8n.

Skill for Claude CodeCodex

Install

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.

agentmods
npx agentmods add skills/walidboulanouar/n8n-claude-code-template/n8n-code-javascript
Any agent
npx skills add walidboulanouar/n8n-claude-code-template --skill n8n-code-javascript
Clone the repo
git clone --depth 1 https://github.com/walidboulanouar/n8n-claude-code-template

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-code-javascript

README.md
[![agentmods](https://agentmods.dev/badge/skills/walidboulanouar/n8n-claude-code-template/n8n-code-javascript.svg)](https://agentmods.dev/skills/walidboulanouar/n8n-claude-code-template/n8n-code-javascript)
Your own site
<a href="https://agentmods.dev/skills/walidboulanouar/n8n-claude-code-template/n8n-code-javascript"><img src="https://agentmods.dev/badge/skills/walidboulanouar/n8n-claude-code-template/n8n-code-javascript.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,588 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01588
Opus 5 $0.00000 $0.00794
Sonnet 5 $0.00000 $0.00318
Haiku 4.5 $0.00000 $0.00159

Measured 3d ago against content hash 3f1eccdc3228, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

n8n-code-javascript 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 3d 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.

.claude/skills/n8n-code-javascript/SKILL.md · 254 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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. 3d ago First seen · 254 lines · 0 tokens per session scan A 3f1eccdc3228

Subscribe to this mod's changes

n8n-code-javascript is a skill published in the GitHub repository walidboulanouar/n8n-claude-code-template (19 stars, last pushed 5mo ago), with no licence file. It costs nothing until one of its globs matches a file; then it loads 1,588 tokens. 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-code-python

Write Python code in n8n Code nodes. Use when writing Python in n8n, using input/json/node syntax, working with standard library, or need to understand Python limitations in n8n Code nodes. Use this skill when the user specifically requests Python for an n8n Code node. Note — JavaScript is recommended for 95% of use…

czlonkowski/n8n-mcp · 157 tokens

n8n-code-tool

Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow Code node. Use when building a Code Tool attached to an AI Agent, writing code that an LLM will invoke, parsing the query input, returning a string result, defining an input schema…

czlonkowski/n8n-skills · 221 tokens

n8n-code-javascript

Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with $helpers, working with dates using DateTime, troubleshooting Code node errors, or choosing between Code node modes.

neurawork-git/n8n-autopilot · 63 tokens

n8n-code-python

Write Python code in n8n Code nodes. Use when writing Python in n8n, using input/json/node syntax, working with standard library, or need to understand Python limitations in n8n Code nodes.

neurawork-git/n8n-autopilot · 52 tokens

n8nac-reference

Authoritative reference for every n8nac CLI command, subcommand, and flag (n8nac 2.4.0). Use this BEFORE running --help interactively, BEFORE guessing flags, and BEFORE inventing a subcommand. If a command does not appear in this file, it does not exist — research stops, do not invent CLI surface. Covers workspace…

neurawork-git/n8n-autopilot · 130 tokens

n8n-skills

Act as a senior n8n workflow architect and automation reliability engineer. Design workflows that are importable, maintainable, observable, credential-safe, idempotent, and understandable by both humans and agents.

he8um/n8n-skills · 88 tokens