python-skill

Execute Python code for calculations, data processing, and automation in sandboxed workflows.

356|66|Updated Oct 13, 2025
One-click install
npx skills add https://github.com/zeenie-ai/MachinaOS --skill python-skill-zeenie-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-skill
Source: https://github.com/zeenie-ai/MachinaOS/tree/main/server/skills/coding_agent/python-skill
Command: npx skills add https://github.com/zeenie-ai/MachinaOS --skill python-skill-zeenie-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It removes the need to manually compute, transform, or format data by letting you execute small pieces of Python inside your workflow.

Core Features & Use Cases

  • Python calculations & transformations: Perform math, aggregations, and data reshaping from workflow inputs.
  • JSON, date/time, and text parsing: Decode/encode JSON, compute date offsets, and extract patterns with regex.
  • Automation-ready outputs: Return structured results back to the workflow by setting output.

Quick Start

Use the python-skill to calculate a tip and total by passing bill and tip_percent in input_data, then return the numbers as structured output.

Frequently Asked Questions about python-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Python calculations and data processing inside a workflow?

You can run Python calculations and data processing by passing a single code string with a required code field. The sandboxed environment executes the script and returns structured results via an output variable for downstream nodes.

Can I parse JSON and compute date offsets without writing import statements?

Yes, you can parse JSON and compute datetime offsets without import statements. The sandboxed Python environment uses injected libraries directly, allowing you to handle JSON and date computations seamlessly.

What is the best way to extract text patterns using regex in an automated workflow?

The best way to extract text patterns using regex in an automated workflow is executing Python code within a sandboxed context. You pass the regex logic as a code string and return the extracted patterns as structured output.

Does sandboxed Python support external dependencies and custom libraries?

Sandboxed Python does not support external dependencies or custom libraries. It operates in a restricted environment using injected libraries for tasks like math operations and data parsing, ensuring secure workflow automation.

What are the limitations of running Python code in a restricted sandbox environment?

Limitations of running Python in a restricted sandbox environment include lacking external dependencies and requiring a single code string input. You must return results via an output variable instead of standard print statements.

How do I structure input data for Python workflow automation tasks?

To structure input data for Python workflow automation tasks, you provide a single code string containing a required code field. You pass variables like bill and tip_percent in input_data, then return structured output downstream.