Przejdź do treści
Biblioteka skilli
DevOps i chmura · Analiza

vastai-common-errors

/vastai-common-errors

Klasyfikuje błędy Vast.ai (uwierzytelnianie, oferty, stan instancji, SSH, obrazy, kredyty, API) przed wyborem działania naprawczego, gdy automatyzacja utknęła lub obciążenie GPU nie startuje.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Klasyfikuje błędy Vast.ai (uwierzytelnianie, oferty, stan instancji, SSH, obrazy, kredyty, API) przed wyborem działania naprawczego, gdy automatyzacja utknęła lub obciążenie GPU nie startuje.

Wyzwalacze z opisu

diagnose Vast.aiwhy is my instance schedulingfix a Vast.ai CLI error

Argumenty

/vastai-common-errors [command-instance-id-and-redacted-error]
Oryginalny opis (EN)

Classify Vast.ai authentication, offer, instance-state, SSH, image, credit, and API failures before choosing a recovery action. Use when automation is stuck or a GPU workload cannot start. Trigger with: "diagnose Vast.ai", "why is my instance scheduling", "fix a Vast.ai CLI error".

Jak działa

  1. Overview
  2. Prerequisites
  3. Instructions
  4. Authentication
  5. Tool Discipline
  6. Output
  7. Examples
  8. Error Handling
  9. Resources
Sekcje z nagłówków SKILL.md, w oryginale · 75 linii, 516 słów
Podgląd SKILL.md
---
name: vastai-common-errors
description: >-
  Classify Vast.ai authentication, offer, instance-state, SSH, image, credit, and API failures before choosing a recovery action. Use when automation is stuck or a GPU workload cannot start. Trigger with: "diagnose Vast.ai", "why is my instance scheduling", "fix a Vast.ai CLI error".
allowed-tools: Read, Grep, Write, Edit
version: 2.0.0
argument-hint: '[command-instance-id-and-redacted-error]'
model: inherit
effort: high
license: MIT
author: Jeremy Longshore <jeremy@intentsolutions.io>
tags:
  - saas
  - vastai
  - troubleshooting
  - instances
  - diagnostics
compatibility: 'Requires the Vast.ai CLI, redacted structured output, and access to the affected account or instance.'
---

# Vast.ai Failure Classifier

## Overview

Diagnose from provider state and error evidence instead of retrying every failure. Separate identity and permission errors, marketplace scarcity, transient startup, terminal host states, billing stops, SSH configuration, and workload exits.

## Prerequisites

- Exact command, non-secret arguments, exit status, timestamp, and redacted response
- Affected account context, instance ID, image identity, and expected state
- Authority to inspect but not automatically destroy or fund resources

## Instructions

### Step 1: Capture structured evidence

Run the failing command with `--raw` where supported and record CLI version. For request diagnosis, use `--explain` or `--curl` only after ensuring generated output cannot expose the key.

### Step 2: Classify control-plane failure

Treat 401 as credential failure, 403 as missing scoped permission, 429 as endpoint/identity rate limiting, and insufficient credit or spend-rate errors as billing policy—not host failure.

### Step 3: Classify instance state

Loading may reflect an image pull; scheduling after a stop may wait indefinitely for the original GPU; exited is a workload/container failure; unknown or offline indicates missing host heartbeat.

### Step 4: Check SSH and network facts

Wait for `running`, resolve the current SSH URL, verify the registered public key and selected private key, and do not disable host verification as a blanket fix.

### Step 5: Choose reversible recovery

Relax offer filters explicitly, repair permissions, change host, restore credit through the approved owner, or resume from checkpoint according to the class.

### Step 6: Close or escalate

Preserve identifiers and redacted evidence, confirm any replacement or cleanup, and escalate host or billing cases without speculative retries.

## Authentication

Do not paste API keys into diagnostic commands. A scoped read key is usually sufficient for user, instance, logs, offers, and audit evidence; request additional authority only for the selected recovery.

## Tool Discipline

Use Read and Grep to inspect manifests, configuration, provider output, and existing tests before proposing a mutation. Use Write or Edit only for the approved plan, implementation, test, or redacted receipt; do not create, update, destroy, or fund Vast.ai resources without explicit operator approval.

## Output

- Failure class and evidence timeline
- Ranked recovery action with mutation boundary
- Redacted resolution or escalation receipt

Return command, CLI version, resource ID, observed status/error class, chosen response, outcome, and remaining billing risk.

## Examples

An instance stuck in `scheduling` after being stopped is classified as GPU reacquisition, not image failure; the operator copies recoverable data or creates a new instance instead of waiting without a deadline.

## Error Handling

| Failure | Response |
| --- | --- |
| Evidence contains a credential | Stop, redact, rotate if exposed, and recollect safely. |
| Error shape is inconsistent | Preserve HTTP status plus `msg` or `message` and classify conservatively. |
| Host is offline | Do not attempt repair on the host; preserve the instance ID and use external checkpoints. |
| Balance is zero | Escalate to the billing owner because resources and data may be at risk. |

## Resources

- [First-party source notes](references/official-docs.md)
- [Troubleshooting](https://docs.vast.ai/guides/reference/troubleshooting)
- [Manage instances](https://docs.vast.ai/guides/instances/manage-instances)
- [CLI rate limits and errors](https://docs.vast.ai/cli/rate-limits)
Pliki w paczce (2)
  • SKILL.md 4 KB
  • references/official-docs.md 1 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · jeremylongshore/tons-of-skills-marketplace100MIT
HelixDevelopment/agent100MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki 7b66043f3be7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100vastai-install-auth
    Instaluje i konfiguruje uwierzytelnianie SDK i CLI Vast.ai przy nowej integracji, konfiguracji kluczy API i inicjalizacji w projekcie.
  • 100vastai-deploy-integration
    Wdraża niezmienną usługę lub worker wsadowy na instancji Vast.ai z szablonem, kontrolą zdrowia, artefaktami, wycofaniem i sprzątaniem, gdy wdrażane jest obciążenie na instancji zamiast Serverless.
  • 100vastai-incident-runbook
    Analizuje, diagnozuje i odzyskuje obciążenie najemcy Vast.ai po incydentach: przelicytowanie, wyjście, offline, harmonogram, niskie kredyty i ryzyko dla danych, z kontrolą rozliczeń i działań destrukcyjnych.
  • 100vastai-ci-integration
    Konfiguruje integrację Vast.ai z CI/CD w GitHub Actions i testami, przy automatycznych testach i potokach CI.
  • 100aris-vast-gpu
    Wynajmuje, zarządza i niszczy instancje GPU na vast.ai, gdy potrzebny jest GPU na żądanie bez własnego sprzętu.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.