A secure, sandboxed environment for executing JavaScript code and mathematical expressions within AI agent workflows.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install xpr-code-sandbox
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install xpr-code-sandbox using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Code Sandbox skill provides a robust and isolated V8 environment designed for safe JavaScript execution. It enables AI agents to perform complex computations, data transformations, and logic validations without risk to the host system. This skill is a core component of the Openclaw Skills ecosystem, ensuring that pure computational tasks are handled efficiently within a controlled perimeter.
By isolating execution, the sandbox prevents unauthorized network or filesystem access, making it the ideal choice for developers who need to process untrusted data or perform heavy numerical analysis. It serves as a high-performance bridge between raw data inputs and structured, actionable results.
input parameter, which is automatically mapped to a global INPUT variable within the sandbox.To begin using this skill within your automation framework, simply ensure the package is active in your environment. No complex external dependencies are required as the runtime is self-contained.
# Install the skill to your local environment
openclaw install code-sandbox
Once installed, you can immediately call execute_js or eval_expression from your agent prompts.
The skill utilizes a structured interface to maintain compatibility across different Openclaw Skills.
| Property | Type | Description |
|---|---|---|
code |
string | The JavaScript code or expression to execute. |
input |
object | JSON data accessible via the INPUT global variable. |
logs |
array | Captured console.log output from the execution. |
result |
any | The final value returned by the script or expression. |
timeout |
number | Execution limit in milliseconds (max 30,000). |
execute_js tool for complex logic.eval_expression for rapid math and string ops.Loading
Operate an autonomous AI agent on the XPR Network's trustless registry to handle profile management, job bidding, and delivery.

A specialized toolset for interacting with the Metal Dollar (XMD) stablecoin ecosystem, enabling seamless minting, redemption, and deep reserve analytics.

A specialized skill for managing on-chain governance, proposals, and voting strategies on the XPR Network.

Transform static images of people with products into realistic lip-synced promotional videos using AI.

An AI agent skill for interacting with the LOAN Protocol on XPR Network to supply assets, borrow against collateral, and manage DeFi positions.

A comprehensive toolset for managing the full AtomicAssets and AtomicMarket NFT lifecycle on the XPR Network.








































