davepoon/buildwithclaude / plugins/all-skills/skills/youtube-transcript
youtube-transcript
VerifiedUse when the user wants a YouTube video's transcript fetched, wants to summarize/analyze/quote a YouTube video by its spoken content, wants to search YouTube (globally or a channel handle's videos), wants a channel handle resolved to its channel ID, or wants the videos in a YouTube playlist. Calls the getyoutubetranscript.com public API - requires an API key (free tier available, no card required).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 9.9 KB |
| scripts/fetch_channel_latest.shexecutable | script | 783 B |
| scripts/fetch_channel_search.shexecutable | script | 1.4 KB |
| scripts/fetch_channel_videos.shexecutable | script | 1.3 KB |
| scripts/fetch_playlist.shexecutable | script | 1.2 KB |
| scripts/fetch_search.shexecutable | script | 1.4 KB |
| scripts/fetch_transcript.shexecutable | script | 849 B |
| scripts/resolve_channel.shexecutable | script | 658 B |
scripts/fetch_search.sh
View on GitHub#!/bin/bash
# Searches YouTube via the getyoutubetranscript.com API.
#
# Usage (first page):
# YOUTUBE_TRANSCRIPT_API_KEY=sk_live_... ./fetch_search.sh <query> [video|channel]
# Usage (later pages - pass the previous response's data.continuation_token
# verbatim, it's opaque, don't construct it yourself):
# YOUTUBE_TRANSCRIPT_API_KEY=sk_live_... ./fetch_search.sh "" "" <page_token>
#
# Prints the raw JSON response to stdout. A non-2xx response is still valid
# JSON with a "code" field to branch on - see SKILL.md's Errors table.
set -euo pipefail
QUERY="${1:-}"
TYPE="${2:-video}"
PAGE_TOKEN="${3:-}"
if [ -z "$QUERY" ] && [ -z "$PAGE_TOKEN" ]; then
echo "Usage: fetch_search.sh <query> [video|channel] | fetch_search.sh '' '' <page_token>" >&2
exit 1
fi
if [ -z "${YOUTUBE_TRANSCRIPT_API_KEY:-}" ]; then
echo "Error: set YOUTUBE_TRANSCRIPT_API_KEY first (get a free key at https://getyoutubetranscript.com/dashboard)" >&2
exit 1
fi
if [ -n "$PAGE_TOKEN" ]; then
curl -s -G "https://getyoutubetranscript.com/api/v1/search" \
--data-urlencode "page_token=${PAGE_TOKEN}" \
-H "Authorization: Bearer ${YOUTUBE_TRANSCRIPT_API_KEY}"
else
curl -s -G "https://getyoutubetranscript.com/api/v1/search" \
--data-urlencode "q=${QUERY}" \
--data-urlencode "type=${TYPE}" \
-H "Authorization: Bearer ${YOUTUBE_TRANSCRIPT_API_KEY}"
fi
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |