CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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.

Quality

74%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/n8n-code-python/SKILL.md

The canonical home for this skill is n8n-code-python in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

56%Weight 40%Scale 1-5

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

The body is highly actionable with concrete, contrasted code examples and a clear decision workflow, but it is noticeably verbose — its three critical rules are each repeated three times and it teaches basic Python Claude already knows — and its four advertised reference files are missing from the bundle, breaking progressive disclosure.

Suggestions

Eliminate the triple duplication: state the webhook ["body"] nesting, the return format, and the no-external-libraries rule once each in their own sections and have the Essential Rules and Error Prevention sections point to them instead of restating them.

Ship the four referenced files (DATA_ACCESS.md, COMMON_PATTERNS.md, ERROR_PATTERNS.md, STANDARD_LIBRARY.md) in the bundle or remove the dangling 'See:' references and the 'Related Files' section.

Remove the 'Best Practices' section's basic Python instruction (.get(), list comprehensions, None handling) and keep only n8n-specific guidance, trimming the body to the n8n-specific rules, mode guide, and a few representative patterns.

DimensionReasoningScore

Conciseness

The body duplicates its three critical rules three times each (webhook ["body"] nesting in Essential Rules, its own section, and Error #5; return format in three places; the no-external-libraries limitation in three places; the standard-library listing in three places), and the 'Best Practices' section teaches basic Python Claude already knows (.get(), list comprehensions, None handling). This is several padded/duplicated sections, matching anchor 2 rather than the incidental over-explanation of anchor 3.

2 / 5

Actionability

Mostly copy-paste-ready code with correct/incorrect contrasts covering the common cases (transformation, filtering, aggregation, validation, statistics), but a few examples are not executable as written — Pattern 2 calls an undefined process_data(data) and Quick Start/Pattern 2 use datetime.now() without the required import shown — giving the minor gaps of anchor 4 rather than anchor 5.

4 / 5

Workflow Clarity

A clear decision sequence (consider JavaScript first → select mode → data-access pattern → return format) capped by an explicit pre-deploy 'Quick Reference Checklist' and an error-prevention section for recovery, matching anchor 4's 'most checkpoints present with minor validation gaps'; it is not a fragile destructive/batch workflow requiring validate-fix-retry loops.

4 / 5

Progressive Disclosure

Structure is good and references are clearly signaled ('See: DATA_ACCESS.md', 'Related Files'), but none of the four referenced files (DATA_ACCESS.md, COMMON_PATTERNS.md, ERROR_PATTERNS.md, STANDARD_LIBRARY.md) exist in the bundle, so navigation is broken; additionally, the inlined Standard Library Reference and Common Patterns sections duplicate content that the skill claims lives in those separate files, fitting anchor 3.

3 / 5

Total

13

/

20

Passed

Description

83%Weight 40%Scale 1-5

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 strong description with a clear what, an explicit and concrete 'Use when' clause, and natural trigger terms tightly scoped to the Python-in-n8n niche. Its only weaknesses are keyword coverage that lacks synonyms/variations and minor conflict risk against a sibling JavaScript Code-node skill.

DimensionReasoningScore

Specificity

Names the domain ('Write Python code in n8n Code nodes') and several specific capabilities ('using _input/_json/_node syntax', 'working with standard library', 'need to understand Python limitations'), but these are scopes around one core action rather than a comprehensive list of distinct actions, matching anchor 4 over anchor 5.

4 / 5

Completeness

Explicitly answers both: 'Write Python code in n8n Code nodes' (what) and a concrete 'Use when writing Python in n8n, using _input/_json/_node syntax, working with standard library, or need to understand Python limitations' (when), exactly matching the anchor-5 example pattern.

5 / 5

Trigger Term Quality

Includes natural phrases users would say — 'writing Python in n8n', 'Code nodes', 'standard library' — giving good keyword coverage, but misses common synonyms or variations (e.g., 'n8n automation', 'scripting', 'beta/native modes'), so it falls short of anchor 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

A clear Python-in-n8n niche where every trigger names Python, but there is minor overlap risk with the closely related sibling JavaScript Code-node skill (referenced in the body) for generic 'n8n code node' queries, fitting anchor 4 rather than the minimal-conflict anchor 5.

4 / 5

Total

17

/

20

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.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

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

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills-claude/skills/n8n-code-python/SKILL.md

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.