manage-volumes
2
总安装量
2
周安装量
#71913
全站排名
安装命令
npx skills add https://github.com/liorz/vastai-claude-skill --skill manage-volumes
Agent 安装分布
openclaw
2
gemini-cli
2
claude-code
2
github-copilot
2
codex
2
kimi-cli
2
Skill 文档
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 volumesbefore creating to avoid duplicates