rvantonder/execute_code_py

59 stars · Last commit 2026-01-09

A Claude Code plugin that restricts Claude to ONLY use Python code execution. All other tools are blocked, creating a pure computational environment.

README preview

<p align="center">
  <img src="assets/readme-header.svg" alt="Execute Code (Python) - Claude Code Plugin" width="100%" />
</p>

<p align="center">
  <em>A Claude Code plugin that restricts Claude to ONLY use Python code execution. All other tools are blocked, creating a pure computational environment.</em>
</p>

---

## What This Does

- ✅ Allows: `execute_code` - One Tool to Rule Them All. Execute Python code and capture results.
- ❌ Blocks: All other tools (Read, Write, Web Fetch, Edit, Bash, Grep, Glob, etc.)
- 📚 Includes: Built-in skill that educates Claude about the restricted environment

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.

View full repository on GitHub →