Execute Python code snippets safely in an isolated subprocess with timeout protection. Use when the user asks to run, test, or evaluate Python code, calculate expressions, or prototype logic.
run_command / terminalNo API keys or credentials needed. Uses the bundled run_code.py script.
python {skill_path}/run_code.py [options]
Input methods:
| Method | Example |
|--------|---------|
| Inline code | --code "print(2+2)" |
| From file | --file script.py |
| Stdin | Pipe code via stdin |
Options:
| Option | Description | Default |
|--------|-------------|---------|
| --timeout N | Max execution time (seconds) | 30 |
| --format json | Output as JSON (stdout, stderr, exit_code) | text |
| --no-capture | Stream output directly | off |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer