Skip to content
Kitbay

n8n-code-nodes-official

Apache-2.0Updated on Nov 11, 2026600GitHub stars

One of n8n's own skills for coding agents building workflows on an n8n instance through its MCP server.

What the skill teaches

One of n8n's own skills for coding agents building workflows on an n8n instance through its MCP server. It steers the agent away from writing a Code node when expressions, Edit Fields arrow functions or a dedicated node such as Crypto or XML would do the job, with a decision tree for choosing. It then describes the cases where JavaScript or Python in a Code node is the right call, such as aggregating across a whole dataset or using external libraries, and gives JavaScript Code node specifics.

Capabilities

  • Decide whether a Code node is needed in an n8n workflow
  • Replace custom code with expressions or built-in nodes
  • Write JavaScript Code nodes for dataset-wide aggregation