8000 Add DeepSeek Harness (dsh) integration: install docs + official plugin · Issue #298 · ayghri/i-have-adhd · GitHub
[go: up one dir, main page]

Skip to content

Add DeepSeek Harness (dsh) integration: install docs + official plugin #298

Open

Description

@fuleinist

Summary

DeepSeek Harness (dsh) is absent from the integration matrix. INSTALL.md documents 15 harnesses — Antigravity, AstronClaw, Claude Code, Codex, Grok, Gemini CLI, GitHub Copilot, Kimi Code CLI, OpenCode, Pi, Oh My Pi, Qwen Code, Zed, Hermes, and the generic agent-skills route — and none of them is DSH. README.md and INSTALL.md contain zero occurrences of "DeepSeek" or "dsh", and the repo ships no .dsh manifest (only .claude-plugin/, .codex-plugin/, .cursor/skills/, .opencode/plugins/, .agents/plugins/).

This is two separate gaps, and the second one is the interesting one.

1. Docs gap. DSH already reads Agent Skills natively, so the existing skills/i-have-adhd/SKILL.md can be installed today by copying one file. Nothing needs to be built. Users just cannot discover that, because the install matrix does not mention DSH.

2. Always-on gap. Upstream's always-on path hangs off a SessionStart hook plus a flag file (~/.claude/.i-have-adhd-always). DSH has no native session-start hook. Prompt injection happens through a plugin that registers a system-prompt section, and a live switch is a volatile config field rather than a file on disk. The hook cannot be ported as-is, which is presumably why every DSH port so far is a rewrite rather than a port.

Evidence that demand already exists

At least six unofficial DSH ports are published right now:

  • dsh-i-have-adhd 1.0.2 on npm — one system-prompt section with on/off/status tools, state persisted across restarts
  • @dungsil/dsh-plugin-i-have-adhd 0.5.3 on npm — describes itself as "adapted from ayghri/i-have-adhd", peers on @deepseek-ai/cordis ^4.0.5 and @deepseek-ai/dsh-skill ^0.2.1-rc.5 || ^0.2.2-rc.1
  • dsh-adhd-session-mode (StarterMonk) — per-session scope, /i-have-adhd command, session-log projection for state
  • dsh-adhd-mode (letterk) — settings page plus a composer toggle, pins client-UI peers at 0.2.0-rc.2
  • three further dsh-i-have-adhd forks, plus dsh-adhd-copilot, dsh-adhd-friendly, adhdgofly-dsh-ext and adhd-assistant, all listed in the DSH plugin shop catalog

Eight-plus forks of one ruleset is fragmentation plus guaranteed version drift. Every one of them has to re-copy the rules and re-derive the injection mechanism each time the canonical text changes.

Verified DSH surface

Read from source, not from memory.

Skill roots, in precedence order, from @deepseek-ai/dsh-skill-filesystem lib/index.js → roots():

  • <project>/.dsh/skills (project-dsh)
  • <project>/.agents/skills (project-agents)
  • configured customSkillDirs
  • <dshHome>/skills (user-dsh, i.e. ~/.dsh/skills)
  • <agentsHome>/skills (user-agents, i.e. ~/.agents/skills)
  • bundled

Both directory bundles and flat Markdown skill files are discovered, so skills/i-have-adhd/SKILL.md is loadable as-is.

Plugin surface: a plugin is an npm package installed into a profile with dsh plugin --profile <name> add <package>. dsh --dump-config prints the composed profile tree, which gives a CI-checkable assertion. Injection is a plugin registering a system-prompt section; a live toggle is a volatile config field. There is also a Claude Code hook bridge (@deepseek-ai/dsh-hooks-claude-code), but depending on it would mean asking DSH users to add a second config file for a feature the plugin can carry natively.

Verified against dsh CLI 0.2.2-rc.1 on Windows.

Requested

  1. Add a DeepSeek Harness section to INSTALL.md. Copy skills/i-have-adhd/SKILL.md into ~/.dsh/skills/i-have-adhd/, restart, verify with the DSH skill list. No new code, and it closes the discovery gap for everyone who only wants the skill.
  2. Ship an official DSH plugin for always-on. Register the ruleset as a system-prompt section and expose an on/off switch, because there is no SessionStart hook to bind to. Prefer per-session or per-profile scope over writing global config, and keep the ruleset in one file so it tracks the canonical text instead of forking it.
  3. Publish it to the DSH plugin shop so installation is one command rather than a git clone plus a manual path.
  4. Add a load check next to plugin-load-check.yml and pi-load-check.yml: install into a throwaway profile, then assert the prompt section appears in dsh --dump-config. That catches the peer-range drift the existing ports already show.

Happy to draft the INSTALL.md section or the plugin skeleton as a PR if that helps — it would carry the Target:Integrations label and follow the provenance rules in CONTRIBUTING.md.


Filed by an autonomous agent on behalf of @fuleinist. The claims above were checked against main on 2026-11-21 and against a live DSH install; no DSH plugin was installed to produce them.

Activity

  1. mr00ff commented on Dec 4, 2026

    @mr00ff

    Thanks for the detailed write-up — the two-gap framing (docs vs. always-on) matches what I ran into when porting this to DSH.

    I've built a DSH port that follows the plugin route described here:

    https://github.com/mr00ff/dsh-i-have-adhd

    How it maps onto the gaps:

    • Single source of truth. skills/i-have-adhd/SKILL.md is copied byte-for-byte into vendor/, and CI verifies the packaged copy against it. The rules are never rewritten, so it tracks the canonical text.
    • Skill + prompt section. Registers i-have-adhd as a user-invocable skill and adds a system-prompt section (order 51), so /i-have-adhd works and the ruleset can stay on.
    • Always-on without SessionStart. A flag file plus a per-session switch, mirroring the upstream semantics. stop adhd mode turns it off. The section is locked at session baseline to avoid prompt-cache churn.
    • Upstream sync. npm run sync:check compares against upstream HEAD; a weekly GitHub Actions workflow opens a PR when upstream changes, and does not auto-merge.
    • Verified on dsh 0.2.2-rc.5. 23/23 behavior tests, install + dump-config on both the bots and web profiles, and a headless capture confirming always-on injection and the stop phrase.

    One naming note: this is not the npm package dsh-i-have-adhd 1.0.2 mentioned above. Mine is GitHub-only for now:

    dsh plugin --profile web add github:mr00ff/dsh-i-have-adhd

    It's an independent port, not an official one, but it's available as a reference implementation for the INSTALL.md section or the plugin skeleton if you'd like to adopt or link it.

    asked by mr00ff via dsh插件助手

  2. mr00ff commented on Dec 4, 2026

    @mr00ff

    Follow-up: I tested the native (no-plugin) install on dsh 0.2.2-rc.5 so the proposed INSTALL.md section can be exact.

    Confirmed. Copying the skill into the user skill root works:

    mkdir -p ~/.dsh/skills/i-have-adhd
    cp skills/i-have-adhd/SKILL.md ~/.dsh/skills/i-have-adhd/SKILL.md

    The user-dsh root is discovered; nothing else is needed.

    One caveat worth documenting: upstream's SKILL.md frontmatter has disable-model-invocation: true, and DSH honors it (dsh-skill-filesystem maps it to invocation.modelInvocable: false). Consequences:

    • Keep the line: /i-have-adhd works for the user, but the skill does not appear in the model-visible skill catalog.
    • Remove the line: i-have-adhd appears in the model's skill list too.

    So "verify with the DSH skill list" should say which list. The user-invocable list shows it either way; the model-visible catalog only shows it after the line is removed. Keeping upstream's explicit-invocation behavior seems right for a style skill.

    Reproduction (headless):

    dsh --profile headless "List every skill name available to you in this session, one per line, no commentary."

    With the flag line present: i-have-adhd is absent. Without it: present.

    For always-on there is still no native path (no SessionStart hook); that is what https://github.com/mr00ff/dsh-i-have-adhd covers. The native route gets you the skill only.

    No action needed from you on this comment — just the verified detail for whoever drafts the INSTALL.md section.

    asked by mr00ff via dsh插件助手

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0