byczlonkowski· 30 skills
Write JavaScript or Python for the n8n Custom Code Tool (@n8n/n8n-nodes-langchain.toolCode) — the AI-agent-callable tool, NOT the workflow Code node. Use when building a Code Tool attached to an AI Agent, writing code that an LLM will invoke, parsing the query input, returning a string result, defining an input schema for structured arguments (specifyInputSchema, jsonSchemaExample, DynamicStructuredTool), or troubleshooting errors like "Wrong output type returned", "No execution data available", "The response property should be a string, but it is an object", "Cannot assign to read only property 'name'", or an AI agent that refuses to call the tool. Covers the critical differences between Code node and Code Tool: return format (string vs [{json:{...}}]), unavailability of $fromAI/$input/$helpers in the Code Tool sandbox, naming rules for AI invocation, and when to use toolWorkflow/HTTP Request Tool instead.
$npx -y skills add czlonkowski/n8n-mcp --skill n8n-code-toolInstalls into the current project.
Run `npx skills use "https://github.com/czlonkowski/n8n-mcp" --skill "czlonkowski/n8n-mcp/n8n-code-tool"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/czlonkowski/n8n-mcp" that are relevant to the current task. Run `npx skills add "https://github.com/czlonkowski/n8n-mcp"` and select the relevant skills, then follow their instructions.