返回目录
模型与 MCP 插件

dsh-session-instructions

borncode-app/dsh-session-instructions

Reads the user's standing instructions before any work starts, so the deliverables that must not be forgotten travel with every request.

Stars
0
Forks
0
Issues
0
更新
9 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:borncode-app/dsh-session-instructions

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

This repository has moved into one monorepo.

The BornCode plugins — agent customization, desktop control, auto-continue, auto-shutdown, browser use, session instructions, session sync, and the side chat — now live in borncode-app/dsh-borncode, one repository with one Plugins entry.

this repo new home
dsh-agent-customizer packages/dsh-agent-customizer
dsh-agent-desktop packages/dsh-agent-desktop
dsh-auto-continue packages/dsh-auto-continue
dsh-auto-shutdown packages/dsh-auto-shutdown
dsh-browser-use packages/dsh-browser-use
dsh-session-instructions packages/dsh-session-instructions
dsh-session-sync packages/dsh-session-sync
dsh-side-chat packages/dsh-side-chat

The code and its history are unchanged; only the repository is shared. Install dsh-borncode instead of the individual bundles. This repository stays open so the old links keep working.

dsh-session-instructions

Standing instructions that travel with every request, so nothing you said once gets forgotten.

release license plugin scope


What it does

"If you produce a document, always add the file card." "Always answer in Thai." "Never push to main." The kind of instruction you state once and then have to repeat — because it lived in one message that fell out of the context window.

This plugin gives those rules a permanent home: a text box in Settings → General → Instructions. Whatever is in it is read at the top of the system prompt, before any work starts, on every request.

Features

  • Always first — the text is placed at the top of the system prompt, not appended after a long conversation.
  • Editable without code changes — the GUI writes it; no patch file, no restart to change the wording.
  • Persisted, not ephemeral — kept in the plugin's state.json, so upgrades and git pull leave it alone.
  • Bounded — maxLength (20 000 characters by default) rejects a runaway paste before it costs tokens on every turn.
  • Localized UI — English, Thai, and Chinese in locale/.
  • No tools, no network, no timers: one endpoint and one prompt contribution.

Requirements

DeepSeek Harness 0.2.x (Web GUI)
Runtime Node 24, supplied by the Harness runtime
Platform Windows, macOS, Linux

Install

git clone https://github.com/borncode-app/dsh-session-instructions.git dsh-session-instructions

Then:

plugin_manager install_bundle target=C:\path\to\dsh-session-instructions

Restart once, open Settings → General → Instructions, and write the rules you are tired of repeating.

Configuration

field default meaning
endpoint /plugins/session-instructions Path the Web GUI reads and writes the text at
maxLength 20000 Largest instruction text accepted, in characters

How it works

Settings → General → Instructions
            │  PUT
            â–¼
   state.json  ──read at the top of every turn──▶  system prompt

Because it rides the system prompt rather than a user message, it does not compete with the conversation for recency — and it is not the first thing dropped when context gets tight.

Keep it short and absolute. A standing instruction is billed on every single request; ten paragraphs of background belong in a SKILL.md, not here.

Files

file role
index.js host row: endpoint, persistence, prompt contribution
client.js the Settings page
cordis.patch.yml the bundle patch that inserts the row
locale/{en,th,zh}.json UI strings
icon.svg plugin icon
test/smoke.mjs the check used while building it

ภาษาไทย

ที่สำหรับเขียน คำสั่งถาวร ที่ต้องติดไปกับทุกคำขอ — เช่น "ทำเอกสารต้องแนบไฟล์ทุกครั้ง", "ตอบเป็นภาษาไทย", "ห้าม push ขึ้น main" — เขียนครั้งเดียวที่ Settings → General → Instructions

  • ข้อความถูกอ่านไว้ที่ หัว system prompt ก่อนเริ่มงานทุกครั้ง (ไม่ใช่ต่อท้ายบทสนทนายาว ๆ)
  • เก็บใน state.json → อัปเกรด DSH หรือ git pull แล้วไม่หาย
  • จำกัดความยาวด้วย maxLength (20,000 ตัวอักษร) กันการวางยาว ๆ ที่จะถูกคิดเงินทุกเทิร์น
  • ไม่มี tool ไม่มีเน็ตเวิร์ก ไม่มี timer

เขียนให้สั้นและเป็นคำสั่งชัด ๆ — ข้อความนี้ถูกคิด token ทุกครั้งที่ส่ง ถ้าต้องการเนื้อหายาว ๆ ให้ไปไว้ใน SKILL.md

License

MIT © 2026 BornCode

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。