--- id: oxbshw/watch-skill/recovering-from-errors version: "ff8b1b56" license: MIT install: manual updated: 2026-07-12 --- # recovering-from-errors — Recovering from Errors guides you through diagnosing Watch Skill failures using the built-in doctor command, which identifies issues with ffmpeg, yt-dlp, video acquisition, provider authentication, and local models. Apply the stated fixes, retry your original operation, and report any persistent structured errors without looping or changing security policies. Publisher: oxbshw · Stars: 236 · Updated: 2026-07-12 Install (manual): `git clone https://github.com/oxbshw/watch-skill` ## SKILL.md # 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 ```bash watch-skill doctor --json ``` Read 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_KEY` locally; - provider model not found: run `watch-skill setup-vision` with 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. [View on SkillFed](https://skillfed.io/oxbshw/watch-skill/recovering-from-errors) · [View on GitHub](https://github.com/oxbshw/watch-skill)