Xpersona
Y

YouTube Transcript Fetcher

CLAWHUB · Unverified

Fetch full YouTube transcripts with robust InnerTube fallback. Use when extracting captions/transcripts from a YouTube URL, channel, or batch config, especia... Skill: YouTube Transcript Fetcher Owner: ioridev Summary: Fetch full YouTube transcripts with robust InnerTube fallback. Use when extracting captions/transcripts from a YouTube URL, channel, or batch config, especia... Tags: latest:0.1.3 Version history: v0.1.3 | 2026-04-09T05:45:12.795Z | user Declare dependencies, remove proxy support, and clarify runtime requirements v0.1.0 | 2026-04-09T05:26:01.040Z | user Initia

62
Rank
84
Safety
975
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 975 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s179hnx3dfs4wskr576s9dvfj584h2pv:youtube-transcript-fetcher
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-ioridev-youtube-transcript-fetcher/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

21,388 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: youtube-transcript-fetcher
description: Fetch full YouTube transcripts with robust InnerTube fallback. Use when extracting captions/transcripts from a YouTube URL, channel, or batch config, especially when normal transcript tools fail, uploader subtitles are missing, or YouTube auto-generated captions may still be recoverable.
metadata:
  openclaw:
    requires:
      bins: ["python3", "yt-dlp"]
    install:
      - id: apt-yt-dlp
        kind: apt
        package: yt-dlp
        bins: ["yt-dlp"]
        label: Install yt-dlp (apt)
      - id: brew-yt-dlp
        kind: brew
        formula: yt-dlp
        bins: ["yt-dlp"]
        label: Install yt-dlp (brew)
---

Fetch transcripts from YouTube videos. Prefer this skill when the goal is to obtain source transcript text, not to summarize.

Run `./youtube-transcript-fetcher --url <youtube-url>` for a single video.
Run `./youtube-transcript-fetcher --channel <channel-id-or-handle> --hours <n>` for recent channel videos.
Run `./youtube-transcript-fetcher --config config/channels.example.json --daily` for batch mode.

The main script is `scripts/youtube_transcript_fetcher.py`.
It uses watch-page scraping plus InnerTube player API fallback with multiple client profiles (`ANDROID`, `WEB`, `TVHTML5_SIMPLY_EMBEDDED_PLAYER`, `IOS`) to recover caption tracks that simpler methods miss, including cases where only YouTube auto-generated captions are available.

Install Python dependencies with `pip install -r requirements.txt` before first use.

Return the transcript text from the generated JSON output. Do not rely on summary fields because this skill is intentionally transcript-first.

README.md

# youtube-transcript-fetcher

`youtube-transcript-fetcher` is an OpenClaw skill and CLI for extracting full YouTube transcripts reliably.

Instead of generating a short summary first, it returns the transcript text itself. That means OpenClaw can read the full content of the video directly and decide for itself how to analyze, summarize, translate, quote, or structure it.

## Why this exists

A lot of YouTube transcript tools fail on videos where normal caption fetching breaks, or only work when the uploader has explicitly provided subtitle tracks.

`youtube-transcript-fetcher` takes a more resilient path:

watch page scrape -> `INNERTUBE_API_KEY` extraction -> InnerTube player API fallback across multiple client profiles -> caption XML download -> transcript text extraction

This makes it much better at recovering transcripts from videos where simpler libraries return `No transcript available`.

## Main selling points

It is built around three ideas.

First, it fetches the transcript itself, not just a summary. Because there is no summary layer in the middle, OpenClaw can inspect the entire spoken content and keep full context.

Second, it can often recover YouTube's automatic captions even when manually attached subtitles are not present. In practice, this is the big win. A video may look like it has no uploader-provided subtitle set, but YouTube auto-generated captions are still available through the InnerTube caption path.

Third, it outputs plain JSON with the transcript included, so it is easy to plug into other OpenClaw flows.

## What it can fetch

`youtube-transcript-fetcher` can extract transcripts from:

- a single YouTube video URL
- a recent set of videos from a channel or handle
- a batch config for repeated runs

When transcript extraction succeeds, the JSON output includes a `transcript` field containing the full extracted text.

## How transcript recovery works

The core recovery flow is:

1. Fetch the YouTube watch page HTML
2. Extract `INNERTUBE_API_KEY`
3. Call `youtubei/v1/player`
4. Try multiple client identities in order:
   - `ANDROID`
   - `WEB`
   - `TVHTML5_SIMPLY_EMBEDDED_PLAYER`
   - `IOS`
5. Read caption track metadata from the player response
6. Download the caption XML from the selected `baseUrl`
7. Parse the XML into transcript text

This fallback approach is based on the same family of techniques used to recover captions in cases where normal transcript APIs are flaky.

## Why no summary is a feature

A summary throws information away.

If the goal is to let OpenClaw understand a video well, returning only a summary is weaker than returning the transcript. With `youtube-transcript-fetcher`, OpenClaw can read the source material directly, which is better for:

- detailed analysis
- extracting exact claims or quotes
- translation
- structured output generation
- custom summaries tailored to the user's task
- reusing the transcript in other tools or agents

This is also what makes the output flexible downstream. Onc

_meta.json

{
  "ownerId": "kn70g5b7shmvypagk0y0ejm8td84g96x",
  "slug": "youtube-transcript-fetcher",
  "version": "0.1.3",
  "publishedAt": 1775713512795
}

skill-card.md

## Description:

Fetch full YouTube transcripts with robust InnerTube fallback. Use when extracting captions/transcripts from a YouTube URL, channel, or batch config, especially when normal transcript tools fail, uploader subtitles are missing, or YouTube auto-generated captions may still be recoverable.

This skill is ready for commercial/non-commercial use.

## Publisher:

[ioridev](https://clawhub.ai/user/ioridev)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agents use this skill to fetch transcript-first source text from individual YouTube videos, recent channel videos, or batch channel configurations. The resulting transcript can then be analyzed, summarized, translated, quoted, or transformed by downstream workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Channel input or batch configuration can cause network requests to non-YouTube destinations.

Mitigation: Use explicit YouTube video IDs, YouTube URLs, or trusted channel handles, and avoid untrusted batch config files until channel URL handling is restricted to YouTube domains.

Risk: The skill runs yt-dlp and Python dependencies with network access.

Mitigation: Install only in environments where outbound network access and those dependencies are acceptable, and review dependency versions before deployment.

Risk: Python dependencies are specified with lower bounds rather than pinned exact versions.

Mitigation: Pin and review dependency versions for production or controlled deployments.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/ioridev/skills/youtube-transcript-fetcher)
- [Publisher profile](https://clawhub.ai/user/ioridev)
- [Artifact README](artifact/README.md)
- [Skill definition](artifact/SKILL.md)
- [Example batch configuration](artifact/config/channels.example.json)

## Skill Output:

**Output Type(s):** [text, json, files, shell commands, configuration, guidance]

**Output Format:** [JSON file containing transcript text, video metadata, per-item errors, and aggregate stats; agent guidance is Markdown with inline shell commands.]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Writes output to /tmp/youtube_transcript_fetcher.json by default unless an explicit output path is supplied.]

## Skill Version(s):

0.1.3 (source: ClawHub release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

config/channels.example.json

{
  "channels": [
    {
      "name": "All About AI",
      "id": "UCyFqFYfTW2VoIQKylJ04Rtw",
      "url": "https://www.youtube.com/@AllAboutAI"
    },
    {
      "name": "Two Minute Papers",
      "id": "UCbfYPyITQ-7l4upoX8nvctg",
      "url": "https://www.youtube.com/@TwoMinutePapers"
    },
    {
      "name": "Lex Fridman",
      "id": "UCSHZKyawb77ixDdsGog4iWA",
      "url": "https://www.youtube.com/@lexfridman"
    }
  ],
  "hours_lookback": 24,
  "min_duration_seconds": 300,
  "max_videos_per_channel": 5
}

Sponsored

Ads related to YouTube Transcript Fetcher and adjacent AI workflows.