xpr-code-sandbox
Execute JavaScript code in a sandboxed VM for data processing and computation.
Setup & Installation
Install command
clawhub install paulgnz/xpr-code-sandboxIf the CLI is not installed:
Install command
npx clawhub@latest install paulgnz/xpr-code-sandboxOr install with OpenClaw CLI:
Install command
openclaw skills install paulgnz/xpr-code-sandboxor paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/paulgnz/xpr-code-sandboxWhat This Skill Does
Runs JavaScript code in an isolated V8 sandbox with no network or filesystem access. Supports both full scripts via `execute_js` and quick single-expression evaluation via `eval_expression`. Data is passed in via JSON input and results are returned directly.
Lets an agent perform arbitrary computation mid-workflow without spinning up a separate runtime or exposing the host environment.
When to Use It
- Calculate compound interest across a loan schedule
- Transform and reshape a JSON API response
- Validate a sorting algorithm before deploying
- Convert a CSV of numbers into aggregated statistics
- Compute date differences and format timestamps
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Calculate compound interest across a loan schedule
- 1Calculate compound interest across a loan schedule
- 2Transform and reshape a JSON API response
- 3Validate a sorting algorithm before deploying
- 4Convert a CSV of numbers into aggregated statistics
- 5Compute date differences and format timestamps
Execute JavaScript code in a sandboxed VM for data processing and computation.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.