[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DS41ESZNXXY2VRZYH3FN17":3,"skill-same:01M7DS41ESZNXXY2VRZYH3FN17":58},{"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":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M7DS41ESZNXXY2VRZYH3FN17","youtube-transcript",null,"Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.","Hazek-dc\u002FPresensiGuru_FaceNet_EMAR","Hazek-dc","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F75208960?v=4","01M7DEQV5B4YGS86A81DYH81DR","Hazek","01M7DEQV5XP4TM0C6NTHXCXCHR",1,"MIT","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":24,"tags":25,"tools":29,"author":32,"source":33,"license":15,"category":28,"date_added":34,"description":7,"source_repo":35,"source_type":33,"license_source":36},"safe",[26,27,28],"youtube","transcripts","research",[30,31],"claude","codex","davidondrej","community","2026-07-07","davidondrej\u002Fskills","https:\u002F\u002Fgithub.com\u002Fdavidondrej\u002Fskills\u002Fblob\u002Fmain\u002FLICENSE","main","b1e4ffadb4f933bbbcaa03a83f8b9929171ac28b",".agents\u002Fskills\u002Fyoutube-transcript",0,"https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR","https:\u002F\u002Fgithub.com\u002FHazek-dc","2026-10-22 08:36:44",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill youtube-transcript",{"tool":50,"command":51},"bunx","bunx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill youtube-transcript",{"tool":53,"command":54},"pnpm","pnpm dlx skills add Hazek-dc\u002FPresensiGuru_FaceNet_EMAR --skill youtube-transcript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fyoutube-transcript\u002FSKILL.md",true,[],[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M7DS6GGYRZAYD33PFPS8Z2T3","testing-best-practices","Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftesting-best-practices\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7DS6BC3AW7HTPRHE2TTVKWM","tailwindcss-development","Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex\u002Fgrid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3\u002Fv4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML\u002FCSS component, CSS file audits, build tool configuration, and vanilla CSS.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Ftailwindcss-development\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7DS66GE6B11MYJDVC74HXM4","laravel-best-practices","Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Flaravel-best-practices\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7DS5ZW717DMS6P1E90AQCKV","infer-conventions","Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai\u002Frules`, resolve mixed or conflicting patterns (e.g. \"are we using Form Requests or inline validation?\"), or onboard agents and teammates to \"how we do things here\". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Only run this skill when the user explicitly asks for it; never start a sweep as part of another task. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai\u002Frules` files by hand.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finfer-conventions\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7DS5W12RGCVJTFQJ1N0GB8E","inertia-react-development","Develops Inertia.js v2 React client-side applications. Activates when creating React pages, forms, or navigation; using \u003CLink>, \u003CForm>, useForm, or router; working with deferred props, prefetching, or polling; or when user mentions React with Inertia, React pages, React forms, or React navigation.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Finertia-react-development\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},"01M7DS5PVDPMPCWSK2RXPDC9BB","deploying-to-cloud","Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to Cloud, create or manage applications, environments, databases, caches, object storage, queues, domains, instances, background processes, secrets, compute, scheduled tasks, or Laravel Cloud infrastructure; or check billing, usage, or spend. Triggers on deployment, shipping, Cloud management, environment setup, database provisioning, billing or usage queries, the `cloud` CLI, and Laravel Cloud deployment troubleshooting.","https:\u002F\u002Fgithub.com\u002FHazek-dc\u002FPresensiGuru_FaceNet_EMAR\u002Fblob\u002Fmain\u002Fattendance-web\u002F.claude\u002Fskills\u002Fdeploying-to-cloud\u002FSKILL.md",[],[]]