Install
openclaw skills install youtube-summarySummarize YouTube videos into structured Markdown with youtube2md, including chaptered notes, timestamp links, and key takeaways. Use when the user provides one or more YouTube URLs and asks for summaries, study notes, language-specific summaries, transcript extraction, or machine-readable JSON output.
openclaw skills install youtube-summaryUse the official youtube2md CLI behavior from the repository.
youtube2md on PATH.
npm i -g youtube2md@1.0.1prepare.py) in extract mode.youtube2md executable only.npx) is intentionally not supported in this skill.YOUTUBE2MD_BIN environment variable override is rejected by the runner.OPENAI_API_KEY enables full summarization mode; transcript/content may be sent to OpenAI through youtube2md’s workflow.
OPENAI_API_KEY and use extract mode.youtube2md package and dependencies before installation or version bumps.See references/security.md before first-time install/enable.
Validate input
youtube.com and youtu.be URLs.Choose mode
OPENAI_API_KEY is available and external API use is acceptable.--extract-only): outputs transcript JSON and prepares transcript text (.txt).
Run converter
scripts/run_youtube2md.sh <url> full [output_md_path] [language] [model]
OPENAI_API_KEY is missing, runner auto-falls back to extract mode by default.scripts/run_youtube2md.sh <url> extract [output_json_path]YOUTUBE2MD_JSON=1 scripts/run_youtube2md.sh <url> fullYOUTUBE2MD_JSON=1 scripts/run_youtube2md.sh <url> extractyoutube2md executable.npx) for this skill.youtube2md --url <url> [--out <path>] [--lang <language>] [--model <model>]--extract-only for transcript-only mode.Verify output
--json, parse ok: true/false and handle error code.Respond to the user
references/output-format.md as the default response shape.references/summarization-behavior.md for source policy and chapter/takeaway density..txt transcript text as the summary source..txt without surfacing avoidable tool-error noise../summaries/<video_id>.md./summaries/<video_id>.json./summaries/<video_id>.txt via prepare.pysummaries/*.json, summaries/*.txt) inside the skill folder.SKILL.md, scripts/, references/, helpers) in release artifacts.scripts/run_youtube2md.shprepare.pyreferences/output-format.mdreferences/summarization-behavior.mdreferences/security.mdreferences/troubleshooting.md