Auto-discovered marketplace from rvantonder/execute_code_py
npx claudepluginhub rvantonder/execute_code_pyRestricts Claude to ONLY use the execute_code tool - a pure Python code execution environment with all other tools blocked
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Curated collection of 141 specialized Claude Code subagents organized into 10 focused categories
Share bugs, ideas, or general feedback.
A Claude Code plugin that restricts Claude to ONLY use Python code execution. All other tools are blocked, creating a pure computational environment.
execute_code - One Tool to Rule Them All. Execute Python code and capture results.Claude can only run Python code and is forced to write and execute code to do any real work. This creates a constrained environment ideal for deterministic, computational tasks.
# 1. Add the marketplace
/plugin marketplace add https://github.com/rvantonder/execute_code_py.git
# 2. Install the plugin
/plugin install execute_code_py@execute-code
# 3. Restart Claude Code
Now Claude can ONLY execute Python code!
The plugin requires:
The MCP package will be installed automatically when you install the plugin. If you need to install it manually:
pip install mcp>=0.1.0
Or using uv (faster):
uv pip install mcp>=0.1.0
You: randomly generate 1000000 numbers between 0 and 100000 and sort them
Claude
⏺ code-executor - execute_code (MCP)(code: "...")
⎿ PreToolUse:mcp__code-executor__execute_code hook succeeded: Success
⎿
import numpy as np
import time
# Generate 1,000,000 random numbers between 0 and 100,000
gen_start = time.time()
numbers = np.random.randint(0, 100001, size=1000000)
gen_time = time.time() - gen_start
# Sort the numbers
sort_start = time.time()
sorted_numbers = np.sort(numbers)
sort_time = time.time() - sort_start
...
This is a concept. Claude Code is not inherently set up to enable what Code-Only aspires to. For example:
Native support would provide a much better UX:
Nevertheless, the concept stands!
How it works--
Exposes the execute_code tool with:
result variable, handles large outputs to temp filesA PreToolUse hook that:
mcp__code-executor__execute_codeTeaches Claude about:
{
"name": "execute_code",
"description": "Execute Python code. Set a 'result' variable to return data.",
"parameters": {
"code": {
"type": "string",
"description": "Python code to execute",
"required": true
},
"working_dir": {
"type": "string",
"description": "Working directory (default: current directory)",
"required": false
}
}
}
{
"success": true/false,
"result": "<value of result variable>",
"stdout": "<captured output>",
"stderr": "<captured errors>",
"result_file": "<path if result too large>",
"error": "<error message if failed>"
}