moru-javascript

Execute JavaScript and TypeScript code in isolated Moru sandboxes.

Updated Feb 7, 2026
One-click install
npx skills add https://github.com/1wos/sdkhackthon --skill moru-javascript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moru-javascript
Source: https://github.com/1wos/sdkhackthon/tree/main/.agents/skills/moru-javascript
Command: npx skills add https://github.com/1wos/sdkhackthon --skill moru-javascript

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Moru JavaScript/TypeScript SDK enables running code in isolated Moru sandboxes, allowing safe experimentation and automation without risking host environments.

Core Features & Use Cases

  • Create and manage sandboxes with Sandbox.create() and connect to existing sandboxes
  • Read/write files inside the sandbox, run commands, manage volumes, and stream outputs
  • Use TypeScript typings and robust error handling to build AI agents, serverless functions, and testing harnesses

Quick Start

Create a sandbox, write a script, run it, and then terminate the sandbox to avoid lingering processes.

Frequently Asked Questions about moru-javascript

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run untrusted JavaScript safely in an isolated sandbox?

To run untrusted JavaScript safely, you can execute JavaScript and TypeScript code in isolated Moru sandboxes. This provides sandbox creation, file I/O wrappers, and command execution without risking host environments.

Can I execute TypeScript code in a Node sandbox environment?

Yes, you can execute TypeScript code in a Node sandbox environment using the Moru core SDK. It provides TypeScript typings and robust error handling to build AI agents, serverless functions, and testing harnesses.

What is the best way to test code snippets without affecting the host system?

The best way to test code snippets without affecting the host system is running them in isolated Moru sandboxes. You can create sandboxes, read and write files, run commands, and manage volumes before terminating the sandbox.

How do I build AI agents that execute serverless tasks securely?

You can build AI agents that execute serverless tasks securely by utilizing the Moru JavaScript SDK. It provides sandbox creation, file I/O wrappers, command execution, volume support, and template operations within isolated environments.

Does the Moru JavaScript SDK support streaming outputs and volume management?

Yes, the Moru JavaScript SDK supports streaming outputs and volume management. It enables users to read and write files inside the sandbox, run commands, manage volumes, and stream outputs directly through the Moru core SDK.

Why do I need isolated sandboxes for running untrusted code?

You need isolated sandboxes for running untrusted code to allow safe experimentation and automation without risking host environments. The Moru SDK provides robust error handling and sandbox isolation to prevent unauthorized system access.