sickn33/antigravity-awesome-skills/n8n-code-python

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install sickn33/antigravity-awesome-skills/n8n-code-python

SKILL.md

Python Code Node (Native)

When to Use

Use for bounded Python transformations in an n8n Code node when native nodes or expressions are insufficient. Check the installed n8n version and task runner first.

Runtime contract

n8n 2 removed the legacy Pyodide runtime. Native Python uses _items in all-items mode and _item in per-item mode; legacy _input, _json, _node and _now helpers are unavailable. Self-hosted imports depend on installed runner packages and explicit allowlists. Cloud imports may be unavailable, including standard modules. JavaScript imports are restricted too; switching languages does not provide unrestricted filesystem, networking or package access.

Examples

All-items mode, with no imports:

python
return [
{"json": {"id": item["json"].get("id"), "processed": True},
"pairedItem": {"item": index}}
for index, item in enumerate(_items)
if item["json"].get("active")
]

Per-item mode:

python
return {"json": {**_item["json"], "name_upper": (_item["json"].get("name") or "").upper()}}

Validate actual input types before string operations. Use HTTP Request nodes with managed credentials for remote calls and enforce allowed destinations. Do not log payloads/tokens or execute code supplied by webhook users. Keep item count, input size and runtime bounded; prepare changes in an inactive test workflow before activating workflows that send messages, spend money or modify external systems.

Detailed Guide

Read the guide for transformation patterns and migration caveats. The referenced upstream auxiliary files are not bundled.

Limitations

No workflow or runner is included. Import availability and output normalization must be checked in the deployed version; item linking, binary data and aggregation require explicit handling. No runtime tests are established by these examples.

Primary runtime reference: n8n Code node documentation source.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
27,444
Repository forks
4,626
Repository npm downloads, 7 days
6,951
7-day trend score
72

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 22 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sickn33/antigravity-awesome-skills/n8n-code-python/badge)](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/n8n-code-python)

Something wrong with this skill or its page? Tell us.