n8n-code-javascript
Skill4 starsChanged 2 months agoNo licenceView on GitHub
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.
22 other projects use a version of this, 11 of them edited.
Adopted by
Most recently taken up by
- delorenj/skillsedited, first seen Nov 7, 2026
- Mfrostbutter/n8n-workflow-harnessedited, first seen Nov 1, 2026
- WilkoMarketing/antigravity-n8n-skillsedited, first seen Oct 6, 2026
- neurawork-git/n8n-autopilotedited, first seen Oct 1, 2026
- nomdedev/agent-manager-templateedited, first seen Sep 30, 2026
- czlonkowski/n8n-skillsedited, first seen Aug 29, 2026
Used with
Projects with it also use n8n-code-tool, n8n-multi-instance and 6 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
czlonkowskiSkilln8n-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 for structured arguments (specifyInputSchema, jsonSchemaExample, DynamicStructuredTool), or troubleshooting errors like \"Wrong output type returned\", \"No execution data available\", \"The response property should be a string, but it is an object\", \"Cannot assign to read only property 'name'\", or an AI agent that refuses to call the tool. Covers the critical differences between Code node and Code Tool: return format (string vs `[{json:{...}}]`), unavailability of `$fromAI`/`$input`/`$helpers` in the Code Tool sandbox, naming rules for AI invocation, and when to use `toolWorkflow`/HTTP Request Tool instead.
Also in 3 projects that use this
czlonkowskiSkilln8n-multi-instance
Use when an n8n-mcp account targets more than one n8n instance — i.e. the `n8n_instances` tool is available, the user mentions multiple n8n instances or environments (prod vs staging, several teams or clients), several agents or chats work on one account in parallel, a workflow / datatable / credential / execution call returns an unexpected NOT_FOUND or reads data you don't recognize, or a call is refused with `INSTANCE_AMBIGUOUS` or `INSTANCE_NOT_FOUND`. Covers naming the target instance on each call with the `instance` argument, setting the default with `switch`, verifying the target before high-stakes work — credential writes above all — and recovering from misroutes and fail-closes. Always consult this skill before operating on a specific instance, before any credential create/update/delete on a multi-instance account, or when a call hits the wrong/empty data or an instance error.
Also in 3 projects that use this
tmolaviSkilln8n-agents
Use when building n8n AI Agent / LangChain clusters — tools, memory, RAG, structured output, system prompts, sub-workflow-as-tool, or fixing agent connection topology (ai_languageModel, ai_tool, ai_memory).
Also in 3 projects that use this
tmolaviSkilln8n-error-handling
Use for production n8n workflows, webhook APIs, retries, error outputs, error workflows, dead-letter patterns, and correct HTTP response status shapes for callers.
Also in 3 projects that use this
- +3 more from czlonkowski
- +1 more from tmolavi
Other versions22 projects use a version of this.
Word for word · 9
- eugenepyvovarov/mcpbundler-agent-skills-marketplace★ 12100% same
- CarbeneAI/Forge★ 9100% same
- promptadvisers/n8n-powerhouse★ 9100% same
- reachmeshailesh-boop/codex-skill-pack★ 9100% same
- FranManuel95/claudeCode★ 0100% same
- JosBen74/claude-skills★ 0100% same
- Kyrzin/claude-skills★ 0100% same
- refineryconnect/n8n-powerhouse★ 0100% same
- stefanomartiradonna/claude-skills★ 0100% same
Edited · 11
- czlonkowski/n8n-skills★ 6.5k15% same
- WilkoMarketing/antigravity-n8n-skills★ 10615% same
- leadgenjay/claude-skills★ 2292% same
- neurawork-git/n8n-autopilot★ 1831% same
- delorenj/skills★ 1740% same
- echoleesong/claude-skills-plugin★ 493% same
- nomdedev/agent-manager-template★ 232% same
- Wagner-Emden-IT-Services/n8n-project-template★ 177% same
- gustavoandps/n8n-builder★ 082% same
- Mfrostbutter/n8n-workflow-harness★ 032% same
1 more not listed
Wrote their own version · 2
- walidboulanouar/n8n-claude-code-template★ 19same name
- tygwan/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- code-qualitySkill
- design-to-codeSkill
- dockerSkill
- FastAPI Development (Hybrid)Skill
- fastapiSkill
- FastMCP DevelopmentSkill
- frontend-designSkill
- github-repo-seoSkill
- interview-readmeSkill
- Knowledge RouterSkill
- kubernetesSkill
- n8n-code-pythonSkill
- n8n-expression-syntaxSkill
- n8n-mcp-tools-expertSkill
- n8n-node-configurationSkill
- n8n-validation-expertSkill
- n8n-workflow-patternsSkill
- nextjs-app-routerSkill
- OpenAI Agents SDK DevelopmentSkill
- postgres-neonSkill
- pythonSkill
- skill-creatorSkill
- spring-bootSkill
- ui-ux-engineeringSkill
- oss-contributeSkill
The file
We split this skill into the rules it gives an agent
7 rules. 4 are common, 1 is distinctive, and 2 are very specific to this project.
4
Common
Most of the 13 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

