recovering-from-errors
Skill439 starsChanged 5 months agoMITView on GitHub
A Watch Skill command failed, video download broke, ffmpeg or yt-dlp is missing, a provider returned an error, local vision stopped, or the user asks "why can't it watch this" or "repair my setup". Use this to diagnose and apply the engine's structured fix before retrying the original operation.
- Reads credentials
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- asking-with-evidenceSkill
- configuring-visionSkill
- extracting-structureSkill
- learning-from-mistakesSkill
- sharing-resultsSkill
- the-loopSkill
- video-memorySkill
- watching-videosSkill
- watchSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Read the failing checks and apply only their stated fixes.
- Distinctive: line 27
After doctor is green, repeat the command that failed.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

