跳到正文
Skillpedia
部署与云(DevOps)280k · #298

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/affaan-m/ECC/blob/main/skills/deepseek-harness-setup/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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

  1. Skills need no conversion. DSH reads SKILL.md frontmatter (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 .dsh and .agents roots 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.

  2. 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.json
    

    The generator lower-cases tool-name matchers, prefixes CLAUDE_PLUGIN_ROOT/ECC_PLUGIN_ROOT inline (the bridge does not export the plugin root), preserves timeouts, and skips events DSH cannot bridge: PreCompact, PostToolUseFailure, SessionEnd.

  3. 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.json
    

    Loader rules that cost debugging time when learned the hard way: a plain - id: top-level entry is silently dropped; insert under an existing non-group id is rejected as "not a group"; first-party plugin packages need no profile package.json entry.

  4. Validate by composing, then verify live.

    cd ~/.dsh && dsh --profile web --dump-config > /tmp/dump.yml
    grep ecc-hooks /tmp/dump.yml
    

    Compose 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能