Agent skill

Youtube Apify Transcript

by gooseworks-ai in gooseworks-ai/goose-skills

Fetch YouTube transcripts via APIFY API. An agent skill from gooseworks-ai/goose-skills.

MITAuto-check: notesData & Analytics

Install Youtube Apify Transcript

skills CLI
$ npx skills add gooseworks-ai/goose-skills --skill youtube-apify-transcript -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gooseworks-ai/goose-skills youtube-apify-transcript --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/gooseworks-ai/goose-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/research-tools/capabilities/youtube-apify-transcript .claude/skills/youtube-apify-transcript && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
youtube-apify-transcript
GitHub stars
1.2k
Used in
1 other repo
Token cost
~1k tokens
SKILL.md length
199 words
Files
6 (incl. scripts)
Skills in repo
273
Repo updated
First seen
Licence
MIT

At a glance

Fetch YouTube transcripts via APIFY API. An agent skill from gooseworks-ai/goose-skills.

  • Works in 3 steps: Create free APIFY account:… → Get your API token:… → Set environment variable
  • Tasks that involve Web scraping
  • SKILL.md covers Why APIFY?, Free Tier, Cost and Links, plus 4 more sections
  • Runs Python scripts from its folder; calls python3; reaches youtube.com and youtu.be; needs APIFY_API_TOKEN

What it does

Youtube Apify Transcript is an agent skill from gooseworks-ai/goose-skills. Fetch YouTube transcripts via APIFY API. Works from cloud IPs (Hetzner, AWS, etc.) by bypassing YouTube's bot detection. Free tier includes $5/month credits (~714 videos). No credit card required.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including scripts (for example `CHANGELOG.md`, `README.md` and `package.json`).

It sits in Data & Analytics, covering Web scraping and Video and podcast notes. It works with Apify, YouTube and Amazon Web Services. The repository describes itself as: Library of Growth & GTM skills + data APIs for Claude Code, Codex, Cursor to run ads, social, content, lead gen, seo and data scraping. The licence is MIT.

When your agent uses it

  • Tasks that involve Web scraping
  • Tasks that involve Video and podcast notes

Example prompts

  • “/youtube-apify-transcript”

Requirements

  • Python 3
  • A credential in APIFY_API_TOKEN

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Create free APIFY account: https://apify.com/
  2. Get your API token: https://console.apify.com/account/integrations
  3. Set environment variable

What it can do on your machine

Read from SKILL.md and the folder at commit c650c6d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • youtube.com
    • youtu.be

    Also links to:

    • console.apify.com
    • apify.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • APIFY_API_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Youtube Apify Transcript loads about 1k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 199 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:42
    # Or use .env file (never commit this!)
  • NoteMentions a .env fileSKILL.md:43
    _API_TOKEN=apify_api_YOUR_TOKEN_HERE' >> .env

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from gooseworks-ai/goose-skills at commit c650c6d, republished under its MIT licence (© gooseworks-ai). 199 words, ~1,041 tokens.

Download SKILL.mdSave it as .claude/skills/youtube-apify-transcript/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
youtube-apify-transcript
description
Fetch YouTube transcripts via APIFY API. Works from cloud IPs (Hetzner, AWS, etc.) by bypassing YouTube's bot detection. Free tier includes $5/month credits (~714 videos). No credit card required.
tags
research

youtube-apify-transcript

Fetch YouTube transcripts via APIFY API (works from cloud IPs, bypasses YouTube bot detection).

Why APIFY?

YouTube blocks transcript requests from cloud IPs (AWS, GCP, etc.). APIFY runs the request through residential proxies, bypassing bot detection reliably.

Free Tier

  • $5/month free credits (~714 videos)
  • No credit card required
  • Perfect for personal use

Cost

Setup

  1. Create free APIFY account: https://apify.com/
  2. Get your API token: https://console.apify.com/account/integrations
  3. Set environment variable:
bash
# Add to ~/.bashrc or ~/.zshrc
export APIFY_API_TOKEN="apify_api_YOUR_TOKEN_HERE"

# Or use .env file (never commit this!)
echo 'APIFY_API_TOKEN=apify_api_YOUR_TOKEN_HERE' >> .env

Usage

Basic Usage
bash
# Get transcript as text (uses cache by default)
python3 scripts/fetch_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID"

# Short URL also works
python3 scripts/fetch_transcript.py "https://youtu.be/VIDEO_ID"
Options
bash
# Output to file
python3 scripts/fetch_transcript.py "URL" --output transcript.txt

# JSON format (includes timestamps)
python3 scripts/fetch_transcript.py "URL" --json

# Both: JSON to file
python3 scripts/fetch_transcript.py "URL" --json --output transcript.json

# Specify language preference
python3 scripts/fetch_transcript.py "URL" --lang de
Caching (saves money!)

Transcripts are cached locally by default. Repeat requests for the same video cost $0.

bash
# First request: fetches from APIFY ($0.007)
python3 scripts/fetch_transcript.py "URL"

# Second request: uses cache (FREE!)
python3 scripts/fetch_transcript.py "URL"
# Output: [cached] Transcript for: VIDEO_ID

# Bypass cache (force fresh fetch)
python3 scripts/fetch_transcript.py "URL" --no-cache

# View cache stats
python3 scripts/fetch_transcript.py --cache-stats

# Clear all cached transcripts
python3 scripts/fetch_transcript.py --clear-cache

Cache location: .cache/ in skill directory (override with YT_TRANSCRIPT_CACHE_DIR env var)

Batch Mode

Process multiple videos at once:

bash
# Create a file with URLs (one per line)
cat > urls.txt << EOF
https://youtube.com/watch?v=VIDEO1
https://youtu.be/VIDEO2
https://youtube.com/watch?v=VIDEO3
EOF

# Process all URLs
python3 scripts/fetch_transcript.py --batch urls.txt

# Batch with JSON output to file
python3 scripts/fetch_transcript.py --batch urls.txt --json --output all_transcripts.json

APIFY Actor Input

The script sends the following input to pintostudio/youtube-transcript-scraper:

json
{
  "videoUrl": "https://www.youtube.com/watch?v=VIDEO_ID"
}

Output fields:

Each result contains a data array of transcript segments:

FieldTypeDescription
startnumberSegment start time (seconds)
durnumberSegment duration (seconds)
textstringTranscript text for this segment
Output Formats

Text (default):

Hello and welcome to this video.
Today we're going to talk about...

JSON (--json):

json
{
  "video_id": "dQw4w9WgXcQ",
  "title": "Video Title",
  "transcript": [
    {"start": 0.0, "dur": 2.5, "text": "Hello and welcome"},
    {"start": 2.5, "dur": 3.0, "text": "to this video"}
  ],
  "full_text": "Hello and welcome to this video..."
}

Error Handling

The script handles common errors:

  • Invalid YouTube URL
  • Video has no transcript
  • API quota exceeded
  • Network errors

© gooseworks-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (scripts) in skills/research-tools/capabilities/youtube-apify-transcript of gooseworks-ai/goose-skills.

  • SKILL.md
  • CHANGELOG.md
  • README.md
  • package.json
  • scripts/fetch_transcript.py
  • skill.meta.json

Open the folder on GitHubat commit c650c6d

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in gooseworks-ai/goose-skills, which our catalogue first saw on October 9, 2026.

Compare with similar skills

Youtube Apify Transcript next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Youtube Apify Transcript compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Youtube Apify Transcript this skillgooseworks-ai/goose-skills1.2k1 repos~1kAutomated safety check: NotesMIT
Apify Audience Analysissickn33/agentic-awesome-skills47k2 repos~1.3kAutomated safety check: NotesMIT
Apify Content Analyticssickn33/agentic-awesome-skills47k2 repos~1.2kAutomated safety check: NotesMIT
Apify Trend Analysissickn33/agentic-awesome-skills47k2 repos~1.2kAutomated safety check: NotesMIT
Apify Competitor IntelligenceaAAaqwq/AGI-Super-Team1053 repos~1.3kAutomated safety check: NotesMIT
Apify Creator Emailsapify/awesome-skills266—~3.9kAutomated safety check: PassApache-2.0

Similar skills

  • Apify Audience Analysis

    sickn33/agentic-awesome-skills

    Understand audience demographics, preferences, behavior patterns, and engagement quality across Facebook, Instagram, YouTube, and TikTok.

    47k GitHub starsUsed in 2 repos~1.3k tokens
    Data & AnalyticsAuto-check: notes
  • Apify Content Analytics

    sickn33/agentic-awesome-skills

    Track engagement metrics, measure campaign ROI, and analyze content performance across Instagram, Facebook, YouTube, and TikTok.

    47k GitHub starsUsed in 2 repos~1.2k tokens
    Data & AnalyticsAuto-check: notes
  • Apify Trend Analysis

    sickn33/agentic-awesome-skills

    Discover and track emerging trends across Google Trends, Instagram, Facebook, YouTube, and TikTok to inform content strategy.

    47k GitHub starsUsed in 2 repos~1.2k tokens
    Data & AnalyticsAuto-check: notes
  • Apify Competitor Intelligence

    aAAaqwq/AGI-Super-Team

    Analyze competitor strategies, content, pricing, ads, and market positioning across Google Maps, Booking.com, Facebook, Instagram, YouTube, and TikTok.

    105 GitHub starsUsed in 3 repos~1.3k tokens
    Data & AnalyticsAuto-check: notes
  • Apify Creator Emails

    apify/awesome-skills

    Official

    Find creators and their published contact emails in one run.

    266 GitHub stars~3.9k tokensUpdated 17 days ago
    Data & AnalyticsAuto-check passed
  • This skill helps users automatically extract YouTube video transcripts and metadata in batch via the BrowserAct API.

    6.1k GitHub starsUsed in 1 repo~1.4k tokens
    Media & CreativeAuto-check passed

More from gooseworks-ai/goose-skills

All 273 skills in this repo
  • Reddit Post Finder

    gooseworks-ai/goose-skills

    Scrape and search Reddit posts using Apify. An agent skill from gooseworks-ai/goose-skills.

    1.2k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • Create Image Fal

    gooseworks-ai/goose-skills

    Generate or edit an image via any FAL image model (nano-banana edit, gpt-image, flux, ...), ROUTED THROUGH THE fal-proxy so it bills the Ads agent.

    1.2k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Render Hook Replacement

    gooseworks-ai/goose-skills

    Replace an existing video's opening with a supplied clip or free kinetic text hook while retaining and verifying every original body frame, audio, captions and ending.

    1.2k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed
  • Blog Feed Monitor

    gooseworks-ai/goose-skills

    Scrape blog posts via RSS feeds (free, no API key) with Apify fallback for JS-heavy sites.

    1.2k GitHub starsUsed in 1 repo~578 tokens
    Auto-check passed
  • Competitor Post Engagers

    gooseworks-ai/goose-skills

    Find leads by scraping engagers from a competitor's top LinkedIn posts.

    1.2k GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check: notes
  • Render Chatgpt Chat

    gooseworks-ai/goose-skills

    Assemble a ChatGPT chat-reveal video ad from a thread + timeline JSON — one continuous Playwright recording of a ChatGPT mobile chat (user types with the iOS keyboard up → taps send → keyboard…

    1.2k GitHub stars~2.3k tokensUpdated yesterday
    Auto-check passed

Questions about Youtube Apify Transcript

What does Youtube Apify Transcript do?

Fetch YouTube transcripts via APIFY API. An agent skill from gooseworks-ai/goose-skills. Youtube Apify Transcript is an agent skill from gooseworks-ai/goose-skills. Fetch YouTube transcripts via APIFY API.

When should I use Youtube Apify Transcript?

Youtube Apify Transcript fits situations like: tasks that involve Web scraping; tasks that involve Video and podcast notes.

How do I install Youtube Apify Transcript in Claude Code?

Run `npx skills add gooseworks-ai/goose-skills --skill youtube-apify-transcript -a claude-code`. Or copy the skill folder (skills/research-tools/capabilities/youtube-apify-transcript in gooseworks-ai/goose-skills) into .claude/skills/youtube-apify-transcript in your project. Claude Code loads it when a task matches its description.

How do I install Youtube Apify Transcript in Codex?

Run `npx skills add gooseworks-ai/goose-skills --skill youtube-apify-transcript -a codex`. Or copy the skill folder (skills/research-tools/capabilities/youtube-apify-transcript in gooseworks-ai/goose-skills) into .agents/skills/youtube-apify-transcript in your project. Codex loads it when a task matches its description.

Can I use Youtube Apify Transcript in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gooseworks-ai/goose-skills --skill youtube-apify-transcript -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/youtube-apify-transcript, .gemini/skills/youtube-apify-transcript, .github/skills/youtube-apify-transcript and .opencode/skills/youtube-apify-transcript in your project.

What does Youtube Apify Transcript need to run?

Going by SKILL.md and its folder, Youtube Apify Transcript needs Python for the scripts in its folder, the command-line tools its instructions call (python3) and credentials named APIFY_API_TOKEN. Our summary lists: Python 3; A credential in APIFY_API_TOKEN.

Does Youtube Apify Transcript access the network?

SKILL.md names 4 domains. In commands or code: youtube.com and youtu.be; the agent is likely to contact these when it follows the instructions. As links in the text: console.apify.com and apify.com. This is read from the text; nothing was executed.

Is Youtube Apify Transcript safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Youtube Apify Transcript use?

Youtube Apify Transcript is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Youtube Apify Transcript use?

About 1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Youtube Apify Transcript?

Skills that share tags, products or a category with Youtube Apify Transcript: Apify Audience Analysis (sickn33/agentic-awesome-skills, 47k stars), Apify Content Analytics (sickn33/agentic-awesome-skills, 47k stars), Apify Trend Analysis (sickn33/agentic-awesome-skills, 47k stars) and Apify Competitor Intelligence (aAAaqwq/AGI-Super-Team, 105 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Youtube Apify Transcript?

gooseworks-ai (a GitHub organization) maintains it in gooseworks-ai/goose-skills, which has 1,240 GitHub stars. The repository holds 273 skills in this directory. The repository was last updated on October 8, 2026.

Source: gooseworks-ai/goose-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.