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).
60
70%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Advisory
Suggest reviewing before use
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/n8n-code-python/SKILL.mdQuality
Discovery
89%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
This is a well-crafted description that excels at trigger term coverage, completeness, and distinctiveness. The explicit 'Use when' clause with multiple trigger conditions and the differentiation from JavaScript usage make it highly effective for skill selection. The main weakness is that the 'what' portion could enumerate more specific concrete actions beyond the general 'Write Python code'.
Suggestions
Add 2-3 more specific concrete actions to improve specificity, e.g., 'Write Python code in n8n Code nodes: transform workflow items, apply regex patterns, compute hashes, perform statistical calculations.'
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | The description names the domain (Python in n8n Code nodes) and mentions some specific elements like '_input/_json/_node syntax' and 'standard library', but doesn't list multiple concrete actions — it says 'Write Python code' which is a single broad action rather than enumerating specific capabilities like parsing data, transforming items, or handling errors. | 2 / 3 |
Completeness | Clearly answers both 'what' (write Python code in n8n Code nodes, using specific syntax, understanding limitations) and 'when' (explicit 'Use when' clause with multiple trigger conditions, plus guidance on when to prefer this skill over JavaScript). The scoping note about JavaScript being preferred 95% of the time adds valuable selection context. | 3 / 3 |
Trigger Term Quality | Excellent coverage of natural trigger terms: 'Python', 'n8n', 'Code node', '_input', '_json', '_node', 'standard library', 'regex', 'hashlib', 'statistics'. These are terms users would naturally use when asking about Python in n8n, and the description includes both general and specific keywords. | 3 / 3 |
Distinctiveness Conflict Risk | Highly distinctive — it targets a very specific niche (Python specifically in n8n Code nodes) and explicitly differentiates itself from a JavaScript counterpart by noting Python should only be used when explicitly requested. This clear scoping makes conflicts with other skills very unlikely. | 3 / 3 |
Total | 11 / 12 Passed |
Implementation
50%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
The skill is highly actionable with excellent, executable code examples covering all major Python Code node patterns in n8n. However, it is severely bloated — repeating the same warnings (JavaScript preference, return format, no external libraries) many times, duplicating content that should live only in referenced files, and explaining basic Python concepts Claude already knows. Trimming this to ~40% of its current size while pushing details to the referenced files would significantly improve it.
Suggestions
Remove all duplicated content that already exists in referenced files (standard library reference, error patterns, common patterns) — keep only a 1-2 line summary with a link to each file.
Consolidate the 'use JavaScript first' messaging to a single prominent warning at the top instead of repeating it throughout the document (~10 occurrences).
Remove explanations of basic Python concepts Claude already knows (list comprehensions, .get() method, None handling) and instead just show the n8n-specific patterns directly.
Add a validation/debugging workflow: how to test output format, how to interpret n8n execution errors, and a feedback loop for fixing common issues in the execution panel.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | Extremely verbose at ~500+ lines. Repeatedly explains that JavaScript is preferred (mentioned 10+ times), restates the same return format rules multiple times, explains basic Python concepts like list comprehensions and .get() that Claude already knows, and includes redundant sections (e.g., the standard library is listed twice, error patterns are shown twice). The 'Integration with Other Skills' section adds no actionable value. | 1 / 3 |
Actionability | Provides fully executable, copy-paste ready Python code examples throughout. Every pattern includes concrete code with correct/incorrect comparisons, specific module imports, and real data access syntax. The examples are complete and runnable within the n8n context. | 3 / 3 |
Workflow Clarity | The mode selection guide and data access patterns are clearly sequenced, and the checklist at the end is useful. However, there are no validation/verification steps for the code itself — no guidance on testing output format, no feedback loops for debugging failed executions, and the 'Production Gotchas' section is brief without clear recovery steps. | 2 / 3 |
Progressive Disclosure | References to DATA_ACCESS.md, COMMON_PATTERNS.md, ERROR_PATTERNS.md, and STANDARD_LIBRARY.md are well-signaled and one level deep. However, no bundle files were provided, so we can't verify these exist. More importantly, the SKILL.md itself contains massive amounts of content that should be in those referenced files (e.g., the full standard library reference, detailed error patterns, and common patterns are all duplicated inline), defeating the purpose of progressive disclosure. | 2 / 3 |
Total | 8 / 12 Passed |
Validation
90%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 10 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
skill_md_line_count | SKILL.md is long (775 lines); consider splitting into references/ and linking | Warning |
Total | 10 / 11 Passed | |
27e9d0a
Table of Contents
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.