oxbshw/watch-skill

recovering-from-errors

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".

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/oxbshw/watch-skill --skill recovering-from-errors

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

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.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
oxbshw
社区

asking-with-evidence

The user asks a question about a video that was already watched or indexed — "what did they say about X", "what error code appears", "what happens at 2:30", "does the video show Y". Use this to answer from the persistent index with timestamped evidence and a confidence score instead of re-watching or guessing.

安装量
2
GitHub Stars
503
最近更新
10月14日
oxbshw
社区

configuring-vision

The user wants to connect an LLM or vision provider, already has an API key, asks "can I use OpenAI/Anthropic/Gemini/OpenRouter", wants local Ollama, or needs different cheap and strong models. Use this to configure provider-neutral visual understanding without tying Watch Skill to one agent or model vendor.

安装量
2
GitHub Stars
503
最近更新
10月14日
oxbshw
社区

extracting-structure

The user wants structure pulled out of a watched video — "make chapters for this video", "where does the bug appear in this recording", "turn this screen recording into a bug report", "how strong is my intro/hook". Use this for deterministic extraction from the index — chapters with timestamps, a fileable bug report with the exact frame, or a scored hook analysis.

安装量
2
GitHub Stars
503
最近更新
10月14日
oxbshw
社区

learning-from-mistakes

The user corrected an answer about a video — "no, it actually says X", "that's the wrong timestamp", "you misread the error code" — or asks why a video answer was wrong. Use this to record the correction as a lesson so future answers on similar questions improve, and to show what the system has learned and saved.

安装量
2
GitHub Stars
503
最近更新
10月14日