Install skill
Setup
Pick the app you use. Every route starts by connecting Porter Metrics, because the skill reads all its data through it.
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what reads the video’s details and subtitles, with no YouTube account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Download youtube-transcript-scraper.zip.
- 3Open claude.ai or Claude Desktop, go to Customize › Skills, click +, then Upload a skill and pick the zip.
- 4Ask: Use the YouTube Transcript Scraper skill to get the transcript of [YouTube video link].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what reads the video’s details and subtitles, with no YouTube account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Install the skill with one command:COMMAND
npx skills add portermetrics/marketing-skills --skill youtube-transcript-scraper
- 3Or unzip the download into
~/.claude/skills/. - 4Ask: Use the YouTube Transcript Scraper skill to get the transcript of [YouTube video link].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what reads the video’s details and subtitles, with no YouTube account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Download youtube-transcript-scraper.zip.
- 3Open ChatGPT, go to Skills › Create › Upload from your computer and pick the zip. Your workspace admin may need to allow skill uploads.
- 4Ask: Use the YouTube Transcript Scraper skill to get the transcript of [YouTube video link].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what reads the video’s details and subtitles, with no YouTube account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Install for your agent (replace
codexwithcursoror another agent):COMMANDnpx skills add portermetrics/marketing-skills --skill youtube-transcript-scraper -a codex
- 3Ask: Use the YouTube Transcript Scraper skill to get the transcript of [YouTube video link].
- 1Connect Porter Metrics to your AI app: add this MCP server and sign in with Google. It is what reads the video’s details and subtitles, with no YouTube account or key.MCP SERVER URL
https://mcp.portermetrics.com/mcp
- 2Copy the full skill with the Copy skill button and paste it into a new chat or a project’s instructions.
- 3Ask: Use the YouTube Transcript Scraper skill to get the transcript of [YouTube video link].
Prompt
Once the skill and Porter Metrics are connected, paste this and replace the company name.
Use the YouTube Transcript Scraper skill to get the transcript of [YouTube video link].Example output
The full article the skill writes: the exact spoken words under headings that show how the script is built, then the video description. Shown with sample data for a fictional brand, Acme Running.
# How to Pick Your First Running Shoe (3 Checks) https://www.youtube.com/watch?v=AcMe0000001 · Acme Running · 2026-11-18 · 6:42 ## Intro Most new runners buy the **wrong shoe** for one reason: they shop by looks. Today I'll show you **three checks** that take five minutes in any store. ## The three checks for your first running shoe ### 1. Check the fit Put the shoe on and press your thumb above your big toe. You want **one thumb's width** of space, because your feet swell on a run. ### 2. Check the drop The **drop** is the height difference between heel and toe. If you land on your heel, start with **8 to 10 millimeters**. ### 3. Check the cushioning Jog ten steps in the store. The shoe should feel soft on landing but **never wobbly** at the ankle. ## Wrap-up That's it: fit, drop, cushioning. Try all three before you pay, and your first month of running will hurt a lot less. --- ## Video description Our fitting guide: https://acme.example/fit-guide Chapters: 0:00 Intro · 0:40 Fit · 2:10 Drop · 4:05 Cushioning · 6:00 Wrap-up
name: youtube-transcript-scraper
- objective: The exact spoken words of a YouTube video, laid out as an article whose headings show how the script is built.
- trigger: A YouTube link with a request for its transcript, script or structure. To find which videos rank for a topic, use SEO Topic Research.
- parameters: One or more YouTube video links. Optional: the video’s language and market.
- output: A transcript JSON file, the outline and the full article as markdown in a run folder, plus the language and source in the chat.
- reference: Every step runs through the Porter Metrics MCP (
https://mcp.portermetrics.com/mcp); only videos with no subtitles need a shell.
Index
| Item | Part | Use it when |
|---|---|---|
| Connect Porter Metrics | Start | Starting any run |
| Shared rules | Start | Applying the scope, cost and run folder rules to every step |
| Workflow | Start | Splitting the run into agents and seeing what runs in parallel |
| Ask for the input | Setup | Listing the videos |
| Get the video details | Scrape | Reading the title, channel, date, description and subtitle tracks |
| Get the transcript | Scrape | Reading the spoken words in the recorded language |
| Clean the output | Scrape | Turning the raw result into one transcript file |
| Write the article | Format | Laying the exact words out with headings, lists and bold |
| Check the words | Finish | Proving no word was added, dropped or changed |
| Hand over | Finish | Giving the user the files and the summary |
| Explaining the skill | Reference | Answering how the skill works, in plain words |
| Tools | Reference | Finding the Porter Metrics action for each job |
Connect Porter Metrics
Index ↑Run this before any other step.
| Rule | What to do |
|---|---|
| Check | Call the Porter Metrics MCP whoami tool. A reply with an account means the connection works. |
| Not connected | Stop the task and help the user connect: add the MCP server https://mcp.portermetrics.com/mcp to their AI app, sign in with Google, then run the check again. |
| Resume | Continue with Ask for the input once the check passes. |
| Porter first | Every job in the Tools table runs through the Porter Metrics MCP, so no YouTube account or key is needed. |
Shared rules
Index ↑These rules apply to every step.
| Rule | What to do |
|---|---|
| Public data only | Read only what anyone sees logged out. Never sign in, never use the user’s cookies or accounts. |
| Exact words | The transcript holds what was said, in order. Summaries, fixes and opinions stay out. |
| Start small | Run one video first and show the result before running the rest, because every call is billed. |
| Dropped call | A dropped call may already be billed. Run it again once, never the same call in a loop. |
| Empty field | A field the source does not show stays empty. Never fill it from a guess. |
| Nothing works | When no transcript can be read, stop and say what failed. Never write a transcript from memory or from the description. |
| Run folder | Save what each action returned, untouched, in youtube-transcript-scraper/[date]//raw/, and the cleaned files next to it. |
Workflow
Index ↑Run the steps in order, with one agent per step. With no agents, run the same steps one after another.
| Step | Agent | Input | Output |
|---|---|---|---|
| Get the video details and Get the transcript | One agent per video, in parallel | The video link | The raw details and subtitles |
| Clean the output | Same agent | The raw details and subtitles | The transcript file |
| Structure | One agent per video | The transcript file | Every H2 and H3, in order |
| Sections | Long video: one agent per H2, in parallel. Otherwise inside Structure | The structure and one H2’s words | That H2’s H4s, lists, paragraphs and bold |
| Reconcile | Long video only, after Sections | Every section | Same terms and numbering throughout |
| Check the words and Hand over | One agent per video | The article | The checked files and the summary |
| Explaining the skill | On request | The user’s question | A plain-language answer |
| Rule | What to do |
|---|---|
| Long video | A video too long for one agent to read whole. |
| Same structure | One agent decides all of a video’s H2s and H3s. |
Ask for the input
Index ↑Ask only for the links; take the defaults for the rest.
| Input | Required | Default |
|---|---|---|
| YouTube video links | Yes | none |
| Recorded language | No | Read from the title and description |
| Market | No | United States |
Get the video details
Index ↑Read the video’s details before its words.
| Rule | What to do |
|---|---|
| Video ID | Take the 11-character ID from the link and ignore extras such as a start time. |
| Details | Run seo.serp_youtube_video_info_live_advanced with video_id, location_name and language_code. Keep title, channel, date, duration, the subtitle track list and the description word for word, with its links. |
| Language | Read the recorded language from the title and description. The track list leaves the original unmarked and can open with a translated track. |
| Location name | When a market is rejected, look up its exact name with seo.serp_youtube_locations. |
Get the transcript
Index ↑Read the words in the language the video was recorded in.
| Rule | What to do |
|---|---|
| Subtitles | Run seo.serp_youtube_video_subtitles_live_advanced with video_id, location_name, language_code and subtitles_language set to the recorded language. Set every language and location value to the video’s market. |
| Translation check | Left out, subtitles_language can return a translation: confirm the first lines are in the video’s language. |
| No subtitles | Download the audio with yt-dlp in a shell, then transcribe the file with audio.speech_to_text and the recorded language. audio.transcribe_url needs a direct media link, so a YouTube page link is rejected. |
| Source | Mark each transcript subtitles or speech_to_text. |
Clean the output
Index ↑Keep one transcript file per video with these fields, in this order.
| Field | What it holds |
|---|---|
| video_url | The link given |
| title | The exact video title |
| channel | The channel name |
| date | Publish date |
| duration | Length of the video |
| language | The recorded language |
| description | The description, word for word, with links |
| segments | Each subtitle line with its start second |
| text | The segments joined, with line breaks, bracketed sounds and speaker marks removed |
| source_kind | subtitles or speech_to_text |
Output (JSON)
{"video_url": "", "title": "", "channel": "", "date": "", "duration": "", "language": "", "description": "", "segments": [{"start": 0, "text": ""}], "text": "", "source_kind": "subtitles|speech_to_text"}
Write the article
Index ↑Turn text into an article that keeps every spoken word, in order, and adds none. It returns two files: the outline and the full article.
| Rule | What to do |
|---|---|
| Order | Title, source line, the H2 sections, a divider, then the video description. |
| Title | The exact video title. |
| Source line | Video link, channel, date, duration. |
| Outline | Every heading in order, nested by level. |
| Description | Word for word, with links, under a heading named Video description. |
Structure
Index ↑Decide every H2 and H3 before writing any section.
| Rule | What to do |
|---|---|
| Start point | Start from the chapters in the description; what is said decides. |
| H2 | One per main section, starting with the intro, and one for each whole list the video announces. The biggest list gets the H2; lists inside it go lower. |
| H3 | One numbered H3 per item of that list; one per part elsewhere. |
| Headings | Name the concept, clear when read alone. |
Sections
Index ↑Lay out the words inside each H2.
| Rule | What to do |
|---|---|
| H4 | One per part inside an H3. |
| Paragraphs | Break where the idea changes. |
| Numbered list | Short items that are counted or ordered. |
| Bullet list | Short items with no order. |
| Bold | Key terms and keywords in the text. |
Reconcile
Index ↑On a long video, make the sections read as one article.
| Rule | What to do |
|---|---|
| Terms | The same concept keeps the same heading words in every section. |
| Numbering | Numbered H3s run without gaps or repeats across sections. |
| Words | Reconcile headings only; the spoken words stay untouched. |
Check the words
Index ↑Prove no word changed before handing over.
| Rule | What to do |
|---|---|
| Word check | Remove the headings, list markers and bold, then compare the words with text. They must match exactly. |
| By script | When code is available, build the article by inserting headings, markers and bold into text, so no one retypes it, and check the match by script. |
| Markdown characters | Escape dollar signs and leading asterisks so they stay as text. |
| Reopen | Read the saved article and confirm the title, the heading order, the last spoken sentence and the description. |
Hand over
Index ↑| Rule | What to do |
|---|---|
| Files | Give the user the paths of the transcript file, the outline and the article, and the raw folder. |
| Summary | Say in the chat the language, whether the text came from subtitles or speech-to-text, and the result of the word check. |
| Destination | When the user names a document or folder, save the article there as well. |
| Next step | When the user wants analysis, name the full skill that reads this file (Part of these skills on this page). |
Explaining the skill
Index ↑When the user asks how it works, say it in plain words:
| Question | Answer |
|---|---|
| What it does | It turns a YouTube video into its exact words, laid out as an article whose headings show how the script is built. |
| How it works | It reads the video’s details and subtitles in the language it was recorded in, transcribes the audio when there are no subtitles, adds headings, lists and bold, and checks that every word matches. |
| What the user gets | A transcript file, an outline and the full article, with the video description at the end. |
| What it needs | The Porter Metrics MCP, connected. A shell with yt-dlp only for videos with no subtitles. No YouTube account. |
Tools
Index ↑Porter Metrics MCP actions run through execute_action; read-only ones can run through read_action.
| Use | Tool | Parameters |
|---|---|---|
| Connection check | whoami |
none |
| Video details | seo.serp_youtube_video_info_live_advanced |
video_id · location_name · language_code |
| Subtitles | seo.serp_youtube_video_subtitles_live_advanced |
video_id · location_name · language_code · subtitles_language |
| Location names | seo.serp_youtube_locations |
country_iso_code |
| Download the audio (no subtitles) | Shell, outside Porter | yt-dlp -f ba -x --audio-format mp3 with the video link |
| Transcribe the audio (no subtitles) | audio.speech_to_text |
input_file_path · language_code |
| Word check | Shell | a short script that compares the article’s words with the transcript |
FAQ
Yes. The skill is free to copy, download and change. It reads data through the Porter Metrics MCP, which you can connect for free.
Yes. Every step reads or publishes data through the Porter Metrics MCP. Without it the skill stops at its first step, Connect Porter Metrics, and walks you through connecting.
Yes. When a video has no subtitle track, it downloads the audio and transcribes it with speech-to-text, and tells you the text came from speech-to-text.
No. The article keeps every spoken word in order and adds none; it only adds headings, lists and bold, and a word check proves the text matches the transcript.
Yes. It reads the subtitles in the language the video was recorded in, and checks the first lines so a translated track is never taken for the original.
Claude (web, desktop and Claude Code), ChatGPT, Codex, Cursor and any app that reads skill files or lets you paste instructions, as long as the Porter Metrics MCP is connected there.