youtube-transcript
Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.
npx skills add sickn33/agentic-awesome-skills --skill youtube-transcript --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# YouTube Transcript (via DeepAPI, yt-dlp fallback) ## When to Use - Use when the user asks for a YouTube transcript, captions, subtitles, or spoken-content extraction. - Use when DeepAPI or a local fallback can fetch the transcript safely. Fetch a YouTube video's transcript and save a clean raw `.txt` file. Primary path is DeepAPI `POST /v1/scrape/youtube/transcript`. It runs server-side, so it avoids the local-IP bot flagging that plagues yt-dlp. ## Save location - If the user is in a real project/working dir → save there. - Otherwise (no dir given, or cwd makes no sense) → save to `~/Downloads`. - **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. ## Primary path — DeepAPI `DEEPAPI_API_KEY` must already be present in the environment. Do not read shell startup files or print secrets: ```bash test -n "$DEEPAPI_API_KEY" || { echo "DEEPAPI_API_KEY is not set"; exit 1; } BASE=${DEEPAPI_API_BASE_URL:-https://deepapi.co} ``` Run the scrape (keep the Idempotency-Key; retries must reuse the SAME one): ```bash IDK=$(uuidgen) curl -s --max-time 120 "$BASE/v1/scrape/youtube/tra
- When to Use
- Save location
- Primary path — DeepAPI
- When to fall back to yt-dlp
- Fallback path — yt-dlp (local)
- yt-dlp failure handling
- Output
- Limitations
test -n "$DEEPAPI_API_KEY" || { echo "DEEPAPI_API_KEY is not set"; exit 1; }
curl -s --max-time 120 "$BASE/v1/scrape/youtube/transcript" \
jq -r '.status' /tmp/yt_transcript.json # succeeded | running | failed
jq -r '.output[0].text' /tmp/yt_transcript.json > "$OUT/$NAME.txt"
jq -r '.debitMicrousd' /tmp/yt_transcript.json # cost (50000 = $0.05)
yt-dlp --skip-download --write-subs --write-auto-subs \
python3 - "$OUT" <<'PY'What does the youtube-transcript skill do?
Fetch YouTube transcripts through DeepAPI or local fallback tooling and save clean text output.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill youtube-transcript --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.