Bundle
dsh-aitoearn
AiToEarn content-creation suite as a DeepSeek Harness plugin: creative director, script writer, image-text and video generation, and Douyin publishing.
- Source
- lussey820
- stars
- 2 stars
- License
- MIT
- Updated
- Updated 10 days ago
Readme
# aitoearn-dsh-plugin > **DeepSeek Harness 插件**(安装 ID:`dsh-aitoearn`)· [dsh-plugin](https://github.com/topics/dsh-plugin) 生态 把 [AiToEarn](https://aitoearn.cn) 内容创作套件移植为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 插件: 创意指导 Agent 理清方向 → 脚本/图文/视频 skill 执行生成 → 一键发布抖音。 ## 这是什么 | Skill | 角色 | 做什么 | | --- | --- | --- | | `aitoearn-creative-director` | 统一入口 | 自适应追问理清美学方向,输出结构化 brief(JSON),AIGC 痕迹去除润色 | | `aitoearn-script-writer` | 执行器 | 消费 brief → 按 Cinematography 词汇表生成分镜脚本 JSON | | `aitoearn-content-publisher` | 执行器 | 消费 brief → 生成图文 → 发布抖音 | | `aitoearn-video-publisher` | 执行器 | 消费脚本 JSON → 生成视频 → 发布抖音 | 所有能力均以插件形式提供,不修改 DeepSeek Harness 源码。 ## 安装 ```sh dsh plugin --profile demo add github:lussey820/aitoearn-dsh-plugin ``` > 从 Git 安装时若 pnpm 要求允许构建,将 `pnpm-workspace.yaml` 里的 `allowBuilds.dsh-aitoearn` 设为 `true` 后重试。本包是纯 ESM 免构建,也可直接 `dsh plugin add ./dsh-aitoearn` 或先 `npm pack` 用 tarball 安装。 ## 配置 设置环境变量(或写入 profile 的 `cordis.patch.yml`): ```sh export AITOEARN_API_KEY=你的_AiToEarn_API_Key ``` 插件启动时会: 1. 通过 `@deepseek-ai/dsh-mcp-client` 以 streamable-http 接入 AiToEarn MCP 端点,把 `createImageTextDraft`、`createVideoDraft`、`getDraftTaskStatus`、`getMyCreditsBalance`、`getDraftGenerationPricing` 注册为 `mcp__aitoearn__*` 原生工具; 2. 注册四个内容创作 skill。 覆盖默认行为(如更换 serverName / session 名)可参考 [cordis.patch.yml](cordis.patch.yml),在用户的 patch 层中按行覆盖。 ## 发布抖音(一次性准备) 发布依赖 `agent-browser` CLI 和已登录的 AiToEarn session: ```sh npm install -g agent-browser agent-browser --session-name aitoearn open "https://aitoearn.cn" --headed # 手动登录 agent-browser --session-name aitoearn close ``` ## 使用 在 dsh 对话中直接输入,例如: ``` 帮我做一个赛博朋克咖啡品牌的图文发抖音 → 创意指导 Agent 追问理清方向 → 输出 brief → 图文 skill 生成图文 → agent-browser 发布抖音(扫码确认) ``` ## 与 Trae 版 aitoearn 技能的关系 本项目是 [aitoearn-creative-suite](https://github.com/lussey820/aitoearn-creative-suite)(Trae IDE 技能版)的 DeepSeek Harness 移植。核心的追问决策树、Cinematography 词汇表、brief JSON 结构保持一致;差异点: - MCP 调用从手写 HTTP/PowerShell 改为 dsh 原生 `mcp__aitoearn__*` 工具 - API Key 从 `config.json` 改为环境变量注入 - 文件读写 / 浏览器自动化改用 dsh 的原生工具(read_file / write_file / bash) ## License [MIT](LICENSE)
Install
dsh plugin --profile web add github:lussey820/aitoearn-dsh-plugin#e5261fd5b365a1762129d0175d64d93e90c6bf9f
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-aitoearn from the hub