MIT-licensed TypeScript tool that turns a Bilibili video's existing Chinese subtitles into a chaptered Markdown article, shipped as a native dsh plugin that reuses the current DSH session model.
DSH integration
Native runtime
Author-claimed
Safety audit
Unaudited
Last verified
2026-11-23
License
MIT
01What can it help you accomplish?
Turn one long Bilibili video into a readable Markdown article from inside a DeepSeek Harness conversation
`transcript.polished.md` — YAML metadata header, multi-level chapters, and a `[▶ m:ss]` jump link back to the video on every section, with the source `transcript.md` kept alongside
Readers who want to get through a long video quickly, and agent users who want clean first-hand text to keep questioning, comparing or summarising
Fetch only the existing Chinese subtitles, without calling a model or paying for one
`transcript.md` under `.subtitles/` (BV id + video title folder): a YAML metadata header plus line-by-line timestamped dialogue
People who want to fix transcription typos by hand before polishing, or need the raw timestamped transcript for their own processing
Run the same two-step pipeline from Claude Code, Codex, Cursor or a plain terminal
The same two Markdown files, via `bili-subs download <BV号>` followed by `bili-subs polish <transcriptPath>`
Developers on other coding agents, or anyone who prefers the terminal over the DSH plugin
02How to install into DeepSeek Harness
Prerequisites
- A DeepSeek Harness (dsh) setup — the plugin is installed with `dsh plugin --profile <profile> add`
- The Bilibili phone app, to scan the login QR code — AI subtitles usually need a logged-in session
- No separate model configuration: the DSH plugin reuses the current dsh session model
Installation steps
- 01
Run `dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles` for the profile you use with DeepSeek Harness
$ dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles
- 02
Scan the QR code in the popup on the dsh Web plugin settings page to log in to Bilibili
- 03
Ask in plain language in the conversation: “把 `BV1xx411c7mD` 整理成 Markdown 文章” for the polished article, or “帮我下载 `BV1xx411c7mD` 的字幕” for the raw transcript only
Verify the integration
Not specified by the author
03DSH integration and capability boundaries
Native dsh plugin: `dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles`, QR-code login from the popup on the dsh Web plugin settings page, and polishing that reuses the current dsh session model
Download the existing Chinese subtitles
a BV id or a Bilibili video link→`transcript.md`: YAML metadata header plus line-by-line timestamped dialogue
talks to Bilibili only — no model call, no model costcreates `.subtitles/` (BV id + video title folder) in the current directoryTwo-stage polish into a chaptered article
the complete original transcript→`transcript.polished.md` with multi-level chapters, one intro paragraph, and a `[▶ m:ss]` jump link per section
the whole transcript is sent to the model provider you use and incurs model feesnormally 2 full-text calls (structure, then body); an invalid output is repaired once, at most 4 callsBest-track subtitle selection
a video that has several Chinese subtitle tracks→one track, picked by human-uploaded over AI and Simplified over Traditional
Per-section jump links back to the video
the start timestamp of each section→a `[▶ 分:秒]` link next to every chapter heading
04Who is it for? When not to use it?
Good for
- Readers who want to get through a long video quickly, and agent users who want clean first-hand text to keep questioning, comparing or summarising
- People who want to fix transcription typos by hand before polishing, or need the raw timestamped transcript for their own processing
- Developers on other coding agents, or anyone who prefers the terminal over the DSH plugin
Not for
- It only works with Chinese subtitles a video already has: no audio/video download, no local speech recognition, no translation of foreign subtitles, and no `b23.tv` short links.
- The polish stage sends the full transcript to whichever model provider you use; only the download stage stays between you and Bilibili.
- AI subtitles usually require a logged-in session, so the plugin asks for a QR-code login from the Bilibili phone app before it can fetch a transcript.
05Compatibility, maintenance and safety notes
- It only works with Chinese subtitles a video already has: no audio/video download, no local speech recognition, no translation of foreign subtitles, and no `b23.tv` short links.
- The polish stage sends the full transcript to whichever model provider you use; only the download stage stays between you and Bilibili.
- Polishing normally costs 2 full-text model calls (structure, then body) and can reach 4 when an output needs format repair.
- AI subtitles usually require a logged-in session, so the plugin asks for a QR-code login from the Bilibili phone app before it can fetch a transcript.
MIT · active, last push 2026-11-19, latest release v0.1.3
06Frequently asked questions
How do I install it in DeepSeek Harness?
Run `dsh plugin --profile <profile> add @fukangz/dsh-bilibili-subtitles`, then scan the QR code in the popup on the dsh Web plugin settings page to log in to Bilibili. The dsh plugin reuses your current dsh session model, so there is no separate API key or model setup step.
What do I actually type in the DSH conversation?
One sentence is enough: “把 `BV1xx411c7mD` 整理成 Markdown 文章” runs both stages and gives you the polished article, while “帮我下载 `BV1xx411c7mD` 的字幕” stops after the download and returns only the raw transcript.
Where do the files land, and can I stop after the raw transcript?
By default it creates `.subtitles/` (BV id + video title folder) in the current directory, keeping `transcript.md` (YAML metadata header plus timestamped dialogue) and `transcript.polished.md` side by side. You can stop at stage one, fix typos by hand, and polish afterwards.
Does polishing cost model tokens, and what data leaves my machine?
The download stage only talks to Bilibili and never calls a model. Polishing sends the whole transcript to the model provider you use and incurs model fees — normally 2 full-text calls (structure, then body), with one automatic format repair, up to 4 calls in total.
Do I need Node.js or a separate CLI for the DSH plugin?
No. The dsh plugin is installed with `dsh plugin add` and reuses the dsh session model. Node.js 22.19+ is only needed by the standalone CLI + Skill route for other coding agents, where you run `bili-subs download <BV号>` in a terminal and hand the returned `transcriptPath` to `bili-subs polish <transcriptPath>`.
07Related DSH workflows
dsh-univer-office
by dream-num
Give DeepSeek Harness a real office environment. Univer Office Plugin brings spreadsheets, docs, slides, canvases, relational tables, and more into one runtime — with connected data, validation, versioned changes, and isolated worktrees for multi-agent collaboration.
clearai-dsh
by clearailhc
Brings an evidence-checked epistemic loop to DSH: research sessions settle into a browsable domain ontology with evidence chains and support levels; contradictory readings are surfaced for human adjudication.
dsh-fish-memory
by yuuyuko-uu
Stores time-stamped, decaying per-session memories, recalls relevant items, and optionally distills imported local archives through the configured DSH model.
dsh-trading
by zhu1090093659
Agent-native trading terminal built on DeepSeek Harness. Crypto, US, CN and HK in one three-column GUI, 19+ hot-swappable connectors, dry-run by default with human approval on every live order. BYOK, no data redistribution.
08Data and sources
| **[dsh 插件](packages/dsh/README.md)** | **DeepSeek Harness** | dsh Web 插件设置页弹窗扫码;直接复用当前 dsh 会话模型 | `dsh plugin --profil…
我们为 **Pi Agent** 和 **DeepSeek Harness (dsh)** 提供了专门的原生插件版本;
This page is generated from the project’s public documentation, repository metadata and a structured parse of DSH Plugins; last verified on 2026-11-23. Found an error? Submit a correction.
Best DeepSeek Harness Plugins
Twelve plugins worth installing first — picked from the whole catalog, across every category.
