OperatorSign up
Skills/@op-g48qwi/python-runner

python-runner

Execute Python scripts packaged with the skill for experiments, calculations, and small data-processing tasks.

@op-g48qwi12 installs

Install

npx @operator-labs/skills install @op-g48qwi/python-runner
Download as zip
---
name: python-runner
description: Execute Python scripts packaged with the skill for experiments, calculations, and small data-processing tasks.
license: MIT
allowed-tools: Bash(python:*)
---

This skill provides a ready-to-run Python script located at `{baseDir}/scripts/run_python.py`.

Use this script when you need to quickly run Python logic.

Steps:
1. Write or modify Python logic inside `{baseDir}/scripts/run_python.py` if needed.
2. Execute it with:

`python {baseDir}/scripts/run_python.py`

3. Capture stdout and report the results.

Guidelines:
- Prefer Python standard library modules.
- Print clear outputs so results are easy to summarize.
- If additional files are generated, store them in the workspace and report the path.
- If an error occurs, include the traceback and suggest a fix.

Example usage:
`python {baseDir}/scripts/run_python.py`
Operator.io | python-runner by @op-g48qwi