dsh-i-have-adhd
开发工具 活跃维护

dsh-i-have-adhd

yongshuai0314/dsh-i-have-adhd

提供ADHD友好的输出塑形能力,适配ADHD群体的内容接收习惯,内置adhd_on、adhd_off、adhd_status三类工具,配置可跨重启自动持久化保存,降低使用门槛。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
19 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:yongshuai0314/dsh-i-have-adhd
git clone https://github.com/yongshuai0314/dsh-i-have-adhd.git
git clone git@github.com:yongshuai0314/dsh-i-have-adhd.git
README.md main

dsh-i-have-adhd

ADHD-friendly output shaping for DeepSeek Harness (DSH): one system-prompt section that rewrites how the assistant replies — action first, numbered steps, concrete time estimates, zero preamble or closers — with live on/off switches that persist across restarts.

中文说明

Inspired by ayghri/i-have-adhd (MIT). The ruleset here is an original rewrite for DSH; see THIRD-PARTY-NOTICES.md.

What changes

Before After
"Great question! Let me think about this. Your auth flow has a few moving pieces: the middleware, the token verification, and... Hope this helps!" "Run npm install jsonwebtoken@latest, then edit src/auth.ts:42. 1. Open the file 2. Replace verifyToken 3. Run the tests. Next: paste the first failing line."

How it works

  • One system-prompt section (dsh-i-have-adhd, order 50 — after the persona, before tool guidance) carries the ruleset into every model step while the mode is on.
  • Three zero-argument agent tools control it:
    • adhd_on — enable for this session and persist (flag file under $DSH_HOME/dsh-i-have-adhd/)
    • adhd_off — disable and clear the flag
    • adhd_status — report state, since when, and whether restart will restore it
  • The persisted flag restores the mode at boot.
  • The section registers through the systemPrompt service, so toggling takes effect on the very next model step — no session restart, no page refresh.

Usage

Install, then just say it in conversation:

adhd mode on      → the model calls adhd_on; replies switch shape immediately
adhd mode off     → back to default style, flag cleared

You can also ask for status any time, or create/remove the flag file yourself:
$DSH_HOME/dsh-i-have-adhd/always-on (default ~/.dsh/dsh-i-have-adhd/always-on).

The ruleset

Ten ideas, grouped for skimming — full text in dsh/rules.js:

Shape: first line is the action · number the steps · close with one next move · park side quests
State: re-say where we are · estimate in real units · surface what now works
Tone: errors are facts · cap lists at five · no throat-clearing

Explicit overrides: harness rules outrank the mode; "explain" gets full depth with the same shape; destructive actions still confirm; a three-turn debug spiral triggers one diagnostic question instead of more edits.

How this differs from other ADHD plugins

Two ADHD-related plugins already exist on the market, doing different jobs:
dsh-adhd-copilot coaches the user (task breakdown, launch rituals); adhdgofly-dsh-ext highlights parts of speech in rendered Markdown. Neither touches how the assistant writes. This plugin shapes the assistant's own replies — action-first structure, live on/off, restart persistence.

Install

dsh plugin --profile <your-profile> add dsh-i-have-adhd

License

MIT. Third-party notices: the concept and name derive from ayghri/i-have-adhd (MIT), whose license text is preserved in THIRD-PARTY-NOTICES.md.