tiktok-transcript
Skill15 starsChanged 3 months agoMITView on GitHub
Fetch, search, or summarize captions for TikTok videos or a specified channel, with local transcription when captions are absent.
- Installs packages
2 other projects use a version of this.
Adopted by
Most recently taken up by
- agentbody/skillstheir own version, first seen Oct 11, 2026
- jcaiagent7143-ui/linkdigest-mcptheir own version, first seen Oct 11, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- jcaiagent7143-ui/linkdigest-mcp★ 5same name
- agentbody/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- config/AGENTS.mdAGENTS.md
- architect-loopSkill
- autopilot-interviewSkill
- go-cli-builderSkill
- idea-to-visualSkill
- last30days-localSkill
- smooth-shadowsSkill
- untangle-codebaseSkill
- website-briefSkill
- website-conversion-auditSkill
- website-copySkill
- website-lead-magnetSkill
- youtube-channel-searchSkill
- youtube-transcriptSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Use transcript.txt for summaries or other content-only work.
- Very specific: line 17
Use preview, search, excerpt, or bounded text output when later work needs only a small portion.
- Distinctive: line 18
Read the full transcript only when the task truly requires full-document reasoning and no smaller excerpt/search path is enough.
- Distinctive: line 46
Not every TikTok video has captions.
- Very specific: line 49
Default model is mlx-community/whisper-large-v3-turbo (good speed/quality.
- Distinctive: line 51
Keep channel size and transcription work within the requested scope.
- Distinctive: line 78
If yt-dlp reports rate limiting, bot detection, login walls, or region errors:
- Distinctive: line 88
If yt-dlp warns about impersonation and requests start failing, install the impersonation dependency it suggests (curl_cffi) per …
- Very specific: line 90
If channel undercounts a large profile (known yt-dlp TikTok pagination flakiness), harvest video links by scrolling the profile page in a …
- Very specific: line 96
Use --refresh to re-download captions/audio and re-transcribe.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TikTok Transcript
Fetch TikTok captions with yt-dlp and save durable transcript artifacts. Read bounded excerpts for narrow questions or the full timestamp-free text for complete summaries. Videos without captions can be transcribed locally with mlx-whisper (Apple Silicon).
This skill mirrors the workflow shape of the sibling youtube-transcript skill.
Workflow
- Resolve this skill directory and run the bundled script. Always single-quote TikTok URLs in zsh because
?can be treated as a glob. - Fetch to local artifacts with
fetch(one video) orchannel(a user's videos). Do not readtranscript.mdortranscript.jsoninto context by default. - Use
transcript.txtfor summaries or other content-only work; it removes timestamps and is cheaper to read thantranscript.md. - Use
preview,search,excerpt, or boundedtextoutput when later work needs only a small portion. - Read the full transcript only when the task truly requires full-document reasoning and no smaller excerpt/search path is enough.
Commands
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py list 'https://www.tiktok.com/@user/video/VIDEO_ID'
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py fetch 'https://www.tiktok.com/@user/video/VIDEO_ID' \
--output-dir tiktok-transcripts
# All (or the N most recent) videos of a channel:
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py channel @user --limit 20
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py preview tiktok-transcripts/VIDEO_ID
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py search tiktok-transcripts/VIDEO_ID 'topic or phrase'
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py excerpt tiktok-transcripts/VIDEO_ID \
--start 00:00:30 \
--end 00:01:10
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py text tiktok-transcripts/VIDEO_ID --max-chars 4000The fetch command prints a compact result with the video title, transcript source, cue count, and a short preview. It intentionally does not print the full transcript. The channel command prints one status line per video plus a summary, and writes channel.index.json.
Whisper fallback
- Not every TikTok video has captions; it depends on whether the creator enabled them.
--whisper auto(default) transcribes locally withmlx-whisperonly when no native captions exist: audio is downloaded viayt-dlp -xand transcribed on-device.--whisper alwaysforces Whisper even when captions exist;--whisper neverskips it (caption-less videos are then reported asno-captions).- Requires Apple Silicon. The script uses an installed
mlx_whisperbinary or falls back touvx --from mlx-whisper mlx_whisper(needsuv). - Default model is
mlx-community/whisper-large-v3-turbo(good speed/quality; ~1.5 GB download on first use). Override with--whisper-model, e.g.mlx-community/whisper-tinyfor quick tests. Use--whisper-language nletc. when autodetection picks wrong. - For bulk channel runs, a cheap first pass is
channel @user --whisper never, then rerun with--whisper autoto fill in only the caption-less videos (artifacts are cached; nothing is re-fetched). - Keep channel size and transcription work within the requested scope. Start caption-first for an unbounded channel request, report missing-caption coverage, and resolve material download or runtime costs before launching a large transcription batch. A single requested video does not need a separate routine fallback approval.
transcript_sourceinmetadata.compact.jsonand the fetch output records whether the transcript came fromtiktok-captionsormlx-whisper:<model>.
Artifacts
Default output:
tiktok-transcripts/
├── channel.index.json # channel mode only: per-video status
└── VIDEO_ID/
├── metadata.compact.json
├── source.info.json
├── VIDEO_ID.audio.m4a # whisper fallback only
├── transcript.whisper.vtt # whisper fallback only
├── transcript.json
├── transcript.md
├── transcript.txt
└── transcript.vtttranscript.jsoncontains timestamped cue objects for programmatic search/excerpt.transcript.txtcontains timestamp-free plain text for summarization and other content-only tasks.metadata.compact.jsonis the small metadata file to read into context when needed.
Fallbacks
If yt-dlp reports rate limiting, bot detection, login walls, or region errors:
Retry with browser cookies (Peter is logged in to TikTok in his browsers):
python3 <this-skill-dir>/scripts/fetch-tiktok-transcript.py fetch 'URL' --cookies-from-browser chromechrome,chrome:Profile 1,firefox, andsafariare common values. The script also honorsTIKTOK_TRANSCRIPT_COOKIES_FROM_BROWSER.- If yt-dlp warns about impersonation and requests start failing, install the impersonation dependency it suggests (curl_cffi) per https://github.com/yt-dlp/yt-dlp#impersonation.
- If
channelundercounts a large profile (known yt-dlp TikTok pagination flakiness), harvest video links by scrolling the profile page in a real logged-in browser session (Aside or agent-browser), thenfetcheach URL individually.
Notes
yt-dlpis the only required external binary for captioned videos;uv(orpip install mlx-whisper) enables the Whisper fallback.- TikTok caption info is missing from yt-dlp's JSON metadata even when captions exist — only
list/fetch(which use--list-subs/--write-subs) can see them. Do not conclude "no captions" fromsource.info.json. - Use
--refreshto re-download captions/audio and re-transcribe. - Private accounts fail even with valid cookies (open yt-dlp issue as of 2026).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

