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.
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