vastai-upgrade-migration

Solid

Upgrade Vast.ai CLI, migrate API versions, and handle breaking changes. Use when upgrading vastai CLI, detecting deprecations, or migrating between API versions. Trigger with phrases like "upgrade vastai", "vastai migration", "vastai breaking changes", "update vastai CLI".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vast.ai Upgrade & Migration ## Current State !`vastai --version 2>/dev/null || echo 'vastai CLI not installed'` !`pip show vastai 2>/dev/null | grep -E "^(Name|Version)" || echo 'N/A'` ## Overview Upgrade the Vast.ai CLI and Python SDK, handle API changes, and migrate between GPU configurations. The CLI is distributed via PyPI as `vastai` and tracks the REST API at `cloud.vast.ai/api/v0`. ## Prerequisites - Current `vastai` CLI installed - Active instances inventory documented - Backup of any custom scripts using the API ## Instructions ### Step 1: Check Current Version and Upgrade ```bash # Check installed version vastai --version pip show vastai | grep Version # Upgrade to latest pip install --upgrade vastai # Verify upgrade vastai --version vastai show user # Verify auth still works ``` ### Step 2: Detect Breaking Changes ```python # Compare CLI help output before and after upgrade import subprocess def get_cli_commands(): result = subprocess.run(["vastai", "--help"], capture_output=True, text=True) commands = set() for line in result.stdout.split('\n'): stripped = line.strip() if stripped and not stripped.startswith('-') and not stripped.startswith('usage'): cmd = stripped.split()[0] if stripped.split() else "" if cmd.isalpha(): commands.add(cmd) return commands # Run before and after upgrade to detect removed commands ``` ### Step 3: API Version Migration ```python # The REST API is ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

vastai-migration-deep-dive

Migrate GPU workloads to or from Vast.ai, or between GPU providers. Use when switching from AWS/GCP/Azure GPU instances to Vast.ai, migrating between GPU types, or re-platforming ML infrastructure. Trigger with phrases like "migrate to vastai", "vastai migration", "switch to vastai", "vastai from aws", "vastai from lambda".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vastai-install-auth

Install and configure Vast.ai CLI and REST API authentication. Use when setting up a new Vast.ai integration, configuring API keys, or initializing Vast.ai GPU cloud access in your project. Trigger with phrases like "install vastai", "setup vastai", "vastai auth", "configure vastai API key", "vastai gpu setup".

2,266 Updated today
jeremylongshore
AI & Automation Featured

klaviyo-upgrade-migration

Upgrade Klaviyo SDK versions and migrate between API revisions. Use when upgrading the klaviyo-api package, migrating from v1/v2 legacy APIs to the current REST API, or handling breaking changes between revisions. Trigger with phrases like "upgrade klaviyo", "klaviyo migration", "klaviyo breaking changes", "update klaviyo SDK", "klaviyo API revision".

2,266 Updated today
jeremylongshore
AI & Automation Featured

mistral-upgrade-migration

Analyze, plan, and execute Mistral AI SDK upgrades with breaking change detection. Use when upgrading Mistral SDK versions, detecting deprecations, or migrating to new API versions. Trigger with phrases like "upgrade mistral", "mistral breaking changes", "update mistral SDK", "analyze mistral version".

2,266 Updated today
jeremylongshore
AI & Automation Solid

vastai-common-errors

Diagnose and fix Vast.ai common errors and exceptions. Use when encountering Vast.ai errors, debugging failed instances, or troubleshooting GPU rental issues. Trigger with phrases like "vastai error", "fix vastai", "vastai not working", "debug vastai", "vastai instance failed".

2,266 Updated today
jeremylongshore