💻

Code Runner

Verified
by openclaw · v2.1.0 · MITRepository

Execute Python, JavaScript, and shell scripts in a sandboxed environment. Great for data analysis, prototyping, and automation tasks.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add code-runner npx -- -y @trustedskills/code-runner
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "code-runner": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/code-runner"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The code-runner skill allows an AI agent to execute and evaluate code snippets directly within its environment. It supports multiple programming languages, provides real-time feedback on execution results, and can handle both simple calculations and complex scripts.

When to use it

  • To test small pieces of code quickly without setting up a full development environment.
  • For educational purposes, such as demonstrating coding concepts or debugging logic.
  • When automating repetitive tasks that require scripting in languages like Python or Bash.
  • During development workflows to validate snippets before integrating them into larger projects.

Key capabilities

  • Executes code in multiple programming languages (e.g., Python, JavaScript, Bash).
  • Returns output and error messages from executed scripts.
  • Supports interactive coding sessions with real-time feedback.

Example prompts

  • "Run this Python script: print('Hello, world!')"
  • "Execute a bash command to list the current directory contents."
  • "Evaluate the result of 2 + 3 * 4 in JavaScript."

Tips & gotchas

  • Ensure that any code executed is safe and does not contain malicious or harmful operations.
  • Some environments may restrict access to system resources, so execution might be limited depending on configuration.

Tags

Requirements

Required Binaries
python3node
🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Verified Commit7b5e64ef

Installing this skill downloads the exact code at commit 7b5e64ef, not the current state of the repository. This prevents supply-chain attacks from unauthorized updates.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
v2.1.0
License
MIT
Author
openclaw
Installs
2.9k
Updated
Jan 25, 2026
Published
Oct 20, 2025

Verified

Manually reviewed by the TrustedSkills team.

Pinned on 2026-03-04
Pinned commit7b5e64ef

Install command fetches the verified snapshot, not the live repository.