Jak używać
- Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
- W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
- Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/oxbshw/watch-skill --skill recovering-from-errorsPrzed rozpoczęciem
- Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
- Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.
Recovering from errors
Failures use stable error codes and include an actionable fix. Preserve that evidence; do not replace it with a generic explanation.
Diagnose first
watch-skill doctor --jsonRead the failing checks and apply only their stated fixes. doctor can repair managed ffmpeg and yt-dlp binaries, stale locks, corrupt caches, missing frame directories, and known local-model health failures. Re-run it once after remediation.
Retry the original operation once
After doctor is green, repeat the command that failed. If it returns another structured error, report its code, message, and fix. Do not loop indefinitely, silently switch cloud providers, enable cloud STT, or reprocess an already indexed video.
Common routes:
- acquisition or extractor failure:
watch-skill doctor --json, then retry the watch; - provider authentication: verify the matching
WATCHSKILL_*_API_KEYlocally; - provider model not found: run
watch-skill setup-visionwith a valid vision model; - low memory or local server failure: reduce the local model/context or select a cloud
provider the user already has;
- unknown video ID:
watch-skill list, then use the listed ID or original source.
Security and cost policy are invariants during recovery. Never upload the video file, enable a paid provider, or raise the cost ceiling merely to make an error disappear.




