video-to-skill
CLAUDE.md3 starsChanged 7 days agoMITView on GitHub
This repo turns a video (YouTube URL or file) into a reusable Claude skill. The user has nothing to prepare or run: you install, extract, orchestrate and assemble. Never ask them to run a command. Talk to the user in their language. Write the generated skill in the language of their request unless they ask otherwise. Triggers: a video URL or file, "turn this video into a skill", "learn from this video", "read the repo and do it", /video-to-skill <URL>.
In this repository2 other files it gives its agents.
- AGENTS.mdAGENTS.md
- video-to-skillSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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 13
If "ok": false: say so in one sentence, then run PY scripts/bootstrap.py --json --no-skill (2 to 10 min: give it a 15-minute timeout or run …
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
video-to-skill — instructions for Claude
This repo turns a video (YouTube URL or file) into a reusable Claude skill. The user has nothing to prepare or run: you install, extract, orchestrate and assemble. Never ask them to run a command. Talk to the user in their language. Write the generated skill in the language of their request unless they ask otherwise.
When the user gives a video
Triggers: a video URL or file, "turn this video into a skill", "learn from this video", "read the repo and do it", /video-to-skill <URL>.
- Python —
PY=pythonorpy -3on Windows (neverpython3, often a fake Microsoft Store shortcut there);python3on macOS/Linux. - Prerequisites —
PY scripts/bootstrap.py --check --json(a few seconds). If"ok": false: say so in one sentence, then runPY scripts/bootstrap.py --json --no-skill(2 to 10 min: give it a 15-minute timeout or run it in the background, do not interrupt it). Only if that fails, follow LLM_SETUP.md. - Method — follow SKILL.md with
SKILL_DIR= the root of this repo. Always run the scripts with a relative path from the root (PY scripts/extract.py …): those are the commands the repo's permission rules allow. Working folder:v2s_work/<short-id>/(e.g. the YouTube id). - Video longer than 45 min — long-video mode of SKILL.md:
- one
general-purposesub-agent per part, all launched in parallel, with the instruction: "Read and carry out<absolute path>/part_NN/AGENT_PROMPT.md. Write the notes in <the user's language>. Only write the notes file it names. Reply in 3 lines."; - then
PY scripts/assemble.py v2s_work/<id> --check: a failing part (incomplete visual log, missing notes) → relaunch its sub-agent with the reason; - then plan →
assemble.py --plan … --out skills_out/<name>→ merges → the skill'sSKILL.md.
- one
- Delivery — automatic, no question — the final skill goes to
skills_out/<name>/, then install it withPY scripts/install_skill.py skills_out/<name>: it validates the skill, installs it in~/.claude/skills/<name>/and backs up any previous version. Don't ask for confirmation (the user chose automatic install). If validation fails, fix the skill and run it again. Only install elsewhere (--project) or skip installing if the user asked for it. The only question you may ask during the whole run is about cookies, if YouTube requires them. - Final message, short: skill name, where it is installed (and that deleting that folder removes it), number of methods, coverage (parts, contact sheets reviewed, densified passages), main uncertainties.
Other requests
- Just download:
PY scripts/download.py <URL> [--out downloads](JSON on stdout; on failure, readhint). - Install / repair the environment: LLM_SETUP.md.
- Change the tool itself: scripts live in
scripts/, sub-agent templates inreferences/. After a change, runPY scripts/bootstrap.py --no-skill --skip-model(its self-test covers extraction, splitting and validation).
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.

