N8N Code Python
CheckedAutomates Python code generation & execution within n8n workflows for complex backend tasks via profsynapse AI.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add synaptic-labs-ai/pact-plugin --skill n8n-code-python -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
profsynapse
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill passed all 6 checks. We read its files at one commit and looked for the things that make a skill dangerous to run — not for whether it works.
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No undeclared network calls: passed
Makes no network calls.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned profsynapse/pact-plugin at 0cd9e88baa.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 0cd9e88baa
- Scanned
- 6 files, 3,895 lines
About this skill
What it does
This skill allows AI agents to execute Python code within an n8n workflow. It provides a way to dynamically generate and run Python scripts, enabling complex data transformations and integrations that are difficult or impossible with standard n8n nodes. The agent can leverage this capability for tasks like API interaction, data parsing, and custom logic execution.
When to use it
- Complex Data Transformations: When you need to perform intricate calculations or manipulations on data beyond what's available in built-in n8n nodes.
- Custom Integrations: To connect with APIs or services that lack direct n8n integrations, by writing Python code to handle the communication.
- Dynamic Logic Execution: When workflow behavior needs to change based on input data, requiring custom Python scripts for decision making.
- Data Parsing and Extraction: To parse complex file formats (like JSON or XML) or extract specific information from unstructured text using Python libraries.
Key capabilities
- Execute Python code within n8n workflows
- Dynamic script generation
- Integration with external APIs via Python
- Custom data transformation logic
Example prompts
- "Write a Python script to fetch the current weather for London and return the temperature."
- "Generate a Python function that parses this JSON string and extracts the 'price' field."
- “Create a python script to call the OpenAI API with this prompt.”
Tips & gotchas
- Requires an n8n environment to be running.
- Ensure your AI agent has access to necessary Python libraries within the n8n environment.