AgentSkillsCN

agentuity-cli-cloud-sandbox-snapshot-create

从沙箱创建快照。需要认证。用于Agentuity云平台操作

SKILL.md
--- frontmatter
name: agentuity-cli-cloud-sandbox-snapshot-create
description: Create a snapshot from a sandbox. Requires authentication. Use for Agentuity cloud platform operations
version: "0.0.110"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: "<sandboxId>"
metadata:
  command: "agentuity cloud sandbox snapshot create"
  tags: "slow requires-auth"

Cloud Sandbox Snapshot Create

Create a snapshot from a sandbox

Prerequisites

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

Usage

bash
agentuity cloud sandbox snapshot create <sandboxId> [options]

Arguments

ArgumentTypeRequiredDescription
<sandboxId>stringYes-

Options

OptionTypeRequiredDefaultDescription
--tagstringYes-Tag for the snapshot

Examples

Create a snapshot from a sandbox:

bash
bunx @agentuity/cli cloud sandbox snapshot create sbx_abc123

Create a tagged snapshot:

bash
bunx @agentuity/cli cloud sandbox snapshot create sbx_abc123 --tag latest

Output

Returns JSON object:

json
{
  "snapshotId": "string",
  "sandboxId": "string",
  "tag": "unknown",
  "sizeBytes": "number",
  "fileCount": "number",
  "createdAt": "string"
}
FieldTypeDescription
snapshotIdstringSnapshot ID
sandboxIdstringSource sandbox ID
tagunknownSnapshot tag
sizeBytesnumberSnapshot size in bytes
fileCountnumberNumber of files in snapshot
createdAtstringSnapshot creation timestamp