AI Agent Hub
Back to plugins
🤖

dsh-official-document-mode

Model Inference Updated 2026.08.22

Run the following command in DeepSeek Harness:

dsh plugin install ESxyzbil/dsh-official-document-mode

Paste the following prompt into your AI chat to install this plugin:

Install by running dsh plugin install ESxyzbil/dsh-official-document-mode in DeepSeek Harness; the source is hosted at https://github.com/ESxyzbil/dsh-official-document-mode . Restart DSH after installation for it to take effect.

About this plugin

Writing official Chinese government documents in DSH is rarely about the content -- it is the format. Every turn calls for a proper title, salutation, structured body, and a closing signature block, yet the AI output is always bare Markdown. dsh-official-document-mode turns that into a single toggle: when on, the model is guided to follow official-document conventions (title phrasing in the style of Request, Report, or Letter documents, layered body, genre-closing formula), and the client renders the full layout on top -- header with agency name and document number, red divider line, centred title, salutation, body text, and a closing block with Sincerely, signature, and date. Intermediate tool calls and workflow steps stay untouched, never wrapped in the document frame.

A small but delightful addition is the approval canvas: a tiny drawing area beside the input bar where you sketch a closed loop for approved or an X-shape for rejected; a lightweight geometric heuristic recognises the gesture and injects the verdict straight into your draft. The canvas appears only while document mode is active; turning the mode off means zero injection, no rendering, no canvas -- a completely plain conversation. Crucially, historical messages are never retroactively framed: the boundary is the moment you enable the mode, so anything written before stays exactly as it was.

If you draft or review 请示, 报告, 函件, or other official documents in DSH and are tired of reformatting every reply by hand, this plugin is built for you.

Use Cases

  • Enable the toggle before drafting a Request, Report, or Letter to auto-generate the full document layout with header, salutation, and signature
  • Review a document by sketching a circle or X in the canvas to instantly record your approval or rejection into the draft
  • Turn the mode off to return to a plain conversation with zero injection, no rendering, and no retroactive changes to history

Best For

  • Administrative and clerical staff who draft or revise official documents in DSH and hate manually adding format elements each turn
  • Reviewers who want a quick gesture-based way to signal approval or rejection without retyping
  • Document writers who want AI output to natively follow 文种 conventions and minimise post-hoc reformatting