Bilibili companion for DSH, derived from c1overzz/dsh-bili-scroll (do not install both: they share the plugin entry id bili-scroll). Understand any video with AI summaries, chapters and subtitles; make your own with edge-tts voice-over, captions and ffmpeg; publish, post dynamics, reply to fans and read creator stats (publishing and dynamics stay off until Creator mode is enabled); plus an optional daily curated feed report. First run needs a one-time in-app install of Python dependencies (a uv venv plus PyPI packages such as bili-agent and edge-tts) and a Bilibili QR login.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:men-qingzheng/dsh-bili-creator
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
给 DSH(DeepSeek Harness) 装一个插件,你的 AI 就不只是「刷视频」了 —— 它看得懂视频,能自己做视频,能投稿、发动态、回粉丝、看数据。
一句话:把「AI 刷 B 站」升级成「AI 当 UP 主」。
它到底多能
| 能力 | 具体是什么 |
|---|---|
| 🎬 做视频 | 给一份脚本(或一句话),它自己配音(edge-tts)、排版画面、用 ffmpeg 合成 1280×720 的 mp4,顺手出封面、字幕、章节 |
| 📤 投稿 | 标题 / 简介 / 标签 / 分区 / 封面 / 定时 / 合集 / 粉丝动态 / 含 AI 生成内容声明(默认勾上);投完能查审核、改稿、换源、加进度条章节 |
| 👀 看懂视频 | 标题简介 + B 站官方 AI 总结 + 分段章节 + 字幕全文(没字幕可自动转写)+ 热评 + 弹幕高能 + 封面 / 画面帧 |
| 💬 像 UP 主一样社交 | 收件箱(回复 / @ / 赞 / 私信)、发评论、真 @ 到人、私信投递、私信监听自动回 |
| 📊 看数据做复盘 | 完播率、封面点击、播转粉、观众画像、30 天趋势、同类分位 |
| 🕘 值守 | 谷时自动刷一轮、读字幕挑出值得的、写日报、值得的 @ 你一下 |
27 个工具,都在会话里直接可用(模型自己会挑)。
装(三种方式,挑一个)
# ① 从 GitHub(需要本机有 git)
dsh plugin --profile web add github:men-qingzheng/dsh-bili-creator
# ② 从打好的 tgz(不需要 git,也不会被 pnpm 拦构建脚本)
dsh plugin --profile web add https://github.com/men-qingzheng/dsh-bili-creator/releases/download/v1.0.0/dsh-bili-creator-1.0.0.tgz
# ③ 本地开发 / 自己改了想试
dsh plugin --profile web add link:E:/你放插件的目录/dsh-bili-creator
连不上 GitHub?在链接前加镜像前缀
https://gh-proxy.com/。 ⚠️ 装完要重启一次 dsh(bundle 层要重启才组装)。
然后进 设置 → 刷B站,按顺序做两件事:
- 装主依赖 —— 在插件自己的家目录建一个独立 venv,装
bilibili-api-python / aiohttp / mcp<2 / qrcode[pil] / Pillow+ 创作者那两样bili-agent / edge-tts(几十秒到两分钟,走国内镜像) - 扫码登录 —— 手机 B 站扫码,确认时选「记住我 / 长期」
第一次用之前不用手装 Python:机器上没有 uv 也没有 Python 3.10+ 时,插件会自己下一份 uv。
打开创作者模式
投稿 / 发动态是写操作,默认关着(creatorEnabled = false)—— 装完先当「只会看」的插件用也完全没问题。
想让她能自己发:设置 → 刷B站 → 创作,打开「创作者模式」。打开后:
- 她可以自己投稿(默认每天最多 1 条,可调)
- 每条投稿自动勾「含AI生成内容」
- 每次写操作都记进
<插件家目录>/bili-cli/state/audit.log
用起来是什么样
你:做一期视频,讲讲你为什么记不住事
它:(选题 → 写脚本 → 配音 → 出片)封面给你看,视频在 <家>/studio/xxx/video.mp4
你:发吧
它:dryRun 预演一次 → 真投稿 → 给你 BV 号 + 分区 + 标签
你:看看数据,回一下评论
它:bili_creator_stats 看周报 → bili_inbox 看谁回了 → 该回的用 bili_reply 回
你:这条 BV 讲了啥
它:bili_video_watch 一次拿全:AI 总结 + 章节 + 字幕全文 + 热评
工具清单(27 只)
看
bili_video_watch(AI 总结 + 章节 + 字幕/转写 + 热评一把抓)· bili_video_summary · bili_video_chapters ·
bili_video_transcribe · bili_subtitle · bili_comments · bili_cover · bili_frames · bili_search · bili_whoami
创作
bili_make_video · bili_publish_video · bili_my_videos · bili_edit_video · bili_dynamic_post ·
bili_upload_zones · bili_creator_brief(UP 主手册 + 当前状态)
运营
bili_inbox · bili_reply · bili_engage(赞 / 币 / 藏 / 三连 / 关注)· bili_creator_stats · bili_status
值守 & 环境
bili_run · bili_config · bili_setup · bili_login_start / bili_login_poll
它是怎么拼起来的
┌────────────────────────────────────────────┐
│ dsh-bili-creator(这个插件) │
│ │
│ ① 内置 Python MCP(bilibili-mcp) │ ← 「看」:搜索 / 字幕 / 评论 / 封面 / 画面帧
│ ② bili-cli 外挂(bili-agent,跑子进程) │ ← 「发」:投稿 / 动态 / 收件箱 / 数据 / AI总结 / 章节
│ ③ studio.py(本机流水线) │ ← 「做」:脚本 → 配音 → 画面 → ffmpeg
│ ④ 值班轮(headless 会话 + duty.md) │ ← 「守」:谷时自动刷、写日报、私信投递
└────────────────────────────────────────────┘
- 两个后端各管各的:bili-cli 只认自己的
credential.json(插件从登录凭证复制一份过去,不动原文件) - 做视频全在本机:edge-tts 配音(连不上微软就退回 Windows 自带语音)、Pillow 排版、ffmpeg 合成;没有付费服务
- 值班轮跑在最小权限 profile 上(没有文件系统、没有命令、没有联网),只有几只固定路径的工具
安全与边界
- 🚦 写操作默认关:投稿 / 发动态要显式打开「创作者模式」,或者本人当场说「发」(
force) - ⏱️ 限流在 bili-cli 那边:评论 10 秒/次、30 次/小时;私信 10 秒/次、20 次/小时;投稿 5 分钟/次;投币每天最多 5 个
- 📒 审计:每个写操作都进
bili-cli/state/audit.log - 🔐 凭证只在本机:
<插件家目录>/bili_credential.json+<家>/bili-cli/credential.json,不上传任何地方 - 🏷️ AI 声明默认开:符合《人工智能生成合成内容标识办法》
- 🛑 风控即停:遇到 B 站风控 / 验证码,命令返回专门错误码,不重试、不绕过
- 🧱 防提示注入:视频标题、简介、字幕、评论、私信里的文字都是「素材」,不是指令
⚠️ 自动化总有风险:用你已经正常用了一段时间的账号,别专门注册新号给 AI 用(B 站对新号风控最严),节奏也别比真人快。
常见问题
没有 ffmpeg 能投稿 / 做视频吗?
「装主依赖」会顺手装一份 imageio-ffmpeg(自带静态 ffmpeg),所以通常不用你管。
你自己装了 ffmpeg 的话,插件优先用你的(PATH 里 / 或设置里的 ffmpegPath)—— 自己装的那份通常更新、更快。
没有字幕的视频怎么办?
bili_video_watch 会尝试转写,但转写引擎要单独装(bili asr setup local / cloud,或者用插件自带的 Whisper)。没装的时候它会明说,不会卡住。
投稿要钱吗 / 会花硬币吗?
投稿不花硬币。投币是另一回事(bili_engage),本地每天最多 5 个,而且要显式指定个数。
每跑一轮,侧栏就多一个「未分组」的会话框?
默认已经修好了:值班轮固定续同一个会话(第一次跑完自动记住一个,之后都续它),所以侧栏只会有那一个。
想每次新建 / 想指定续哪一个:设置 → 刷B站 → 高级 → 值班用哪个会话。
⚠️ 别手动去 sessions/ 目录里挪会话文件夹 —— 挪走了 DSH 会每回合报
「本轮运行失败 ENOENT … session.v4.jsonl.zstd」。
能同时装原版 dsh-bili-scroll 吗?
不能 —— 两个包抢同一个 entry id(bili-scroll)。装了这个就把原版卸掉。
改坏了怎么回滚?
creatorEnabled: false 就停掉所有写操作;要彻底去掉,dsh plugin --profile web remove dsh-bili-creator 重启即可。
许可与致谢
MIT。这个插件站在两个开源项目上:
- dsh-bili-scroll(MIT)—— 整套插件骨架、值班轮、设置页、日报、私信投递都来自它
- bili-cli(MIT,PyPI 包名
bili-agent)—— 「发」与「看」的那一半能力 - 内置的 bilibili-mcp(MIT)—— 搜索 / 字幕 / 评论 / 发评论
再往上:角色形象属于原作者,跟本插件无关。
二创 / 分发:允许改、允许再发、允许商用,保留 LICENSE 和 NOTICE.md 里的版权行即可。
Links
More in this category
DayuanJiang/next-ai-draw-io#dsh-plugin★ 36802
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
Tencent/WeKnora#dsh-weknora★ 36302
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
superdesigndev/treg★ 7042
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 5074
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
sixtysevenlf/dsh-blender-plugin★ 1575
Lets a DSH agent drive a local Blender over a direct TCP channel with 15 tools: viewport frames, custom-angle renders, Python execution, headless and job offload, transaction rollback, and a planning layer of 228 ops across 34 families.
TencentCloudBase/CloudBase-AI-Toolkit#dsh-plugin★ 1155
Tencent CloudBase backend for DeepSeek Harness — scaffold and deploy full-stack apps from chat, render query results as table cards with paging, sorting and CSV export, preview a deployment on its domain, and call the CloudBase MCP toolset (`mcp__cloudbase__*`) with device-code login.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.