/navaris-cli:navaris-snapshots-images-asyncfrom navaris-cli
Manages sandbox snapshots (create, restore, delete), promotes snapshots to reusable images, registers external images, and handles async operation lifecycle (wait, get, cancel) via the Navaris CLI.
Ships in navaris-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Covers snapshots, images, and the async operation surface that underpins every long-running CLI call.
| Command | Flags |
|---|---|
navaris snapshot create --sandbox <sandbox-id> --label <name> | --consistency stopped (default) or live; --wait, --timeout |
navaris snapshot list --sandbox <id> | — |
navaris snapshot get <snapshot-id> | — |
navaris snapshot restore <snapshot-id> | --wait, --timeout |
navaris snapshot delete <snapshot-id> | --wait, --timeout |
stopped consistency requires the sandbox to be in the stopped state — the service enforces this and returns an error if the sandbox is running. live captures a running sandbox (memory + disk) and is only supported by backends that implement it (Firecracker supports live; Incus supports stateful snapshots).
| Command | Flags |
|---|---|
navaris image promote --snapshot <snapshot-id> --name <n> --version <v> | --wait, --timeout; promotes a snapshot into a reusable image |
navaris image register --name <n> --version <v> --backend <type> --backend-ref <ref> | Register a pre-existing external image (rootfs/kernel) |
navaris image list [--name <partial>] | List images; filter by name |
navaris image get <image-id> | — |
navaris image delete <image-id> | --wait, --timeout |
Every long-running call (create, start, stop, destroy, snapshot, restore) produces an operation. The CLI usually waits for it to finish (controlled by --wait / --timeout on each command); pass --wait=false to return immediately with the operation ID for later polling.
| Command | Flags |
|---|---|
navaris operation list | --sandbox <id>, --state <state> (filter) |
navaris operation get <operation-id> | — |
navaris operation wait <operation-id> | --timeout <duration> |
navaris operation cancel <operation-id> | — |
navaris sandbox wait-state <sandbox-id> --state running [--timeout 60s] [--interval 500ms]
SNAP_ID=$(navaris snapshot create --sandbox "$SANDBOX_ID" --label pre-upgrade --wait --output json | jq -r '.SnapshotID')
if ! navaris sandbox exec "$SANDBOX_ID" -- ./upgrade.sh; then
echo "upgrade failed, restoring..." >&2
navaris snapshot restore "$SNAP_ID" --wait
fi
# after verifying the sandbox is in a good state
SNAP_ID=$(navaris snapshot create --sandbox "$SANDBOX_ID" --label base-candidate --wait --output json | jq -r '.SnapshotID')
IMAGE_ID=$(navaris image promote \
--snapshot "$SNAP_ID" \
--name my-service-base \
--version 2026.04 \
--wait --output json | jq -r '.ImageID')
# new sandboxes can now use --image my-service-base
navaris image register \
--name debian-minimal \
--version 12.5 \
--backend firecracker \
--backend-ref /var/lib/firecracker/images/debian-12.5.rootfs
Use this when you build rootfs images yourself (outside navaris) and want them addressable by image reference.
OP_ID=$(navaris sandbox create \
--name long-boot \
--image alpine-3.21 \
--wait=false --output json | jq -r '.OperationID')
# do other work...
if ! navaris operation wait "$OP_ID" --timeout 5m; then
echo "operation did not finish in 5m, cancelling" >&2
navaris operation cancel "$OP_ID"
fi
Cobra's SilenceErrors: true setting plus a bare os.Exit(1) in cmd/navaris/main.go means client errors are not currently printed to stderr. Check $? to confirm the command failed, and read the daemon logs for the underlying cause. The symptom strings below are what the client would render if the suppression were lifted.
| Symptom | Cause | Fix |
|---|---|---|
sandbox must be stopped for stopped-consistency snapshot | snapshot create called while the sandbox is running with the default --consistency stopped | Stop the sandbox first (navaris sandbox stop <id> --wait), then snapshot; or pass --consistency live if your backend supports it |
operation <id> failed: ... after image delete | Backend rejected the delete (e.g. backend reference missing or I/O error) | navaris operation get <id> to read the wrapped error text; inspect backend logs for the root cause |
operation stuck in pending | Worker backlog or dependency waiting | navaris operation get <id> to inspect; navaris operation list --state running to see what's busy |
snapshot restore times out | Restore is longer than --timeout | Pass --wait=false and poll with operation wait at a longer timeout |
image register succeeds but sandbox create fails to find it | --backend value doesn't match the backend navarisd is configured to use, or --backend-ref path is not reachable by the daemon | Verify the backend type (incus or firecracker) and that the path exists on the host running navarisd |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub erans/navaris --plugin navaris-cli5 skills in this plugin
/navaris-getting-startedUse when a user is setting up the navaris CLI for the first time, connecting to an existing navarisd, or hitting "how do I start" questions. Covers install, env vars, health check, first project, first sandbox, and common startup errors (401, connection refused, DNS)./navaris-managing-sandboxesUse when the user wants to create, list, start, stop, or destroy navaris sandboxes, manage projects, publish ports, or decide between the Incus and Firecracker backends. Covers the full sandbox lifecycle plus project/port CRUD./navaris-running-commandsUse when the user wants to run commands inside a navaris sandbox — one-shot exec, persistent interactive sessions, or attaching a terminal. Covers env/workdir/timeout on exec, session lifecycle, attach over WebSocket, and picking between exec and session./using-navaris-cliUse when the user asks Claude to do anything with navaris sandboxes via the CLI — create/start/stop sandboxes, exec commands, snapshot, attach, manage projects. Establishes environment, picks the right task skill, and points autonomous-agent use cases at the MCP server.Other plugins' skills for the same job