agentuity-cli-cloud-sandbox-run

Run a one-shot command in a sandbox (creates, executes, destroys). Requires authentication. Use for Agentuity cloud platform operations

allowed_tools: Bash(agentuity:*)

$ Instalar

git clone https://github.com/agentuity/discord-help-agent /tmp/discord-help-agent && cp -r /tmp/discord-help-agent/.agents/skills/agentuity-cli-cloud-sandbox-run ~/.claude/skills/discord-help-agent

// tip: Run this command in your terminal to install the skill


name: agentuity-cli-cloud-sandbox-run description: "Run a one-shot command in a sandbox (creates, executes, destroys). Requires authentication. Use for Agentuity cloud platform operations" version: "0.0.110" license: Apache-2.0 allowed-tools: "Bash(agentuity:*)" argument-hint: "<command...>" metadata: command: "agentuity cloud sandbox run" tags: "slow requires-auth"

Cloud Sandbox Run

Run a one-shot command in a sandbox (creates, executes, destroys)

Prerequisites

  • Authenticated with agentuity auth login
  • Organization context required (--org-id or default org)

Usage

agentuity cloud sandbox run <command...> [options]

Arguments

ArgumentTypeRequiredDescription
<command...>arrayYes-

Options

OptionTypeRequiredDefaultDescription
--memorystringYes-Memory limit (e.g., "500Mi", "1Gi")
--cpustringYes-CPU limit in millicores (e.g., "500m", "1000m")
--diskstringYes-Disk limit (e.g., "500Mi", "1Gi")
--networkbooleanNofalseEnable outbound network access
--timeoutstringYes-Execution timeout (e.g., "5m", "1h")
--envarrayYes-Environment variables (KEY=VALUE)
--filearrayYes-Files to create in sandbox (sandbox-path:local-path)
--timestampsbooleanNofalseInclude timestamps in output (default: true)
--snapshotstringYes-Snapshot ID or tag to restore from
--dependencyarrayYes-Apt packages to install (can be specified multiple times)

Examples

Run a simple command:

bunx @agentuity/cli cloud sandbox run -- echo "hello world"

Run with resource limits:

bunx @agentuity/cli cloud sandbox run --memory 1Gi --cpu 1000m -- bun run index.ts

Run with network access enabled:

bunx @agentuity/cli cloud sandbox run --network -- curl https://api.example.com

Output

Returns JSON object:

{
  "sandboxId": "string",
  "exitCode": "number",
  "durationMs": "number",
  "output": "string"
}
FieldTypeDescription
sandboxIdstringSandbox ID
exitCodenumberExit code from the process
durationMsnumberDuration in milliseconds
outputstringCombined stdout/stderr output