code-sandbox

Official

Safely execute JavaScript in a sandboxed VM.

AuthorXPRNetwork
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Running code for data processing and computation securely in a sandboxed JavaScript VM, removing risk to the host.

Core Features & Use Cases

  • Sandboxed execution tools: execute_js runs arbitrary code with input and captures logs, without network or filesystem access.
  • Quick evaluations: eval_expression evaluates a single expression with immediate results.
  • Safe-by-default: strict globals and restricted environment prevent access to process, require, or external resources.
  • Use Case: Train, validate, and prototype data transformations or algorithms inside a controlled runtime.

Quick Start

Provide JavaScript code via the input parameter and receive the result and logs from the sandboxed execution.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: code-sandbox
Download link: https://github.com/XPRNetwork/xpr-agents/archive/main.zip#code-sandbox

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.