CtrlK
BlogDocsLog inGet started
Tessl Logo

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 cases — only use Python when the user explicitly prefers it or the task requires Python-specific standard library capabilities (regex, hashlib, statistics). EXCEPTION — for Python in the AI-agent-callable Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode), use the n8n-code-tool skill instead (input is _query, return must be a string).

73

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

85%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, well-structured reference with executable examples, a deployment checklist, and clean one-level-deep file references. Its main weakness is redundancy — the JS-first/stdlib/no-external-libraries points are restated several times, and a couple of late sections restate earlier guidance.

Suggestions

Consolidate the standard-library list and the no-external-libraries rule into a single authoritative section and reference it elsewhere instead of repeating the full list three times.

Trim or merge the 'Integration with Other Skills' and 'When to Use Python vs JavaScript' sections, which largely restate the 'Important: JavaScript First' and limitation guidance already given earlier.

Move the 'Best Practices' and 'Production Gotchas' detail into a referenced file (e.g. extend ERROR_PATTERNS.md) to reduce body length while preserving the quick-start overview.

DimensionReasoningScore

Conciseness

Mostly efficient with abundant executable code, but repeats itself: the standard-library list appears three times (lines 54, 275, 324), the 'JavaScript first / no external libraries' message recurs throughout, and the 'Integration with Other Skills' and 'When to Use Python vs JavaScript' sections restate earlier points. Tightening this redundancy would lift it to a 3.

2 / 3

Actionability

Provides copy-paste-ready, executable Python for every key pattern (Quick Start template, mode selection, data access, webhook body nesting, return formats) with paired wrong-vs-right examples and specific syntax like `_input.all()` and `_json["body"]`.

3 / 3

Workflow Clarity

Though not a multi-step destructive workflow, this single-purpose skill gives an unambiguous action path anchored by the 'Quick Reference Checklist' (lines 470-483) and the 'Error Prevention - Top 5 Mistakes' section, which serve as pre-deploy validation checkpoints — matching the rubric's allowance for clear single-task skills.

3 / 3

Progressive Disclosure

The body is an overview that clearly signals one-level-deep references — DATA_ACCESS.md, COMMON_PATTERNS.md, ERROR_PATTERNS.md, STANDARD_LIBRARY.md — each with descriptive text and anchored links, keeping detailed material out of the main file. (No bundle files were present in the review directory to verify, so this is scored on reference signaling per rubric guideline #19.)

3 / 3

Total

11

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A dense, third-person description that states concrete capabilities, natural trigger terms, and explicit when-to-use guidance, plus a valuable disambiguation exception. It borders on long but every clause earns its place through specificity rather than fluff.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'Write Python code in n8n Code nodes', 'using _input/_json/_node syntax', 'working with standard library', and 'understand Python limitations' — rather than vague language.

3 / 3

Completeness

Explicitly answers both what ('Write Python code in n8n Code nodes') and when ('Use when writing Python in n8n', 'Use this skill when the user specifically requests Python for an n8n Code node').

3 / 3

Trigger Term Quality

Covers natural terms a user would say — 'writing Python in n8n', 'n8n Code node', 'specifically requests Python', plus concrete stdlib triggers (regex, hashlib, statistics).

3 / 3

Distinctiveness Conflict Risk

Clear niche (Python in n8n Code nodes) with explicit disambiguation — the EXCEPTION clause routes the Custom Code Tool case to n8n-code-tool, and the JS-recommendation narrows scope, making conflicts unlikely.

3 / 3

Total

12

/

12

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (502 lines); consider splitting into references/ and linking

Warning

relative_links

Relative link issues: 11 missing

Warning

Total

14

/

16

Passed

Repository
czlonkowski/n8n-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.