agentuity-cli-cloud-sandbox-snapshot-build
maintained by agentuity
star
4
account_tree
1
verified_user
MIT License
name: agentuity-cli-cloud-sandbox-snapshot-build
description: Build a snapshot from a declarative file. Requires authentication. Use for Agentuity cloud platform operations
version: "0.1.24"
license: Apache-2.0
allowed-tools: "Bash(agentuity:*)"
argument-hint: ""
metadata:
command: "agentuity cloud sandbox snapshot build"
tags: "slow requires-auth"
Cloud Sandbox Snapshot Build
Build a snapshot from a declarative file
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud sandbox snapshot build <directory> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<directory> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--file |
string | Yes | - | Path to build file (defaults to agentuity-snapshot.[json |
--env |
array | Yes | - | Environment variable substitution (KEY=VALUE) |
--name |
string | Yes | - | Snapshot name (overrides build file) |
--tag |
string | Yes | - | Snapshot tag (defaults to "latest") |
--description |
string | Yes | - | Snapshot description (overrides build file) |
--message |
string | Yes | - | Build message for this snapshot |
--commit |
string | Yes | - | Git commit SHA (auto-detected if not provided) |
--branch |
string | Yes | - | Git branch (auto-detected if not provided) |
--repo |
string | Yes | - | Git repo URL (auto-detected if not provided) |
--provider |
string | Yes | - | Git provider (github, gitlab, bitbucket - auto-detected) |
--commitUrl |
string | Yes | - | URL to the commit |
--metadata |
array | Yes | - | Metadata key-value pairs (KEY=VALUE) |
--force |
boolean | Yes | - | Force rebuild even if content is unchanged |
--public |
boolean | Yes | - | Make snapshot public (enables virus scanning, no encryption) |
--confirm |
boolean | Yes | - | Confirm public snapshot publishing (required for --public) |
Examples
Build a snapshot from the current directory using agentuity-snapshot.yaml:
bunx @agentuity/cli cloud sandbox snapshot build .
Build using a custom build file:
bunx @agentuity/cli cloud sandbox snapshot build ./project --file custom-build.yaml
Build with environment variable substitution and custom tag:
bunx @agentuity/cli cloud sandbox snapshot build . --env API_KEY=secret --tag production
Validate the build file without uploading:
bunx @agentuity/cli cloud sandbox snapshot build . --dry-run
Force rebuild even if content is unchanged:
bunx @agentuity/cli cloud sandbox snapshot build . --force
Output
Returns JSON object:
{
"snapshotId": "string",
"name": "string",
"tag": "unknown",
"runtime": "string",
"sizeBytes": "number",
"fileCount": "number",
"createdAt": "string",
"unchanged": "boolean",
"userMetadata": "object",
"error": "string",
"malwareDetected": "boolean",
"virusName": "string"
}
| Field | Type | Description |
|---|---|---|
snapshotId |
string | Snapshot ID |
name |
string | Snapshot name |
tag |
unknown | Snapshot tag |
runtime |
string | Runtime identifier |
sizeBytes |
number | Snapshot size in bytes |
fileCount |
number | Number of files in snapshot |
createdAt |
string | Snapshot creation timestamp |
unchanged |
boolean | True if snapshot was unchanged |
userMetadata |
object | User-defined metadata key-value pairs |
error |
string | Error message if build failed |
malwareDetected |
boolean | True if malware was detected |
virusName |
string | Name of detected virus |
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
4
GitHub Forks
1
Created
Jan 2026
Last Updated
8 months ago
tools
tools cloud
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!