Skip to content
Back to skills

Doctor

ASecurity

Check and repair a clip page's setup (Python, packages, yt-dlp version, ffmpeg captions, speech model, page files, cookies, self-tests). Use when the user says "check my setup", "something's broken", "doctor", when a download or cut fails with a tool error, or about once a month.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 1, 2026
ai-agentspythongit

Works with

  • cli

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add codingwolf-at/cliprig --skill doctor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Doctor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Doctor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codingwolf-at-doctor/badge)](https://www.skillsdirectory.com/skills/codingwolf-at-doctor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: doctor
description: Check and repair a clip page's setup (Python, packages, yt-dlp version, ffmpeg captions, speech model, page files, cookies, self-tests). Use when the user says "check my setup", "something's broken", "doctor", when a download or cut fails with a tool error, or about once a month.
---

# Doctor

## 1. Run

In the page folder:

`.venv/bin/python "${CLAUDE_PLUGIN_ROOT}/scripts/doctor.py"`

On Windows the interpreter is `.venv/Scripts/python.exe`. If `.venv` itself is missing or broken, re-run the install part of `setup`.

Each line is PASS, WARN or FAIL with the fix in brackets.

## 2. Fix

Do these without asking:

- **yt-dlp old (WARN):** run the update command it prints. Sites change often, and an old yt-dlp is the most common cause of failed downloads.
- **Speech model missing (WARN):** run the download command it prints.
- **Packages missing (FAIL):** reinstall `requirements.txt` into `.venv`, as in `setup`.
- **ffmpeg without captions (FAIL):** install ffmpeg with libass, as in `setup` (macOS: `brew install ffmpeg-full`).
- **cookies.txt not gitignored (FAIL):** add `cookies.txt` to `.gitignore`.

Ask the human first:

- **cookies.txt on disk, or yt-dlp.conf using cookies (WARN):** it's their login. Say so, and offer to comment out the line and delete the file once downloads work. Never print or read out its contents.
- **Python outside 3.10–3.12 (FAIL):** rebuilding `.venv` takes a few minutes. Offer it.
- **Self-test failing (FAIL):** show the failing script's output (`... <script>.py --self-test`). It's likely a bug in Cliprig: suggest reporting it on GitHub with that output.

## 3. Report

Run `doctor.py` again after fixing, and show the final list. Say in one line what was fixed and what still needs the human.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.