Notre avis
Exécute une commande unique dans un environnement sandbox éphémère sur la plateforme Agentuity, avec création et destruction automatiques.
Points forts
- Isolation totale grâce à des sandbox jetables créés à la volée
- Configuration fine des ressources (CPU, mémoire, disque, timeout)
- Support de multiples runtimes (Bun, Python) et d'outils système via snapshots et dépendances
- Intégration avec l'écosystème Agentuity pour des workflows cloud
Limites
- Nécessite une authentification préalable (`agentuity auth login`)
- Temps d'exécution potentiellement long à cause de la création du sandbox
- Pas de persistance des données après destruction du sandbox
Idéal pour exécuter des commandes isolées de manière sécurisée dans le cloud, par exemple pour tester du code ou lancer des scripts sans polluer l'environnement local.
À éviter pour des processus longue durée nécessitant un état persistant ou des interactions en temps réel avec l'utilisateur.
Analyse de sécurité
PrudenceThe skill is a wrapper for a cloud sandbox CLI, executing user-supplied commands in an ephemeral environment. While the sandbox is intended to isolate actions, the ability to run any command with optional network access poses a risk if the AI agent is manipulated to run harmful payloads. The skill itself is not inherently destructive, but the broad permission to run arbitrary code warrants caution.
- •Executes arbitrary commands in a cloud sandbox with optional network access, which could be misused for malicious activities if the AI agent is tricked.
- •Consumes cloud resources (CPU, memory, disk) that could be abused for cryptomining or denial-of-service if not properly restricted by the platform.
- •Requires authentication, reducing unauthorized access, but still allows powerful actions within the sandbox.
Exemples
Run the command 'echo hello world' in a new Agentuity cloud sandbox using the default runtime.Use Agentuity CLI to execute 'bun run index.ts' in a sandbox with 1Gi memory and 1000m CPU, timeout 5 minutes.Create a sandbox with network enabled and run 'curl https://api.example.com' using Agentuity cloud sandbox run.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.1.24" 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-idor default org)
Usage
agentuity cloud sandbox run <command...> [options]
Arguments
| Argument | Type | Required | Description |
|----------|------|----------|-------------|
| <command...> | array | Yes | - |
Options
| Option | Type | Required | Default | Description |
|--------|------|----------|---------|-------------|
| --runtime | string | Yes | - | Runtime name (e.g., "bun:1", "python:3.14") |
| --runtimeId | string | Yes | - | Runtime ID (e.g., "srt_xxx") |
| --name | string | Yes | - | Sandbox name |
| --description | string | Yes | - | Sandbox description |
| --memory | string | Yes | - | Memory limit (e.g., "500Mi", "1Gi") |
| --cpu | string | Yes | - | CPU limit in millicores (e.g., "500m", "1000m") |
| --disk | string | Yes | - | Disk limit (e.g., "500Mi", "1Gi") |
| --network | boolean | No | false | Enable outbound network access |
| --timeout | string | Yes | - | Execution timeout (e.g., "5m", "1h") |
| --env | array | Yes | - | Environment variables (KEY=VALUE) |
| --file | array | Yes | - | Files to create in sandbox (sandbox-path:local-path) |
| --timestamps | boolean | No | false | Include timestamps in output (default: true) |
| --snapshot | string | Yes | - | Snapshot ID or tag to restore from |
| --dependency | array | Yes | - | Apt packages to install (can be specified multiple times) |
| --projectId | string | Yes | - | Project ID to associate this sandbox with |
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"
}
| Field | Type | Description |
|-------|------|-------------|
| sandboxId | string | Sandbox ID |
| exitCode | number | Exit code from the process |
| durationMs | number | Duration in milliseconds |
| output | string | Combined stdout/stderr output |
Expert Next.js App Router
Developpement
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Developpement
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Developpement
Génère de la documentation API complète au format OpenAPI/Swagger.