Skip to content
Agentmart
Submit a tool

python-runner

Execute Python code to perform tasks that are not covered by other tools.

Skill by deepseek-cowork team

IndexedApache-2.0★ 18
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/chuancyzhang-python-runner

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Execute Python code to perform tasks that are not covered by other tools.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/python-runner

Tools it pre-approves 2

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • run_python_code,
  • install_package

What's inside

Skill name
python-runner
Description
Execute Python code to perform tasks that are not covered by other tools.
License
Apache-2.0
Allowed tools
run_python_code,, install_package
Metadata
author: deepseek-cowork team · version: 1.0
Instructions
51 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • impl.py

SKILL.md (first lines)

# Python Runner Skill

This skill allows the agent to execute arbitrary Python code within the workspace and manage Python packages.
Use this when you need to calculate data, process text, or perform tasks where no specific tool exists.

## Capabilities
1. **Run Python Code**: Execute a Python script and get the stdout/stderr.
2. **Install Package**: Install a Python package from PyPI and ensure it's available for immediate use (Hot Reload).

## Usage Guidelines
- **Execution**: Code runs in the user's workspace using the application's runtime. This runtime is not an operating-system sandbox.
- **Authorization**: With God Mode off, each code execution or installation requests one explicit execution-layer approval. Call the tool directly; do not request a separate generic confirmation. An approval covers that entire execution under the current OS user, not a technically enforced list of writable files. A rejection, timeout or cancellation means the action was not executed; do not bypass it or report success.
- **Dependencies**: Only the standard library and packages verified in the active sandbox or Skill dependency environment may be assumed available. Validate the actual import or dependency result for the task.
- **Availability**: This is a core built-in Skill. Its tools appear directly in the execution-mode tool list without a prior `tool_search`.
- **Tool Choice**: Prefer `run_python_code` for data processing, calculations, structured text transforms, and lightweight file analysis; use `bash` only when the real shell or an existing CLI is needed.
- **Parallelism**: Python execution and package installation are not read-only batch operations and must not be called through `parallel_tools`.

## God Mode (System Operations)
When God Mode is enabled:
- **Full Access**: Path traversal checks are disabled (access C:/, D:/, etc.).
- **Dangerous Modules**: `subprocess`, `winreg`, `ctypes` are allowed.
- **Use Cases**: Registry editing, Process management (kill/list), System service management.
- **Caution**: Always explain the intent clearly to the user before running dangerous code.

## Commands

### `install_package`

Installs a Python package using pip and hot-reloads the environment so it can be imported immediately.

**Parameters:**
- `package_name` (string): The name of the package to install (e.g., `pandas`, `requests`).
- `import_name` (string, optional): The module name if different from package name (e.g., package `beautifulsoup4` -> import `bs4`).

**Example:**
```json
{
  "name": "install_package",
  "arguments": {
    "package_name": "pandas"
  }
}
```

## Current Runtime Notes
- The app injects one sandbox runtime snapshot into the system context, including Python, Node.js, and Bash availability, versions, and paths. It does not inject a static package inventory.
- Package availability is task- and Skill-specific; use the actual Tool result or declared dependency preparation instead of inferring it from a global list.
- Do not ask the user to install Python/Node/Bash merely because PATH looks empty; verify runtime availability through the sandbox context or direct tool output first.
- When a task is ambiguous, use read-oriented tools first and avoid executing arbitrary Python until the execution target is clear.

From chuancyzhang/deepseek-cowork, Apache-2.0.

More from chuancyzhang/deepseek-cowork

Signals

Stars
18
Forks
4
Open issues
1
Last commit (this folder)
Oct 6, 2026 (22 days ago)
Last release
Oct 24, 2026 (4 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.0
License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from deepseek-cowork team

Cite this page

python-runner skill. Agent Mart. https://agentmart.dev/skills/chuancyzhang-python-runner (last updated 2026-10-24)