BaiKe-Zhang/dsh-mindmark

The plugin adds seven operations—highlight, underline, delete, annotate, rewrite, cite, and move—to the selection toolbar in DeepSeek Harness. In the next turn, it sends pending annotations to the model as context, with the option to send only the marked paragraphs (concise mode) or a revised view of the entire response (full mode). After processing, the model calls the annotations tool to confirm; unconfirmed annotations are resent for up to 3 rounds. The "Consolidate as Habits" feature summarizes annotations into one-line preference statements and writes them into the managed section of $DSH_HOME/AGENTS.md.

The plugin adds seven operations—highlight, underline, delete, annotate, rewrite, cite, and move—to the selection toolbar in DeepSeek Harness. In the next turn, it sends pending annotations to the model as context, with the option to send only the marked paragraphs (concise mode) or a revised view of the entire response (full mode). After processing, the model calls the annotations tool to confirm; unconfirmed annotations are resent for up to 3 rounds. The "Consolidate as Habits" feature summarizes annotations into one-line preference statements and writes them into the managed section of $DSH_HOME/AGENTS.md.

Why It Matters Each of the seven annotation types has a distinct meaning, and the model must return confirmation after making changes. Once enough annotations accumulate, they can be summarized into long-term preferences with one click and written into the global AGENTS.md, which new conversations automatically follow.

Stars 19

Reasons

  • MIT licensed, includes unit tests; the README features GIFs demonstrating each of the seven annotation types
  • Uses only Node.js built-in modules and injects via the official pre-step hook, without modifying session logs

Usage

  • Run dsh plugin --profile web add dsh-mindmark, or enter dsh-mindmark on the Harness plugin page to add it. After installation, restart Harness, then select text in any response to annotate.

Risks

  • The "Cite" operation only requires modifying one paragraph, but the model rewrites the entire response each time; keeping other paragraphs unchanged relies solely on instruction constraints.
  • Annotations are stored locally per session; deleting a session does not automatically delete its annotations. The move operation is supported only within the same response.

Open

GitHub

Explore the latest AI Radar updates