[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78B9GVQVDZHKDRAG8C46DBZ":3,"skill-same:01M78B9GVQVDZHKDRAG8C46DBZ":57},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M78B9GVQVDZHKDRAG8C46DBZ","youtube-transcript",null,"Use whenever the user needs the transcript of a YouTube video — fetching, extracting, downloading, or pulling captions\u002Fsubtitles\u002Ftranscript text from a YouTube URL. Triggers on \"get the transcript\", \"transcript of this video\", \"pull the captions\", \"download subtitles\", \"what does this YouTube video say\". Primary path is DeepAPI (go to deepapi.co to get an API key); yt-dlp is the local fallback.","Solizardking\u002Fskillhub-main","Solizardking","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F108096810?v=4","01M786KDB10AYV042N0F9BD5B5","Clawd","01M786NYYXSZK1D05WM8JQPC48",0,"MIT","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fresearch-and-web\u002Fyoutube-transcript\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: youtube-transcript\ndescription: Use whenever the user needs the transcript of a YouTube video — fetching, extracting, downloading, or pulling captions\u002Fsubtitles\u002Ftranscript text from a YouTube URL. Triggers on \"get the transcript\", \"transcript of this video\", \"pull the captions\", \"download subtitles\", \"what does this YouTube video say\". Primary path is DeepAPI (go to deepapi.co to get an API key); yt-dlp is the local fallback.\n---\n\n# YouTube Transcript (via DeepAPI, yt-dlp fallback)\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\nKey lives in `~\u002F.zshrc` as `DEEPAPI_API_KEY`. Do NOT `source ~\u002F.zshrc` (breaks the shell, exit 126):\n\n```bash\nKEY=${DEEPAPI_API_KEY:-$(rg -o 'DEEPAPI_API_KEY=\\S+' ~\u002F.zshrc | head -1 | cut -d= -f2)}\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 $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\"\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 `~\u002F.zshrc`.\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 their 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. Don't report costs unless the user asks.\n","# YouTube Transcript (via DeepAPI, yt-dlp fallback)\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\nKey lives in `~\u002F.zshrc` as `DEEPAPI_API_KEY`. Do NOT `source ~\u002F.zshrc` (breaks the shell, exit 126):\n\n```bash\nKEY=${DEEPAPI_API_KEY:-$(rg -o 'DEEPAPI_API_KEY=\\S+' ~\u002F.zshrc | head -1 | cut -d= -f2)}\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 $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\"\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 `~\u002F.zshrc`.\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 their 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. Don't report costs unless the user asks.\n",{"name":5,"description":7},"main","be3de0244dc1a57e323d8160787ebb40fb64930e","public\u002Fapi\u002Fskills\u002Fresearch-and-web\u002Fyoutube-transcript","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main","https:\u002F\u002Fskills.x402.wtf","https:\u002F\u002Fgithub.com\u002FSolizardking","https:\u002F\u002Fmusebook.trade","Got a mile high and never came down","2026-10-08 23:20:13",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Solizardking\u002Fskillhub-main --skill youtube-transcript",{"tool":39,"command":40},"bunx","bunx skills add Solizardking\u002Fskillhub-main --skill youtube-transcript",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Solizardking\u002Fskillhub-main --skill youtube-transcript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fresearch-and-web\u002Fyoutube-transcript\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"metadata.json","REFERENCE","参考文档",618,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fresearch-and-web\u002Fyoutube-transcript\u002Fmetadata.json",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"verification.json",1320,"https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fpublic\u002Fapi\u002Fskills\u002Fresearch-and-web\u002Fyoutube-transcript\u002Fverification.json",[58,65,72,79,86,94],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M78E0TGCAMNPS207BA3G07S7","zkrouter","Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzkrouter\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M78E0R1Z8BDT6EDTHY17MTNB","zk","For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M78E0P3ZTZ1YWF8MD5MM23QE","zk-omni-messaging","Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzk-omni-messaging\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M78E0JXZ2PNB1896VXAGDBWD","zerion-wallet-data","Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fzerion-wallet-data\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M78E0G14FH9GRRTQYMKD5E59","youtube-clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M78E0C2ZYA99CFFDNB7ZMK5S","yield-optimization","Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit\u002Fwithdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter\u002Fexit a position, or check portfolio balances.","https:\u002F\u002Fgithub.com\u002FSolizardking\u002Fskillhub-main\u002Fblob\u002Fmain\u002Fskills\u002Fyield-optimization\u002FSKILL.md",[],[]]