Agent skill, easy

Get a YouTube transcript, as a skill your agent installs.

YouTube transcript API for an agent: it sends a YouTube video link to a catalog endpoint and reads timestamped transcript lines, plain text version and start back. Several providers sell the call, so the agent tries the cheapest first. You pay per call, and a failed call costs nothing.

Give this to your agent
set up looot - https://looot.ai/skill.md

Install

How do I install this skill?

Two steps. Set up looot once, then save this skill file where your agent reads skills.

1. Set up looot once

Give this line to your agent
set up looot - https://looot.ai/skill.md

Works in Claude Code, Cursor, Codex and ChatGPT through MCP. Searching and inspecting are free.

2. Save the skill

Save the skill file for Claude Code
mkdir -p ~/.claude/agent-skills/looot-youtube-transcript && curl -fsSL https://looot.ai/agent-skills/youtube-transcript/SKILL.md -o ~/.claude/agent-skills/looot-youtube-transcript/SKILL.md

Or open the raw SKILL.md and drop it into the skills folder of your own agent.

When it starts

What do I say to start this skill?

Any of these starts it. The agent asks for what is missing, nothing more.

  • Example prompt
    get the transcript of this YouTube video

  • Example prompt
    summarize this video from its captions

  • Example prompt
    pull the text of this talk

It asks for

  • The YouTube video link
  • The caption language, when the video has several

It hands back

  • Timestamped transcript lines
  • Plain text version
  • Start and end times
  • Caption language

Return the plain text first and offer the timestamped version. Say when a video has no captions.

How it runs

What does the agent do when it runs?

Four moves, in this order, with the price known before any money moves.

  1. Step 1

    Discover

    looot discover finds the endpoints that match the task. It is free.

  2. Step 2

    Inspect

    looot inspect shows the price and the exact input before anything is spent. It is free.

  3. Step 3

    Run

    looot run executes the call with an idempotency key, so a retry never charges twice. The agent reads the run status, not the HTTP code.

  4. Step 4

    Fall back

    On a provider error or a timeout the agent tries the next endpoint in the skill, cheapest first. It never retries a bad input elsewhere.

The file

What is inside the SKILL.md?

The whole file, as your agent reads it. No price is written in it: the agent reads the live price with looot inspect.

SKILL.md for Get a YouTube transcript
---
name: looot-youtube-transcript
description: Get a YouTube transcript. Use when the user says things like "get the transcript of this YouTube video", "summarize this video from its captions" or "pull the text of this talk". Runs through looot, billed per call.
---

# Get a YouTube transcript

YouTube transcript API for an agent: it sends a YouTube video link to a catalog endpoint and reads timestamped transcript lines, plain text version and start back. Several providers sell the call, so the agent tries the cheapest first. You pay per call, and a failed call costs nothing.

This skill needs the looot skill set up first: https://looot.ai/skill.md

## Ask for these inputs

The job takes a YouTube video link. Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ.

- The YouTube video link
- The caption language, when the video has several

## Run it

1. Find the endpoint: `looot discover --mode auto --query "youtube transcript"`. The endpoints listed below are the known matches.
2. Read the price and the input schema before spending: `looot inspect <endpoint-id>`. Tell the user the price, then run.
3. Run it: `looot run scrapecreators-youtube-video-transcript --input '{"url":"https://www.youtube.com/watch?v=dQw4w9WgXcQ","language":"en"}' --idempotency-key <new-key> --wait`. Reuse the same key only to retry the same request.
4. Read the run's `status` and `error`, not the HTTP status. A run can return `failed` with a normal response.
5. If a run fails with a provider error or times out, try the next endpoint from the list below, cheapest first. If it fails on your input (a 4xx style error), fix the input. Do not retry it on other providers.

## Endpoints

Each endpoint reads the same job from a different provider. They differ in inputs, fields and price. Run `looot inspect` on the ones that take the input you hold, start with the cheapest, and move to the next on a provider error.

- `scrapecreators-youtube-video-transcript`: returns a timestamped transcript array and a plain-text version, with a language code and a cache option
- `anysite-api-youtube-video-subtitles`: takes a video ID or a URL with a language, and returns the subtitles
- `dataforseo-youtube-video-subtitles-advanced`: returns a video's subtitles live, as a task array
- `searchapi-io-youtube-transcripts`: takes a video ID, lets you choose automatic or manual captions, and returns the languages available for the video

## What comes back

- Timestamped transcript lines
- Plain text version
- Start and end times
- Caption language

## Answer rule

Return the plain text first and offer the timestamped version. Say when a video has no captions.

## Before you start

- Check that the video has captions. If YouTube exposes no caption track, the transcript fields come back empty, and you are not billed for a call that fails at the provider.
- Ask for a language. If the transcript is not available in the language you name, one provider returns null instead of the nearest match.
- Long videos work. One provider says there is no two-minute limit on YouTube, and that podcasts work when public captions exist.

## Cost rules

- Searching and inspecting are free. Running is billed per call at the price `looot inspect` shows.
- Say the price before the first run, and the total after a batch.
- Never loop a failing call. Stop after two failures and report what failed.

## When not to use this skill

Use `looot-reddit-search` instead when you want what people say about a topic, not the words of one video.

Page for people: https://looot.ai/agent-skills/youtube-transcript

Wrong fit

When should I use a different skill?

Use Search Reddit when you want what people say about a topic, not the words of one video.

FAQ

What do people ask about this skill?

Send the video link to a transcript endpoint. Your agent gets back the caption lines with start times and a plain-text version. For a list of videos, it makes one call per link.

The same job as a page with the full price ladder: YouTube transcript API for AI agents. Updated 2026-10-04.

For agents
skill
looot-youtube-transcript
file
https://looot.ai/agent-skills/youtube-transcript/SKILL.md
difficulty
easy
input
a YouTube video link
endpoint
scrapecreators-youtube-video-transcript
endpoint
anysite-api-youtube-video-subtitles
endpoint
dataforseo-youtube-video-subtitles-advanced
endpoint
searchapi-io-youtube-transcripts
setup
https://looot.ai/skill.md
llms.txt
https://looot.ai/llms.txt
updated
2026-10-04

Try this skill with your own agent.

Start your workspace, top up, and save the skill where your agent reads it.