[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6Q0ETK41VGNMYEXW0T00AJN":3,"skill-same:01M6Q0ETK41VGNMYEXW0T00AJN":70},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":27,"commitSha":51,"skillDirectory":52,"forksCount":13,"repositoryHtmlUrl":53,"repositoryHomepageUrl":6,"ownerHtmlUrl":54,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":55,"install":56,"resources":69},"01M6Q0ETK41VGNMYEXW0T00AJN","youtube-transcript",null,"Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","duc-duy-1612\u002FOnline-Delivery-Systems-Web","duc-duy-1612","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F192231384?v=4","01M6NSDKQQDKVTHZ8DZMZ1VYY6","01M6NSDKW8DDVTQHBT1HBDDJPT",0,"MIT","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"transcript","youtube transcript","youtube","tooling","blob","youtube transcripts","deepapi","output","local","main","community","clean","safe","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=${DEEPAPI_API_BASE_URL:-https:\u002F\u002Fdeepapi.co}\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  > \u002Ftmp\u002Fyt_transcript.json\n```\n\n- Non-English videos: add `\"language\": \"de\"` (etc.) to the body.\n- `status: running` → wait `next.afterSecs`, then `curl \"$BASE$(jq -r '.next.path' \u002Ftmp\u002Fyt_transcript.json)\" -H \"Authorization: Bearer $KEY\"` until `succeeded` or `failed`.\n\nExtract the text and save it:\n\n```bash\njq -r '.status' \u002Ftmp\u002Fyt_transcript.json                # succeeded | running | failed\njq -r '.output[0].text' \u002Ftmp\u002Fyt_transcript.json > \"$OUT\u002F$NAME.txt\"\njq -r '.debitMicrousd' \u002Ftmp\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\npython3 - \"$OUT\" \u003C\u003C'PY'\nimport json, html, re, glob, sys, pathlib\nf = glob.glob(sys.argv[1] + \"\u002F*.json3\")\nif not f: sys.exit(\"no 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 first failure: run `yt-dlp -U` once, retry once, then stop.\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=${DEEPAPI_API_BASE_URL:-https:\u002F\u002Fdeepapi.co}\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  > \u002Ftmp\u002Fyt_transcript.json\n```\n\n- Non-English videos: add `\"language\": \"de\"` (etc.) to the body.\n- `status: running` → wait `next.afterSecs`, then `curl \"$BASE$(jq -r '.next.path' \u002Ftmp\u002Fyt_transcript.json)\" -H \"Authorization: Bearer $KEY\"` until `succeeded` or `failed`.\n\nExtract the text and save it:\n\n```bash\njq -r '.status' \u002Ftmp\u002Fyt_transcript.json                # succeeded | running | failed\njq -r '.output[0].text' \u002Ftmp\u002Fyt_transcript.json > \"$OUT\u002F$NAME.txt\"\njq -r '.debitMicrousd' \u002Ftmp\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\npython3 - \"$OUT\" \u003C\u003C'PY'\nimport json, html, re, glob, sys, pathlib\nf = glob.glob(sys.argv[1] + \"\u002F*.json3\")\nif not f: sys.exit(\"no 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 first failure: run `yt-dlp -U` once, retry once, then stop.\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":30,"tags":43,"tools":45,"author":47,"source":28,"license":14,"category":35,"date_added":48,"description":7,"source_repo":49,"source_type":28,"license_source":50},[20,44,35],"transcripts",[46,36],"claude","davidondrej","2026-07-07","davidondrej\u002Fskills","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE","f3312ba749561b6159f477dbfc9313c875d40a56",".agents\u002Fskills_archive\u002Fyoutube-transcript","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612","2026-10-25 23:50:58",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill youtube-transcript",{"tool":62,"command":63},"bunx","bunx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill youtube-transcript",{"tool":65,"command":66},"pnpm","pnpm dlx skills add duc-duy-1612\u002FOnline-Delivery-Systems-Web --skill youtube-transcript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript\u002FSKILL.md",true,[],[71,95,119,136,156,170],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":38},"01M6Q0FA5FZ410Z33Z3TFQ4DBA","zero-trust","Implement zero-trust network architecture. Configure identity-based access, micro-segmentation, and continuous verification. Use when implementing modern security architectures.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzero-trust\u002FSKILL.md",[],[78,79,80,81,82,83,73,84,85,86,87,88,28,27,89,90,91,92,93,94],"ZeRO","trust","zero trust","architecture","assessment","verification","segmentation","devops-security","access","configure","only","active","critical","scope","scripts","relevant","implementing",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":38},"01M6Q0F1YZJW3KX5FBKEVZ8CV4","zcode-delegate","Delegate coding tasks to the Z.AI ZCode CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fzcode-delegate\u002FSKILL.md",[],[102,103,104,105,106,107,108,109,110,111,112,113,114,88,115,28,116,117,90,118],"delegate","zcode","zcode delegate","review","cli","orchestration","tasks","run","Bash","model","node","read","orchestrator","files","desktop app","app","agent-orchestration",{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":38},"01M6Q0EPPH2PVMDW40017F8WX0","youtube-transcript-skills","Fetch YouTube video transcripts, search videos\u002Fchannels, browse channels, and extract playlists via the getyoutubetranscript.com API - free tier, no card required.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-transcript-skills\u002FSKILL.md",[],[18,19,20,126,30,127,37,36,34,128,129,130,131,31,132,28,27,133,134,135],"youtube transcript skills","gemini","search","api","Video","browse","api-integration","free","card","channels",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6Q0EAB96PX83W5PTE8A0R8D","youtube-notetaker","Turn YouTube talks into local study notes with slides, transcripts, editable annotations, and a markdown-backed viewer.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-notetaker\u002FSKILL.md",[],[20,143,144,106,30,145,146,147,148,34,130,149,150,151,152,27,153,26,154,155],"youtube notetaker","notetaker","workflow","official","notes","code","markdown","slides","annotations","README","study","dair-academy","viewer",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":38},"01M6Q0E55F0GW5MX48V8HXS8B5","youtube-full","Fetch YouTube transcripts, search videos, browse channels, and extract playlists via TranscriptAPI — no yt-dlp, no Google API key, works from any cloud server.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyoutube-full\u002FSKILL.md",[],[163,20,164,165,30,127,128,166,167,129,130,131,31,168,132,28,27,133,169,23],"youtube full","full","google","server","dlp","credits","automatic",{"skillNo":171,"name":172,"nameZh":6,"description":173,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":174,"categories":175,"keywords":176,"publishedAt":38},"01M6Q0DKK9BWZZMRXG7F3Q0G3J","yao-meta-skill","Create, refactor, evaluate, and package agent skills from workflows, prompts, transcripts, docs, or notes. Use for skill creation, reusable workflow packaging, skill improvement, evals, and team-ready distribution.","https:\u002F\u002Fgithub.com\u002Fduc-duy-1612\u002FOnline-Delivery-Systems-Web\u002Fblob\u002Fmain\u002F.agents\u002Fskills_archive\u002Fyao-meta-skill\u002FSKILL.md",[],[177,178,179,180,106,30,145,181,147,182,148,183,184,185,186,28,27,187,188,189],"Meta","meta skill","yao meta skill","yao","workflows","create","Evaluation","team","packaging","ready","meta-skill","creation","distribution"]