askill
manage-volumes

manage-volumesSafety 90Repository

Manage Vast.ai persistent storage volumes — search, create, delete, clone, and attach volumes to instances. Use for persistent data across instance lifecycles.

0 stars
1.2k downloads
Updated 2/7/2026

Package Files

Loading files...
SKILL.md

Manage Vast.ai Volumes

Help the user manage persistent storage volumes on Vast.ai.

User Request

$ARGUMENTS

Available Actions

Search Volume Offers

vastai search volumes '<QUERY>' -o 'storage_cost' --raw

Key fields: disk_space, disk_bw, storage_cost, geolocation, reliability, duration

Create a Volume

vastai create volume <OFFER_ID> -s <SIZE_GB>     # Local volume
vastai create network-volume <OFFER_ID> -s <SIZE_GB>  # Network volume

Default size: 15 GB.

List User's Volumes

vastai show volumes                    # All volumes
vastai show volumes -t local           # Local only
vastai show volumes -t network         # Network only

Clone a Volume

vastai clone volume <SOURCE_VOLUME_ID> <DEST_OFFER_ID> -s <SIZE_GB>

Delete a Volume

vastai delete volume <ID>

Confirm with user first — this is irreversible and deletes all data.

Attach Volume When Creating Instance

# New volume
vastai create instance <OFFER_ID> --image <IMG> --ssh \
  --create-volume <VOLUME_OFFER_ID> --volume-size <GB> --mount-path /root/data

# Existing volume
vastai create instance <OFFER_ID> --image <IMG> --ssh \
  --link-volume <VOLUME_ID> --mount-path /root/data

File Transfer To/From Volumes

vastai copy local:./data V.<VOLUME_ID>:/data
vastai copy V.<VOLUME_ID>:/results local:./results

Tips

  • Volumes persist across instance destroy/recreate — use them for datasets and checkpoints
  • Local volumes must be on the same machine as the instance
  • Network volumes can be accessed from different machines but are slower
  • Always check vastai show volumes before creating to avoid duplicates

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

83/100Analyzed 2/20/2026

Well-structured technical reference skill for managing Vast.ai persistent storage volumes. Provides clear, actionable vastai CLI commands for all major operations (search, create, list, clone, delete, attach, file transfer). Includes safety warning for destructive operations and practical tips. Missing some advanced options but covers core functionality comprehensively. Located in proper skills folder, making it discoverable and reusable."

90
85
85
75
85

Metadata

Licenseunknown
Version-
Updated2/7/2026
PublisherLiorZ

Tags

No tags yet.