360 Secure SkillHub
360 安全技能中心

recovering-from-errors

该 Skill 面向 Watch Skill 的命令失败、视频下载、ffmpeg/yt-dlp 缺失、服务商报错和本地视觉异常;先运行 doctor 读取失败检查,仅按提示修复并重试原操作一次,保留错误码、消息与修复建议。材料中的云端服务商处理指令存在冲突,执行时应以结构化 fix 为准。

oxbshw
热度 0.00
最近更新 2026-10-19 04:17:50
分类:自动化依赖:代码执行 / 第三方 API应用场景:调试排错 / 工作流 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add oxbshw/watch-skill/recovering-from-errors
Metadata
name
recovering-from-errors
version
1.4.3
description
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.
license
MIT
user-invocable
true
allowed-tools
Bash, Read

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