ZRui-C/dsh-content-studio ↗★ 0
dsh-content-studio
DSH bundle plugin: 内容创作与多平台分发 —— 桌面截屏/录屏、Markdown→小红书图文卡片(5 配色 × 4 版式、照片插图、背景图)、dev.to 官方 API 发布、发布前人工审阅(草稿落盘),并挂载 Playwright 与小红书 MCP。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ZRui-C/dsh-content-studio说明文档
阅读完整 README ↗dsh-content-studio
面向 DeepSeek Harness 的内容创作与多平台分发 bundle 插件。
截屏、录屏、Markdown 渲染小红书图文、dev.to 发布、发布前人工审阅 —— 一次安装、十个工具,告别每次现写脚本。
特性
- 📸
content_screenshot—— macOS 桌面截屏(全屏 / 区域 / 延时) - 🎬
content_screen_record—— ffmpeg AVFoundation 定时长 MP4 录屏,自动探测屏幕/麦克风设备,支持麦克风与裁切区域 - 🃏
content_md_to_cards—— Markdown → 小红书图文卡片(Chrome 无头渲染):封面卡 + 按 H1/H2 分节成卡,1242×1660(3:4),5 套配色 × 4 种版式,支持插图与带可读性遮罩的背景图 - 🌐
content_md_to_html—— 自包含排版 HTML,用于预览、CSDN、公众号粘贴 - 📤
content_publish_devto—— dev.to(Forem)官方 API 发布(草稿/直发) - 👀
content_review_open / status / refresh / close—— 持久化的人工审阅闸门:草稿落盘~/.dsh/content-studio-output/review/draft.json,浏览器浮动审阅面板实时预览卡片,用户可改文字、配色、版式与发布文案,然后批准或打回 - 🔌 Playwright MCP(
mcp__playwright__*)—— 网页截图、会话录屏、UI 自动化(系统 Chrome) - 📕 xhs-mcp(
mcp__xhs__*)—— 小红书登录、图文/视频发布、搜索
安装
方式 A —— bundle 安装(推荐)
dsh plugin --profile web add "github:ZRui-C/dsh-content-studio#main"
# 开发时用本地路径:
dsh plugin --profile web add ~/Projects/dsh-content-studio
重启 DSH 生效。本包在 package.json 中声明了 dsh.bundle.patch,安装后其 patch 成为 profile 激活层:宿主插件(全部工具)+ Playwright / 小红书 MCP 行。可与任意预设(standard、cordis 等)搭配,Settings → Plugins 面板可见。
方式 B —— 预设复制
rsync -a ~/Projects/dsh-content-studio/ ~/.dsh/.agent-presets/content-studio/
新开会话选「内容工作室」预设:standard 全量 + 插件行 + MCP 行 + 动态插件工具集(cordis_*)+ 工作流 Skill。
⚠️ 两种方式二选一。两者注册相同工具名,同时挂载会因重名冲突而失败。
工具
| 工具 | 能力 |
|---|---|
content_screenshot | 桌面截屏(macOS screencapture),区域/延时 |
content_screen_record |