RU

run-python-script

Runs ad hoc Python helper scripts or commands consistently across environments.

Install

mkdir -p .claude/skills/run-python-script && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16596" && unzip -o skill.zip -d .claude/skills/run-python-script && rm skill.zip

Installs to .claude/skills/run-python-script

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Use when: running an ad hoc Python script, using python -c for inspection or file transforms, editing ZIP/XLSX/XML files with Python, or choosing between python and python3 on macOS/Linux/Windows. Keywords: python script, python3, python -c, zipfile, one-off Python command, interpreter check.
293 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Beginner

Key capabilities

  • →Run ad hoc Python scripts
  • →Execute one-off Python commands for inspection
  • →Perform file transformations using Python
  • →Edit ZIP/XLSX/XML files with Python
  • →Ensure `python3` is used as the interpreter
  • →Handle shell quoting issues by preferring temporary files

How it works

This skill standardizes the execution of short Python helpers by consistently using `python3`, preferring temporary `.py` script files for complex tasks, and ensuring read-only operations unless explicitly requested. It avoids common shell quoting issues and provides file safety rules.

Inputs & outputs

You give it
Python script or command to execute
You get back
A concise summary of affected paths, replacement counts, or measured results

When to use run-python-script

  • →Running ad hoc file transformation scripts
  • →Inspecting file contents with python3
  • →Executing one-off data extraction tasks
  • →Verifying file content changes

About run-python-script

Standardizes the execution of short Python helpers, file transforms, or inspection tasks. It enforces the use of python3 and prefers temporary files over complex inline commands to avoid shell quoting issues.

Use when: running an ad hoc Python script, using python -c for inspection or file transforms, editing ZIP/XLSX/XML files with Python, or choosing between python and python3 on macOS/Linux/Windows. Keywords: python script, python3, python -c, zipfile, one-off Python command, interpreter check.

When not to use it

  • →When the task requires activating virtual environments without explicit user request
  • →When the task involves calling `python` instead of `python3`
  • →When the task requires complex inline commands that make shell parsing fragile

Limitations

  • →The skill explicitly forbids using `python` as the interpreter
  • →The skill does not activate virtual environments unless explicitly asked
  • →The skill advises against long `python3 -c` commands for complex operations

How it compares

This skill enforces a standardized and safer way to run Python scripts by explicitly using `python3` and preferring temporary files for complex operations, unlike a generic approach that might use `python` or long inline commands prone to e

Compared to similar skills

run-python-script side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
run-python-script (this skill)03moReviewBeginner
massgen-develops-massgen17moReviewAdvanced
wox-plugin-creator13moReviewIntermediate
klingai-text-to-video12moCautionBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

massgen-develops-massgen

massgen

Guide for using MassGen to develop and improve itself. This skill should be used when agents need to run MassGen experiments programmatically (using automation mode) OR analyze terminal UI/UX quality (using visual evaluation tools). These are mutually exclusive workflows for different improvement goals.

13

wox-plugin-creator

Wox-launcher

Create and scaffold Wox plugins (nodejs, python, script-nodejs, script-python). Use when cloning official SDK templates, generating script plugin templates, or preparing plugins for publish.

13

klingai-text-to-video

jeremylongshore

Generate videos from text prompts with Kling AI. Use when creating videos from descriptions or learning prompt techniques. Trigger with phrases like 'kling ai text to video', 'klingai prompt', 'generate video from text', 'text2video kling'.

12

code-execution

mhattingpete

Execute Python code locally with marketplace API access for 90%+ token savings on bulk operations. Activates when user requests bulk operations (10+ files), complex multi-step workflows, iterative processing, or mentions efficiency/performance.

10

mcp-chaining

parcadei

Research-to-implement pipeline chaining 5 MCP tools with graceful degradation

10

windsurf-sdk-patterns

jeremylongshore

Apply production-ready Windsurf SDK patterns for TypeScript and Python. Use when implementing Windsurf integrations, refactoring SDK usage, or establishing team coding standards for Windsurf. Trigger with phrases like "windsurf SDK patterns", "windsurf best practices", "windsurf code patterns", "idiomatic windsurf".

10

Search skills

Search the agent skills registry