Catalog
affaan-m/deepseek-harness-setup

affaan-m

deepseek-harness-setup

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 hooks do not appear in a DSH session.

v1.0LATEST
NewUpdated Oct 12, 2026

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.

Files1
1 files · 1.0 KB

Select a file to preview

Overall Score

78/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

82

Quality

75

Clarity

85

Completeness

68

Summary

This skill guides setup of Everything Claude Code (ECC) on the DeepSeek Harness platform, covering skill linking, hook generation via a Node.js bridge script, YAML patch mounting, and validation. It provides structured instructions for integrating ECC's capabilities into DSH profiles, with explicit documentation of supported features and limitations.

Detected Capabilities

symlink creationshell command execution (node script invocation)YAML file writing and patchingconfiguration generation from templatesconfig validation via dump-and-grep workflowlocal filesystem access within home directory

Trigger Keywords

Phrases that agents use to match this skill to user intent.

deepseek harness setupinstall ecc skillsconfigure dsh hooksecc integrationdebug missing hooksclaude code bridgedsh profile mount

Risk Signals

INFO

Symlink creation to arbitrary paths (ln -s /path/to/ECC/skills/)

Step 1: Skills linking
INFO

Node script execution with embedded paths (generate-hooks-config.js)

Step 2: Hooks generation
INFO

YAML patch mounting with absolute paths in cordis.patch.yml

Step 3: Mount configuration
INFO

File writes to ~/.dsh/ home directory

Steps 1–3: Profile setup

Use Cases

  • Install ECC skills into a local DeepSeek Harness environment
  • Configure and mount ECC hooks via the Claude Code bridge for DSH sessions
  • Debug missing ECC skills or inactive hooks in running DSH profiles
  • Understand which ECC surfaces (skills, hooks, agents) are supported on DeepSeek Harness
  • Regenerate hook configs after updating an ECC checkout or moving installation paths

Quality Notes

  • Clear step-by-step workflow with concrete commands and file paths
  • Excellent troubleshooting guidance (e.g., 'Compose exit status stays 0 even when loader drops entries')
  • Explicit documentation of unsupported features (slash commands, agent dispatch) prevents user confusion
  • Loader rules section captures real hard-won debugging insights
  • Limitations table clearly bounds scope and expectations
  • Missing: no error handling patterns for common failure modes (broken symlinks, permission errors, invalid YAML syntax)
  • Missing: example output of successful validation (what grep ecc-hooks /tmp/dump.yml should return)
  • No documented validation of the hooks config JSON structure after generation
  • Assumes user has Node.js and git installed without verification
Model: claude-haiku-4-5-20251001Analyzed: Oct 12, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Use affaan-m/deepseek-harness-setup in your dev environment

Command Palette

Search for a command to run...