agentuity-cli-cloud-sandbox-snapshot-delete
Delete a snapshot. Requires authentication. Use for Agentuity cloud platform operations
When & Why to Use This Skill
This Claude skill provides a streamlined interface for deleting snapshots within the Agentuity cloud platform. By leveraging the Agentuity CLI, it enables developers and DevOps professionals to manage sandbox environments efficiently, automate the removal of redundant data, and maintain optimal resource utilization through programmatic infrastructure cleanup.
Use Cases
- Automated Resource Cleanup: Integrate into CI/CD pipelines to automatically delete temporary sandbox snapshots after testing phases are completed.
- Storage Cost Optimization: Systematically remove outdated or obsolete snapshots to reduce storage overhead and manage cloud costs on the Agentuity platform.
- Environment Lifecycle Management: Use as a standard step in decommissioning development or staging environments to ensure no residual snapshots remain.
- Manual Sandbox Maintenance: Quickly delete specific, named snapshots via natural language commands without needing to manually construct complex CLI strings.
| name | agentuity-cli-cloud-sandbox-snapshot-delete |
|---|---|
| description | Delete a snapshot. Requires authentication. Use for Agentuity cloud platform operations |
| version | "0.0.110" |
| license | Apache-2.0 |
| allowed-tools | "Bash(agentuity:*)" |
| argument-hint | "<snapshotId>" |
| command | "agentuity cloud sandbox snapshot delete" |
| tags | "destructive deletes-resource slow requires-auth" |
Cloud Sandbox Snapshot Delete
Delete a snapshot
Prerequisites
- Authenticated with
agentuity auth login - Organization context required (
--org-idor default org)
Usage
agentuity cloud sandbox snapshot delete <snapshotId> [options]
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<snapshotId> |
string | Yes | - |
Options
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
--confirm |
boolean | No | false |
Skip confirmation prompt |
Examples
Delete a snapshot:
bunx @agentuity/cli cloud sandbox snapshot delete snp_abc123
Delete without confirmation prompt:
bunx @agentuity/cli cloud sandbox snapshot rm snp_abc123 --confirm
Output
Returns JSON object:
{
"success": "boolean",
"snapshotId": "string",
"message": "string"
}
| Field | Type | Description |
|---|---|---|
success |
boolean | Whether the operation succeeded |
snapshotId |
string | Deleted snapshot ID |
message |
string | Status message |