agentsclimarketplace

N8n code javascript

Skill newmindsgroup/ai-agent-skills-library/sources/sickn33-antigravity-awesome-skills/skills/n8n-code-javascript

Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with $helpers, working with dates using DateTime, troubleshooting Code node errors, or choosing between Code node modes.From its SKILL.md

Install
npx -y skills add newmindsgroup/ai-agent-skills-library --skill n8n-code-javascript

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

2.9 KB, 499 tokens by cl100k_base, as published. Nobody here has run it

JavaScript Code Node

Expert guidance for writing JavaScript code in n8n Code nodes.

When to Use

  • The request matches the skill description: Write JavaScript code in n8n Code nodes. Use when writing JavaScript in n8n, using $input/$json/$node syntax, making HTTP requests with $helpers, working with dates using DateTime, troubleshooting Code node errors, or choosing between Code node modes.
  • The task needs the implementation patterns, examples, validation checks, or edge cases listed in the topic map.
  • The work would benefit from the complete guidance preserved in references/full-guidance.md.

Core Workflow

  1. Confirm the request matches this skill's trigger, scope, and risk profile.
  2. Use the topic map to identify the relevant pattern, checklist, or example before writing detailed guidance or code.
  3. Load references/full-guidance.md when implementation details, examples, anti-patterns, validation checks, or edge cases are needed.
  4. Apply only the relevant guidance instead of loading or repeating the entire reference by default.
  5. Verify the result against any validation checks, limitations, security notes, or platform constraints in the reference.

Topic Map

  • Quick Start
  • Essential Rules
  • Mode Selection Guide
  • Run Once for All Items (Recommended - Default)
  • Run Once for Each Item
  • Data Access Patterns
  • Pattern 1: $input.all() - Most Common
  • Pattern 2: $input.first() - Very Common
  • Pattern 3: $input.item - Each Item Mode Only
  • Pattern 4: $node - Reference Other Nodes
  • Critical: Webhook Data Structure
  • Return Format Requirements
  • Correct Return Formats
  • Incorrect Return Formats
  • Common Patterns Overview
  • Multi-Source Data Aggregation
  • Filtering with Regex
  • Data Transformation & Enrichment

Reference Map

  • references/full-guidance.md preserves the complete original guidance, including examples and detailed edge cases.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Progressive Loading

Keep this SKILL.md as the compact routing and workflow entrypoint. Load the reference file only when the user task requires the deeper implementation material.

What ships with it: 1 file

15.8 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 326,614. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.