dsh-adhd-session-mode: Session-based Switching of ADHD-Friendly Output Formats

Preface

When conversing with models in DeepSeek Harness (DSH), the same reply style rarely satisfies both the need to “execute the next action” and “explain the mechanism clearly.” Compressing output into numbered steps with an immediate first action saves cognitive load when writing code or running commands; however, when weighing trade-offs or explaining layer by layer, that same format becomes a hindrance. The community already has plugins that write such rules into the system prompt, some using global flag files to restore state after a restart—but when running parallel sessions, “on here, off there” becomes difficult to express. Below we introduce dsh-adhd-session-mode maintained by StarterMonk: the ruleset is derived from ayghri/i-have-adhd, and toggles at the granularity of a single session within DSH, writing no global configuration.

What is this

dsh-adhd-session-mode is a DSH plugin (the npm package name is the same as the plugin id), categorized under model reasoning in the SkillHub directory. The source code is at GitHub: StarterMonk/dsh-adhd-session-mode (MIT, current package version 1.0.0, requires Node >=20).

It does one thing: when enabled in the current session, it rewrites the assistant’s reply format via a section of rules in the system prompt—action-first, numbered steps, specific time estimates, minimal preamble and filler; when disabled, it restores the default style. State travels with the session, not globally with the machine or profile.

Why per-session instead of global

Output format is more like an attribute of “what this conversation is doing” rather than a setting that lasts a lifetime once applied.

  • Execution sessions: You know the goal, you need the next step and time estimates; long introductions are a cost.
  • Reading and thinking sessions: The details themselves are the answer; forcing them into an action list gets in the way.

The plugin design is: enable it in execution sessions, disable it in sessions where mechanisms need detailed explanation; two sessions can exist simultaneously without interfering with each other’s choice. When resuming or forking a session, the state is derived from a projection of the session log, rather than reading a flag file under $DSH_HOME.

Core Features

Verified capabilities are as follows.

  1. System prompt rule section
    When the mode is enabled, the ruleset is attached to every model call. The registration order is 10150 (after tool descriptions, harness source code, and web surfaces, but before the deployment persona footer), allowing the style instructions to take effect as late as possible.

  2. Session-level toggle

    • Slash commands: /i-have-adhd on, /i-have-adhd off; a bare /i-have-adhd toggles.
    • Normal messages matching the whole sentence: stop adhd mode or normal mode (e.g., how do I stop adhd mode? is treated as a question and will not trigger accidentally).
  3. Interface status
    When enabled in the current session, a ● ADHD ON badge appears below the input box. The status is read via session projection, relying on no additional configuration files.

  4. On-demand Skill
    The complete rules are also registered as an on-demand skill, allowing the rule text to be loaded separately without enabling session mode.

  5. Optional default-on
    Override the plugin line configuration in the profile patch to enable it by default for every new session (see Installation and Configuration below).

The ruleset consists of ten items, grouped into Shape / State / Tone (first-action move, numbered steps, real unit time estimates, lists no longer than five items, less throat-clearing, etc.); the full text is in the repository’s skill/SKILL.md, consistent with the upstream MIT text. There are also explicit overrides: harness rules take priority; when the user asks for an explanation, retain the form but deepen it; destructive operations still require confirmation; if a debug spiral occurs for three consecutive rounds, switch to a single diagnostic question.

Installation and Activation

The plugin line is a bundle patch; you need to restart DeepSeek Harness after first enabling it.

Install from the registry (replace <your-profile> with your profile name):

dsh plugin --profile <your-profile> add dsh-adhd-session-mode

Install from GitHub source:

dsh plugin --profile <your-profile> add github:StarterMonk/dsh-adhd-session-mode

If you want ADHD mode enabled by default for every session, override in the profile patch:

- id: i-have-adhd
  name: dsh-adhd-session-mode
  config:
    alwaysOn: true

No cleanup is needed after uninstallation: neither $DSH_HOME nor independent configuration files are written to by the plugin.

Typical Usage

In sessions requiring “short, direct, actionable” replies:

/i-have-adhd on

To end this form:

/i-have-adhd off

Or send a message where the entire sentence is stop adhd mode / normal mode. The badge disappearing indicates the session has turned it off.

If you need to reference the original rules but do not want the entire conversation to be shaped, you can load SKILL.md via the on-demand skill registered by the plugin, without needing to keep /i-have-adhd on enabled long-term.

Differences from other plugins in the ecosystem

Plugin Responsibility
dsh-i-have-adhd Shape replies; system prompt order 50; tools adhd_on / adhd_off / adhd_status; global $DSH_HOME flag file
dsh-adhd-copilot User-facing task breakdown and launch rituals
adhdgofly-dsh-ext Markdown rendering part-of-speech highlighting
dsh-adhd-session-mode Shape replies; toggle limited to single session; state stored in session log projection

The practical difference from dsh-i-have-adhd: a global file cannot express “Session A on, Session B off”; this plugin uses a per-session projection, which is reproducible upon resume/fork. The trade-off is that the control surface leans more towards slash commands rather than zero-argument tools callable by the model.

Suitable Scenarios and Notes

Suitable for: Running parallel multi-sessions within the same DSH—one side writing code needing a step list, the other reading design docs needing normal narration; hoping that after forking a session, the ADHD switch remains consistent with the parent session.

Limitations (stated in README):

  • Delegated sub-agents do not inherit the parent session mode (sub-agents are independent sessions with default style).
  • A single toggle affects the entire subsequent segment of that session, not just a single turn.
  • What is injected are instructions; compliance by the model is not guaranteed 100%, you need to sample a few replies yourself to check.

Security and License: The plugin runs under the current dsh process permissions; please review the source repository and MIT / THIRD-PARTY-NOTICES.md yourself before installation. The DSH community directory (SkillHub) is an independent site and has no official affiliation with DeepSeek / High-Flyer; installation commands should follow the repository README; do not invent commands based on plugin names.

Conclusion

dsh-adhd-session-mode scales ADHD-friendly output down from a “machine-wide preference” to “do we want to speak this way in this conversation”: a system prompt section, a slash command, log projection, and a composer badge, with no global files. For directory information and issue entry points, see the SkillHub plugin page and the GitHub repository.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye