deepseek-harness-setup
它能做什么
这个工具可以帮你在 DeepSeek Harness(DSH)上安装和设置 Everything Claude Code(ECC)。它能确保你的各种 AI 工具协同工作。
适用场景
- ✓在 DeepSeek Harness 上安装新的 AI 工具时。
- ✓AI 工具在 DeepSeek Harness 上运行不正常时。
- ✓想检查某个 AI 工具是否与 DeepSeek Harness 兼容时。
技能链接
https://github.com/affaan-m/ECC/blob/main/skills/deepseek-harness-setup/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我该如何在 DeepSeek Harness 上设置 Everything Claude Code?”
每周 5 个新技能,1 分钟读完。
工作原理
工具会建立一个链接,把 ECC 技能接入 DSH,让 DSH 能够识别这些技能。它还会为 ECC 的“钩子”(hooks,即自动执行的命令)生成配置文件,并将其添加到你的 DSH 配置档案中。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
DeepSeek Harness Setup
Run ECC on the DeepSeek Harness. Full guide: docs/DEEPSEEK-HARNESS-GUIDE.md.
When to Use
- Installing ECC skills or hooks on a DeepSeek Harness install.
- Deciding which ECC surfaces work on DSH and which do not.
- Debugging a DSH session that does not show ECC skills or does not fire ECC hooks.
How It Works
Skills need no conversion. DSH reads
SKILL.mdfrontmatter (name/description) from native skill roots. Link the ECC catalog once:ln -s /path/to/ECC/skills/<skill-name> ~/.dsh/skills/<skill-name>Root priority (project
.dshand.agentsroots beat~/.dsh): skip linking skills whose names already exist in a higher-priority root. Substitute real skill names for the placeholders; the angle brackets are not shell syntax.Hooks go through the first-party bridge. Generate a DSH-format config from the canonical ECC hooks file:
node scripts/dsh/generate-hooks-config.js --ecc-root /path/to/ECC --out ~/.dsh/ecc/hooks-dsh.jsonThe generator lower-cases tool-name matchers, prefixes
CLAUDE_PLUGIN_ROOT/ECC_PLUGIN_ROOTinline (the bridge does not export the plugin root), preserves timeouts, and skips events DSH cannot bridge:PreCompact,PostToolUseFailure,SessionEnd.Mount with a bare insert in
~/.dsh/profiles/<profile>/cordis.patch.yml:- insert: - id: ecc-hooks-claude-code name: "@deepseek-ai/dsh-hooks-claude-code" config: configPath: /absolute/path/to/hooks-dsh.jsonLoader rules that cost debugging time when learned the hard way: a plain
- id:top-level entry is silently dropped;insertunder an existing non-group id is rejected as "not a group"; first-party plugin packages need no profilepackage.jsonentry.Validate by composing, then verify live.
cd ~/.dsh && dsh --profile web --dump-config > /tmp/dump.yml grep ecc-hooks /tmp/dump.ymlCompose exit status stays 0 even when the loader drops or rejects an entry — those problems are only reported on stderr. Confirm the entry id appears in the dump and stderr is empty. A live GateGuard denial on the session's first edit/write/bash is the visible signal the bridge is active.
Updating
git pull reflects into linked skills immediately; regenerate the hooks
config with the same generator command. If the ECC checkout moves, regenerate
(the path is embedded in every hook command) and relink skills.
Limits
| Surface | Status on DSH |
|---|---|
| Skills | Native discovery; workflows may require host adaptation |
| Hooks | 23 command hooks on 5 of 7 bridge events |
| Slash commands | Not available (Claude Code mechanism); workflows covered by skills |
| Agents | Native dispatch unverified; use canonical prompt guidance only after review |
The validated setup here targets the CLI/web profile. Desktop profiles have a separate installation-owned runtime and skill discovery must be verified there independently. Generate hooks only from a reviewed ECC checkout; the linked checkout supplies their runtime.
常见问题
“技能”和“钩子”分别是什么?
“技能”就像 DSH 可以调用的小程序。“钩子”则是 ECC 可以在特定情况下自动运行的命令。
我需要转换我的 ECC 技能吗?
不需要。DSH 可以直接读取 ECC 技能中的 `SKILL.md` 文件,无需转换。
我怎么知道设置是否成功?
你可以检查 DSH 生成的配置文件中是否出现了配置 ID,并且没有错误信息。最终确认方式是看到某个自动操作在你的会话中成功运行。
详情
作者的原始描述
Install and operate Everything Claude Code (ECC) on the DeepSeek Harness (DSH): native skill roots (~/.dsh/skills, .agents/skills), the @deepseek-ai/dsh-hooks-claude-code bridge for command hooks, bare-insert patch mounting, generator usage, event-support limits, and update workflow. Use when setting up ECC on DeepSeek Harness, wiring ECC hooks into a DSH profile, or debugging why ECC skills or ho
repo: affaan-m/ECC
热度
- GitHub 星标
- 280k
- 排名
- #298
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
accessibility
280k帮你的智能体创建人人都能使用的界面。确保网站和应用对残障人士友好,比如失明或行动不便的用户也能顺畅使用。
agent-architecture-audit
280k让你的智能体检查一切是否正常运行。它能找出并修复 AI 系统中的问题,确保系统按预期工作。
agent-eval
280k帮你的智能体比较不同的 AI 编程工具。它能衡量哪个工具在特定任务上更快、更便宜、更可靠。
agent-harness-construction
280k让你的智能体更好地理解如何完成任务。它会优化智能体使用的工具和指令,提高成功的几率。