[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FDGA3N9NN08KF9J60CYS12":3,"skill-same:01M6FDGA3N9NN08KF9J60CYS12":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":29,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6FDGA3N9NN08KF9J60CYS12","youtube-transcript",null,"Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","boisenoise\u002Fskills-collections","boisenoise","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F193180?v=4","01M6CDBDQK6BDN55ZMA6B6PKBM","01M6CDBDVSJ3JPTBYN26FZ7TZK",13,"MIT","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-youtube-transcript\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"transcript","youtube transcript","youtube","2026","safe","blob","youtube transcripts","deepapi","transcripts","output","local","main","community","clean","fallback","tooling","fetch","text","https","license","research","codex","github","2026-11-10 10:12:30",false,"---\nname: youtube-transcript\ndescription: \"Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.\"\ncategory: research\nrisk: safe\nsource: community\nsource_repo: davidondrej\u002Fskills\nsource_type: community\ndate_added: \"2026-07-07\"\nauthor: davidondrej\ntags: [youtube, transcripts, research]\ntools: [claude, codex]\nlicense: \"MIT\"\nlicense_source: \"https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE\"\n---\n\n# YouTube Transcript (via DeepAPI, yt-dlp fallback)\n\n## When to Use\n\n- Use when the user asks for a YouTube transcript, captions, subtitles, or spoken-content extraction.\n- Use when DeepAPI or a local fallback can fetch the transcript safely.\n\nFetch a YouTube video's transcript and save a clean raw `.txt` file. Primary path is DeepAPI `POST \u002Fv1\u002Fscrape\u002Fyoutube\u002Ftranscript`. It runs server-side, so it avoids the local-IP bot flagging that plagues yt-dlp.\n\n## Save location\n- If the user is in a real project\u002Fworking dir → save there.\n- Otherwise (no dir given, or cwd makes no sense) → save to `~\u002FDownloads`.\n- **Always name the file `Channel_Title` with spaces replaced by `_`** (e.g. `David_Ondrej_title_of_video.txt`). If metadata is unavailable, fall back to the video ID.\n\n## Primary path — DeepAPI\n\n`DEEPAPI_API_KEY` must already be present in the environment. Do not read shell\nstartup files or print secrets:\n\n```bash\ntest -n \"$DEEPAPI_API_KEY\" || { echo \"DEEPAPI_API_KEY is not set\"; exit 1; }\nBASE=https:\u002F\u002Fdeepapi.co  # use the reviewed provider origin; do not inherit an untrusted override\nRUN_DIR=$(mktemp -d)\nchmod 700 \"$RUN_DIR\"\ntrap 'rm -rf \"$RUN_DIR\"' EXIT\n```\n\nRun the scrape (keep the Idempotency-Key; retries must reuse the SAME one):\n\n```bash\nIDK=$(uuidgen)\ncurl -s --max-time 120 \"$BASE\u002Fv1\u002Fscrape\u002Fyoutube\u002Ftranscript\" \\\n  -H \"Authorization: Bearer $DEEPAPI_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"Idempotency-Key: $IDK\" \\\n  -d '{\"url\": \"VIDEO_URL\", \"maxCostUsd\": \"0.05\", \"waitForFinishSecs\": 60}' \\\n  > \"$RUN_DIR\u002Fyt_transcript.json\"\n```\n\n- Non-English videos: add `\"language\": \"de\"` (etc.) to the body.\n- For `status: running`, inspect the documented next request path and constrain it to the reviewed provider origin; never attach credentials to an arbitrary returned URL or redirect. Poll with the same DEEPAPI_API_KEY, bounded attempts\u002Fdeadline and provider wait interval. Do not extract output until terminal succeeded with the expected schema; HTTP errors\u002Ffailed states are not an empty transcript.\n\nExtract the text and save it:\n\n```bash\njq -r '.status' \"$RUN_DIR\u002Fyt_transcript.json\"                # succeeded | running | failed\njq -r '.output[0].text' \"$RUN_DIR\u002Fyt_transcript.json\" > \"$OUT\u002F$NAME.txt\"\njq -r '.debitMicrousd' \"$RUN_DIR\u002Fyt_transcript.json\"         # cost (50000 = $0.05)\n```\n\n`.output[0].segments` also has timed segments (`startSecs`, `durationSecs`, `text`) if the user wants timestamps. Empty `output` = video has no captions; report it, don't retry.\n\nFor the `Channel_Title` filename, get metadata with a quick `yt-dlp --print \"%(channel)s|%(title)s\" --skip-download \"URL\"`; if that fails, use the video ID.\n\n## When to fall back to yt-dlp\n\n- `DEEPAPI_API_KEY` missing from the environment.\n- HTTP 402 `insufficient_credits` (tell the user to top up at deepapi.co\u002Fcredits first; fall back only if they're unavailable).\n- DeepAPI request `failed` twice.\n\nTell the user whenever you fall back — a fallback means the product missed a real use case.\n\n## Fallback path — yt-dlp (local)\n\n```bash\nOUT=\"$(pwd)\"            # or ~\u002FDownloads if cwd makes no sense\nMETA=$(yt-dlp --print \"%(channel)s|%(title)s\" --skip-download \"URL\")\nNAME=$(echo \"$META\" | tr '| ' '__' | tr -cd '[:alnum:]_.-')   # \"Channel_Title\", spaces -> _, strip unsafe chars\nyt-dlp --skip-download --write-subs --write-auto-subs \\\n  --sub-langs \"en.*\" --sub-format json3 \\\n  -o \"$OUT\u002F$NAME.%(ext)s\" \"URL\"\n```\n\n- Fall back `channel` → `uploader` → `uploader_id` if `channel` is null.\n- `--skip-download` = captions only. `--write-subs` + `--write-auto-subs` = manual first, auto as fallback.\n- **Always use `json3`, never VTT\u002FSRT** — auto VTT repeats every line twice (rolling captions).\n\nFlatten json3 → raw text:\n\n```bash\n# Select the exact caption file for this video\u002Flanguage, not the first glob in OUT.\npython3 - \u002Fabsolute\u002Fselected-caption.json3 \u003C\u003C'PY'\nimport json, html, re, glob, sys, pathlib\nf = [sys.argv[1]]\nif not pathlib.Path(f[0]).is_file(): sys.exit(\"no selected json3 file\")\ndata = json.load(open(f[0], encoding=\"utf-8\"))\nparts = [\"\".join(s.get(\"utf8\",\"\") for s in e.get(\"segs\") or []) for e in data.get(\"events\", [])]\ntxt = re.sub(r\"\\s+\", \" \", html.unescape(\" \".join(p.strip() for p in parts if p.strip()))).strip()\nout = pathlib.Path(f[0]).with_suffix(\".txt\")\nout.write_text(txt, encoding=\"utf-8\"); print(out)\nPY\n```\n\n### yt-dlp failure handling\n- Non-English \u002F unknown language: run `yt-dlp --list-subs \"URL\"` first, then set `--sub-langs`.\n- Newer yt-dlp may need `deno` on PATH for YouTube extraction.\n- On failure, inspect the actual error and installed version; do not self-update tools merely to retry a transcript request. Propose a scoped reviewed update only when compatibility evidence requires it.\n- **429 \u002F \"Sign in to confirm you're not a bot\"** = IP flagged. STOP — do NOT retry in a loop (makes it worse).\n- Never fall back to downloading audio for Whisper unless the user explicitly asks.\n\n## Output\n\nReport the saved path; print the text if short. If DeepAPI was used, also report the cost in dollars.\n\n## Limitations\n\n- Adapted from `davidondrej\u002Fskills`; verify local paths, tools, credentials, and agent features before acting.\n- For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.\n","# YouTube Transcript (via DeepAPI, yt-dlp fallback)\n\n## When to Use\n\n- Use when the user asks for a YouTube transcript, captions, subtitles, or spoken-content extraction.\n- Use when DeepAPI or a local fallback can fetch the transcript safely.\n\nFetch a YouTube video's transcript and save a clean raw `.txt` file. Primary path is DeepAPI `POST \u002Fv1\u002Fscrape\u002Fyoutube\u002Ftranscript`. It runs server-side, so it avoids the local-IP bot flagging that plagues yt-dlp.\n\n## Save location\n- If the user is in a real project\u002Fworking dir → save there.\n- Otherwise (no dir given, or cwd makes no sense) → save to `~\u002FDownloads`.\n- **Always name the file `Channel_Title` with spaces replaced by `_`** (e.g. `David_Ondrej_title_of_video.txt`). If metadata is unavailable, fall back to the video ID.\n\n## Primary path — DeepAPI\n\n`DEEPAPI_API_KEY` must already be present in the environment. Do not read shell\nstartup files or print secrets:\n\n```bash\ntest -n \"$DEEPAPI_API_KEY\" || { echo \"DEEPAPI_API_KEY is not set\"; exit 1; }\nBASE=https:\u002F\u002Fdeepapi.co  # use the reviewed provider origin; do not inherit an untrusted override\nRUN_DIR=$(mktemp -d)\nchmod 700 \"$RUN_DIR\"\ntrap 'rm -rf \"$RUN_DIR\"' EXIT\n```\n\nRun the scrape (keep the Idempotency-Key; retries must reuse the SAME one):\n\n```bash\nIDK=$(uuidgen)\ncurl -s --max-time 120 \"$BASE\u002Fv1\u002Fscrape\u002Fyoutube\u002Ftranscript\" \\\n  -H \"Authorization: Bearer $DEEPAPI_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"Idempotency-Key: $IDK\" \\\n  -d '{\"url\": \"VIDEO_URL\", \"maxCostUsd\": \"0.05\", \"waitForFinishSecs\": 60}' \\\n  > \"$RUN_DIR\u002Fyt_transcript.json\"\n```\n\n- Non-English videos: add `\"language\": \"de\"` (etc.) to the body.\n- For `status: running`, inspect the documented next request path and constrain it to the reviewed provider origin; never attach credentials to an arbitrary returned URL or redirect. Poll with the same DEEPAPI_API_KEY, bounded attempts\u002Fdeadline and provider wait interval. Do not extract output until terminal succeeded with the expected schema; HTTP errors\u002Ffailed states are not an empty transcript.\n\nExtract the text and save it:\n\n```bash\njq -r '.status' \"$RUN_DIR\u002Fyt_transcript.json\"                # succeeded | running | failed\njq -r '.output[0].text' \"$RUN_DIR\u002Fyt_transcript.json\" > \"$OUT\u002F$NAME.txt\"\njq -r '.debitMicrousd' \"$RUN_DIR\u002Fyt_transcript.json\"         # cost (50000 = $0.05)\n```\n\n`.output[0].segments` also has timed segments (`startSecs`, `durationSecs`, `text`) if the user wants timestamps. Empty `output` = video has no captions; report it, don't retry.\n\nFor the `Channel_Title` filename, get metadata with a quick `yt-dlp --print \"%(channel)s|%(title)s\" --skip-download \"URL\"`; if that fails, use the video ID.\n\n## When to fall back to yt-dlp\n\n- `DEEPAPI_API_KEY` missing from the environment.\n- HTTP 402 `insufficient_credits` (tell the user to top up at deepapi.co\u002Fcredits first; fall back only if they're unavailable).\n- DeepAPI request `failed` twice.\n\nTell the user whenever you fall back — a fallback means the product missed a real use case.\n\n## Fallback path — yt-dlp (local)\n\n```bash\nOUT=\"$(pwd)\"            # or ~\u002FDownloads if cwd makes no sense\nMETA=$(yt-dlp --print \"%(channel)s|%(title)s\" --skip-download \"URL\")\nNAME=$(echo \"$META\" | tr '| ' '__' | tr -cd '[:alnum:]_.-')   # \"Channel_Title\", spaces -> _, strip unsafe chars\nyt-dlp --skip-download --write-subs --write-auto-subs \\\n  --sub-langs \"en.*\" --sub-format json3 \\\n  -o \"$OUT\u002F$NAME.%(ext)s\" \"URL\"\n```\n\n- Fall back `channel` → `uploader` → `uploader_id` if `channel` is null.\n- `--skip-download` = captions only. `--write-subs` + `--write-auto-subs` = manual first, auto as fallback.\n- **Always use `json3`, never VTT\u002FSRT** — auto VTT repeats every line twice (rolling captions).\n\nFlatten json3 → raw text:\n\n```bash\n# Select the exact caption file for this video\u002Flanguage, not the first glob in OUT.\npython3 - \u002Fabsolute\u002Fselected-caption.json3 \u003C\u003C'PY'\nimport json, html, re, glob, sys, pathlib\nf = [sys.argv[1]]\nif not pathlib.Path(f[0]).is_file(): sys.exit(\"no selected json3 file\")\ndata = json.load(open(f[0], encoding=\"utf-8\"))\nparts = [\"\".join(s.get(\"utf8\",\"\") for s in e.get(\"segs\") or []) for e in data.get(\"events\", [])]\ntxt = re.sub(r\"\\s+\", \" \", html.unescape(\" \".join(p.strip() for p in parts if p.strip()))).strip()\nout = pathlib.Path(f[0]).with_suffix(\".txt\")\nout.write_text(txt, encoding=\"utf-8\"); print(out)\nPY\n```\n\n### yt-dlp failure handling\n- Non-English \u002F unknown language: run `yt-dlp --list-subs \"URL\"` first, then set `--sub-langs`.\n- Newer yt-dlp may need `deno` on PATH for YouTube extraction.\n- On failure, inspect the actual error and installed version; do not self-update tools merely to retry a transcript request. Propose a scoped reviewed update only when compatibility evidence requires it.\n- **429 \u002F \"Sign in to confirm you're not a bot\"** = IP flagged. STOP — do NOT retry in a loop (makes it worse).\n- Never fall back to downloading audio for Whisper unless the user explicitly asks.\n\n## Output\n\nReport the saved path; print the text if short. If DeepAPI was used, also report the cost in dollars.\n\n## Limitations\n\n- Adapted from `davidondrej\u002Fskills`; verify local paths, tools, credentials, and agent features before acting.\n- For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.\n",{"name":5,"risk":22,"tags":46,"tools":47,"author":49,"source":30,"license":14,"category":38,"date_added":50,"description":7,"source_repo":51,"source_type":30,"license_source":52},[20,26,38],[48,39],"claude","davidondrej","2026-07-07","davidondrej\u002Fskills","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE","7bf2279c8a65758319526a721d5c4b75683aec9c","skills\u002Fantigravity-youtube-transcript",3,"https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections","https:\u002F\u002Fgithub.com\u002Fboisenoise","2026-11-14 14:18:11",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add boisenoise\u002Fskills-collections --skill youtube-transcript",{"tool":65,"command":66},"bunx","bunx skills add boisenoise\u002Fskills-collections --skill youtube-transcript",{"tool":68,"command":69},"pnpm","pnpm dlx skills add boisenoise\u002Fskills-collections --skill youtube-transcript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-youtube-transcript\u002FSKILL.md",true,[],[74,83,91,100,108,116],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":78,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":82},"01M7B6HREHB53EHGGVZND7DDXN","scrapely-scrape","Collect web data with ready-made Scrape.ly scrapers: Google Maps places, Amazon products, LinkedIn jobs, reviews, social posts. Use when the user wants structured data from a site.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-scrapely-scrape\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":82},"01M7B6GDNNN4HE662KA6KPF7GW","lumify-odds","Lumify's hosted sports MCP\u002FREST API for sportsbook odds, line-movement history, public betting splits, and player props across MLB, NFL, NBA, NHL, soccer, tennis, NCAAF, NCAAB. Read-only market data.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-lumify-odds\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":99},"01M743PZMJW2GEKG5J199GPSK7","sync-lipsync","Lip-sync an existing video of a real person to new audio or a typed script with sync. labs through its hosted MCP server, quoting the cost and waiting for approval first.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-sync-lipsync\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":104,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":99},"01M743MMN3CKTJVNRSZMB684E5","music-for-robots","Optional music-inspired creative exercise for multimodal agents. Ingests an unquantized acoustic MP3 composition by Michael Luchtan (Music For Robots) into a private temporary directory, analyzing microtiming and texture to inspire creative writing, brainstorming, or technical tasks.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-music-for-robots\u002FSKILL.md",[],[],{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":112,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":99},"01M743KC2GN5WE11BSTWSSWD8B","imagera-media","Generate or edit images, video clips, voiceovers and music through the hosted Imagera MCP server, quoting the credit cost and getting approval before each paid call.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-imagera-media\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":120,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":99},"01M743HDJNZQA8A4VT68NWGWQJ","deja-history","Search this machine's past AI coding sessions across Claude Code, Codex, Cursor, Gemini CLI and thirty-nine other agents before editing, debugging, or denying something exists.","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fboisenoise\u002Fskills-collections\u002Fblob\u002Fmain\u002Fskills\u002Fantigravity-deja-history\u002FSKILL.md",[],[]]