# Add to your Claude Code skills
git clone https://github.com/instavm/coderunnerGuides for using ai agents skills like coderunner.
Last scanned: 5/5/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-05-05T06:19:05.018Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": false
}See how coderunner compares with popular alternatives.
coderunner is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by instavm. A local sandbox for your AI agents. It has 903 GitHub stars.
Yes. coderunner passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/instavm/coderunner" and add it to your Claude Code skills directory (see the Installation section above).
coderunner is primarily written in Python. It is open-source under instavm on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh coderunner against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
CodeRunner helps you sandbox your AI agents and its actions inside a sandbox.
Key use case: Run AI agent code in a sandbox with explicitly chosen host mounts and network access. Isolation reduces risk; it does not prevent all data loss or exfiltration.
For cloud managed VMs for agents, we have launched - InstaVM - Instant computers for AI agents
Prerequisites: Mac with macOS and Apple Silicon (M1/M2/M3/M4), Python 3.10+
The installer generates the sandbox token in ~/.coderunner/api-token (or saves
the CODERUNNER_API_TOKEN you exported). Clients send it as
Authorization: Bearer <token>; cat ~/.coderunner/api-token prints it. Only
GET /health is public, and a missing or weak token fails closed. The Claude
Desktop proxy and the examples read the token from that file when the variable
is not set. See authentication and network boundaries.
git clone https://github.com/instavm/coderunner.git
cd coderunner
chmod +x install.sh
./install.sh
Stop the sandbox when you are done:
container stop coderunner
Resume the same sandbox later, preserving its filesystem. Python kernel state is volatile and does not survive a VM or server restart:
container start coderunner
To start over with a clean sandbox, delete the container and run the installer again:
container delete coderunner && ./install.sh
CPU and memory limits can be set with installer options or the CODERUNNER_CPUS and CODERUNNER_MEMORY environment variables:
./install.sh --cpus 4 --memory 8g
Additional host directories must be mounted under /workspace. They are read-only by default; add :rw only when the sandbox needs to write to the host:
./install.sh \
--mount "$HOME/projects/api:/workspace/api" \
--mount "$HOME/projects/output:/workspace/output:rw"
Extra mounts default to none. Resource and mount settings are fixed when the container is created; delete the container before changing them.
By default, code running in the sandbox has unrestricted network access. To run it on a host-only network with no internet access:
CODERUNNER_NETWORK=none ./install.sh
In this mode, the MCP server is available at http://127.0.0.1:8222/mcp. The setting is fixed when the container is created; the installer refuses to resume a container with a different network mode.
Claude Code runs commands on your machine, as you, with permission prompts as the only boundary. Pointing it at
CodeRunner's tools instead runs the code it writes in the VM: it can only touch the folders you mounted under
/workspace, the network you allowed, and the sandbox's own filesystem, whatever it was told to do. Use the
sandbox for code that handles untrusted input or that you would not run by hand, and for several agents that
must not share state (named sessions). It does not protect anything you mount read-write.
./install.sh (if not already done)
container exec -it coderunner /bin/bash
root@coderunner:/app# npm install -g @anthropic-ai/claude-code
MCP server will be available at: http://coderunner.local:8222/mcp
The installer creates ~/.coderunner/venv for the Claude Desktop proxy. For the other Python examples, install their dependencies in your own virtualenv:
pip install -r examples/requirements.txt



Copy the example configuration:
cd examples
cp claude_desktop/claude_desktop_config.example.json claude_desktop/claude_desktop_config.json
Edit the configuration file and replace the placeholder paths:
/path/to/your/python with $HOME/.coderunner/venv/bin/python using the full path to your home directory/path/to/coderunner with the actual path to your cloned repositoryExample after editing:
{
"mcpServers": {
"coderunner": {
"command": "/Users/yourname/.coderunner/venv/bin/python",
"args": ["/Users/yourname/coderunner/examples/claude_desktop/mcpproxy.py"]
}
}
}
Update Claude Desktop configuration:
Start using CodeRunner in Claude: Code Claude writes now runs in the sandbox.
If the tool shows as "Disabled" in the chat's tool menu although the server is listed as running: quit Claude
Desktop fully (Cmd-Q) and open it again, make sure command is the venv python the installer printed (it
has fastmcp), and read ~/Library/Logs/Claude/mcp-server-coderunner.log for the proxy's error. The proxy
needs the sandbox running (container list) and the token file ~/.coderunner/api-token.
Quick Start:
# 1. Install and start CodeRunner (one-time setup; run as yourself, it asks for sudo when it needs it)
git clone https://github.com/instavm/coderunner.git
cd coderunner
./install.sh
# 2. Add the sandbox with its token (the installer prints this command)
claude mcp add --transport http coderunner http://coderunner.local:8222/mcp \
--header "Authorization: Bearer $(cat ~/.coderunner/api-token)"
# 3. Reconnect to MCP servers
/mcp
The Claude Code plugin (claude plugin marketplace add https://github.com/instavm/coderunner-plugin) predates
the token and gets 401 until it sends the same header; use the command above until the plugin is updated.
Installation Steps:
Navigate to Plugin Marketplace:

Add the InstaVM repository:

Execute Python code with Claude Code:

That's it! Claude Code now has access to all CodeRunner tools:
Pass the returned session_id to execute_python_code to keep state isolated between agents. Up to five named sessions can run concurrently.
Learn more: See the plugin repository for detailed documentation.

Create or edit ~/.config/opencode/opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"coderunner": {
"type": "remote",
"url": "http://coderunner.local:8222/mcp",
"headers": { "Authorization": "Bearer <contents of ~/.coderunner/api-token>" },
"enabled": true
}
}
}
After saving the configuration:

Set your OpenAI API key:
export OPENAI_API_KEY="your-openai-api-key-here"
Run the client:
python examples/openai_agents/openai_client.py
Start coding: Enter prompts like "write python code to generate 100 prime numbers" and watch it execute safely in the sandbox!
Gemini CLI is recently launched by Google.
{
"theme": "Default",
"selectedAuthType": "oauth-personal",
"mcpServers": {
"coderunner": {
"httpUrl": "http://coderunner.local:8222/mcp",
"headers": { "Authorization": "Bearer <contents of ~/.coderunner/api-token>" }
}
}
}


Kiro is recently launched by Amazon.
{
"mcpServers": {
"coderunner": {
"command": "/path/to/venv/bin/python",
"args": [
"/path/to/coderunner/examples/claude_desktop/mcpproxy.py"
],
"disabled": false,
"autoApprove": [
"execute_python_code"
]
}
}
}
