/dedene-skills:tiktok-transcriptfrom dedene-skills
Fetches, searches, and summarizes TikTok video captions using yt-dlp, with local mlx-whisper transcription on Apple Silicon when captions are absent.
Ships in dedene-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
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.
? can be treated as a glob.fetch (one video) or channel (a user's videos). Do not read transcript.md or transcript.json into context by default.transcript.txt for summaries or other content-only work; it removes timestamps and is cheaper to read than transcript.md.preview, search, excerpt, or bounded text output when later work needs only a small portion.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 4000
The 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 auto (default) transcribes locally with mlx-whisper only when no native captions exist: audio is downloaded via yt-dlp -x and transcribed on-device. --whisper always forces Whisper even when captions exist; --whisper never skips it (caption-less videos are then reported as no-captions).mlx_whisper binary or falls back to uvx --from mlx-whisper mlx_whisper (needs uv).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-tiny for quick tests. Use --whisper-language nl etc. when autodetection picks wrong.channel @user --whisper never, then rerun with --whisper auto to fill in only the caption-less videos (artifacts are cached; nothing is re-fetched).transcript_source in metadata.compact.json and the fetch output records whether the transcript came from tiktok-captions or mlx-whisper:<model>.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.vtt
transcript.json contains timestamped cue objects for programmatic search/excerpt.transcript.txt contains timestamp-free plain text for summarization and other content-only tasks.metadata.compact.json is the small metadata file to read into context when needed.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 chrome
chrome, chrome:Profile 1, firefox, and safari are common values. The script also honors TIKTOK_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 channel undercounts 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), then fetch each URL individually.
yt-dlp is the only required external binary for captioned videos; uv (or pip install mlx-whisper) enables the Whisper fallback.list/fetch (which use --list-subs/--write-subs) can see them. Do not conclude "no captions" from source.info.json.--refresh to re-download captions/audio and re-transcribe.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dedene/skills --plugin dedene-skills14 skills in this plugin
/architect-loopRun an explicitly requested architect/builder loop using a project handoff and user-defined acceptance gates./autopilot-interviewInterview or stress-test a plan when the user requests it. Resolve routine choices and surface consequential unresolved decisions./go-cli-builderBuild or extend a Go CLI with explicit command, auth, configuration, and output contracts./idea-to-visualThis skill should be used when turning an idea, quote, insight, book chapter, post, or talk section into a simple explanatory visual (concept sketch, visual metaphor, comparison, diagram-style illustration) and when prompting image generators for it — Higgsfield (via mcporter), Gemini / Nano Banana, ChatGPT image, or any other image tool, with or without reference images. Covers visual/element brainstorming, concept critique and captions, generator-ready prompts, style transfer of rough sketches, tracing-friendly metaphor objects, and a consistent house style. Triggers on "visualize this idea", "make a visual for", "illustrate this concept", "run VB / EB / CB" (visual, element, caption brainstorm), "style transfer my sketch", "caption for this visual"./last30days-localResearch recent community discussion across supported social sources when the user requests a recent-reaction or last-30-days sweep./smooth-shadowsGenerate layered box-shadow CSS or Tailwind values when the requested design needs smooth elevation.Other plugins' skills for the same job