agentleFS
jcaiagent7143-uijcaiagent7143-ui/linkdigest-mcp/skills/douyin-subtitle-text/SKILL.md

douyin-subtitle-text

Skill5 starsChanged 56 days agoMITView on GitHub

抖音字幕提取 / 抖音口播文案提取 (Douyin subtitles & speech to text). 用户发来抖音视频链接(douyin.com/video、v.douyin.com 短链或整段分享文字),只要视频里说的话:提字幕、扒口播、拿文案去翻译或改写时使用。抖音不提供字幕文件,这里用语音识别把口播写成文字,每段带开始时间。只读口播、不抽帧,所以最省:每 2 分钟 1 积分,不收基础积分。不登录抖音、不要 Cookie、不下载视频;读不了不扣费。需要 LinkDigest API Key(注册送 10 积分)。

  • Reads credentials

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use it when the user wants the words themselves: to copy the 文案, translate it, check a quote, or hand it to another model.

    line 40
  2. Distinctive:

    Use something else for:

    line 42
  3. Distinctive:

    Only the link leaves the machine.

    line 70

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

抖音字幕提取 · 口播文案 (Douyin speech → text)

Douyin does not publish a subtitle file. The "字幕" on a video is either pixels on the frames or nothing at all, so "extract the subtitles" really means: write down what was said. This skill does that from the link alone.

Quick start

export LINKDIGEST_API_KEY=ld_live_...   # https://linkdigest.dev/signin?ref=skill-douyin-subtitle-text&next=/app/keys
python3 {baseDir}/scripts/linkdigest.py --depth script "https://v.douyin.com/VeXgdE_QwTE"

--depth script is the whole point: only the speech is read, no frames and no on-screen text, which makes it the cheapest read there is. The answer is Markdown with the caption and a transcript whose lines start with `mm:ss` (an ≈ in front marks an estimated time). Add --format json for transcript: [{t, text}] as data, and --max-credits 5 to refuse anything dearer.

Accepted: a douyin.com/video/... link, a v.douyin.com short link (copy it exactly, the code is case-sensitive), or the whole text the app's 分享 → 复制链接 gives. A link that was already read in full comes back as that full read, at 0 credits.

Price

Video lengthCredits
up to 2 minutes1
5 minutes3
10 minutes5

1 credit per started 2 minutes, no base credit. Sign-up gives 10 credits once, no card. Top-ups are one-time and never expire: 50 credits ¥9.9 (支付宝) / $1.50, 250 credits ¥36 / $5. Each run prints its cost on the last line of stderr.

Right tool, wrong tool

Use it when the user wants the words themselves: to copy the 文案, translate it, check a quote, or hand it to another model.

Use something else for:

  • The text burned into the picture (hard subtitles, slides, price tags). That needs the frames: douyin-video-to-text reads speech and on-screen text together.
  • "What does this video say?" douyin-video-summary answers with points and the lines behind them.
  • An .srt file. Times are per segment (start only), not per sentence. Say so if asked for SRT.
  • Dozens of links. douyin-batch-to-text.

Without a key

The script still runs with no LINKDIGEST_API_KEY: it falls back to the free summary (title, author, key points; up to 2 a day per address), which has no transcript. For the words themselves a key is needed. Say that plainly instead of presenting the summary as the subtitles.

About the text

  • It is speech recognition (transcript_source: asr). Names, numbers and technical terms can come out wrong; tell the user to check them before quoting.
  • A video with music and no speech gives an empty or near-empty transcript. Pass that on as it is; do not invent lines.
  • Punctuation and paragraphing are the recogniser's. Tidy them only if the user asks, and say that you did.

When it cannot read

AnswerMeaningCharged
422Deleted, private, a live room, or shown only to signed-in users; the reason is quotedno
503Douyin declined this read; try again laterno
402Not enough credits, or longer than the account reads; the reply says whichno
401The key is wrongno

Privacy

Only the link leaves the machine. No Douyin account, cookie or login is used, and nothing is downloaded locally; the media is deleted after the read. https://linkdigest.dev/privacy · Remote MCP: https://linkdigest.dev/mcp (tool digest_url, depth: "script") · support@linkdigest.dev

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.