dsh-custom-instructions
Manifest validCodex-style custom instructions for DeepSeek Harness: edit ~/.dsh/AGENTS.md from a settings panel - applies to every chat and model. Codex-style custom instructions: edit global instructions from the settings panel, applied across all sessions and all models.
dsh-custom-instructions
Codex-style custom instructions for DeepSeek Harness: edit a global instruction from the settings panel that applies to every conversation on this machine, across all models.
Just like Codex's global AGENTS.md or ChatGPT's Custom Instructions, the notes and context you write in the "Custom Instructions" panel are automatically carried into every future conversation — no need to repeat yourself in every message.

Features
- Codex-style custom instructions: Settings → General → "Custom Instructions", edits
~/.dsh/AGENTS.md, saved straight to disk. - Applies to every session and every model: built on DSH's built-in
dsh-agent-instructionsmechanism — new conversations pick it up from the first message; the current conversation picks it up after the next file operation. - WYSIWYG: monospace editor mirrors the file content; saving gives immediate success/failure feedback.
- Zero build: hand-written
window.__ModuleLoader__.loadclient bundle + pure Node ESM host — no build authorization needed to install.
Install
From GitHub (this repo)
dsh plugin --profile web add github:lyke-61/dsh-custom-instructions
Then restart dsh web once so the bundle layer loads.
Manual (edit profile files)
- Add the dependency:
// ~/.dsh/profiles/web/package.json
{
"dependencies": {
"dsh-custom-instructions": "github:lyke-61/dsh-custom-instructions"
}
}
- Add the plugin row (this repo ships its own
cordis.patch.yml— either merge its row into your profile'scordis.patch.yml, or install via thedsh plugincommand above which does it for you):
# ~/.dsh/profiles/web/cordis.patch.yml
- insert:
- id: custom-instructions
name: dsh-custom-instructions
- Run
pnpm installin the profile directory, then restartdsh web.
How it works
| Layer | File | What it does |
|---|---|---|
| Host | lib/index.js | Registers GET/POST /custom-instructions routes on the webServer to read/write ~/.dsh/AGENTS.md; the path is resolved via @deepseek-ai/dsh-home-paths — the same file dsh-agent-instructions reads |
| Client | lib/client.js | Registers the "Custom Instructions" panel in the General settings slot (settings.general.item, id custom-instructions, right below "Permissions"); loads content via fetch on open, saves via POST |
| Bundle | cordis.patch.yml | The loader row that mounts both halves |
Effect mechanism: the panel edits the very global-instruction file dsh-agent-instructions injects into every session, so the plugin needs no hot-reload of its own — new sessions see it immediately; the current session picks it up after the next read / write / edit file operation.
Compatibility
- DeepSeek Harness
0.1.0-rc.6(web profile). - Depends on the built-in
dsh-agent-instructions(shipped with thestandardpreset by default); if your profile disables it, the instructions won't be injected.
Development
The client bundle is hand-written in the exact wire format (window.__ModuleLoader__.load({ id, factory })), so no build step is required:
node --check lib/index.js
node --check lib/client.js
License
MIT
Comments
Loading…
Similar plugins
by fufu1437
DeepSeek Harness (DSH) plugin: declare shell commands in Settings, and every one becomes a tool the model can call directly.
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add @fufu1437/dsh-model-commandsby Wraindrock
DSH(DeepSeek Harness)个人插件:把你的项目开发规则交给 agent —— 右侧栏面板可视化维护(全局 + 按项目),并自动注入每个会话的系统提示。
★ 0
MIT
JavaScript
Oct 6, 2026
dsh plugin --profile web add dsh-ian-rulesby Castor6
Codex-style project-less chats for the DeepSeek Harness: a new chat with no project gets its own local working directory, and keeps DSH's native new-chat screen
★ 0
MIT
JavaScript
Oct 8, 2026
dsh plugin --profile web add dsh-auto-workspaceby Bay-Zeddie
在 dsh Web 设置页里编辑原生 AGENTS.md 的面板:链上每层可点选编辑,三种生效范围,并可视化官方指令预算。
★ 3
MIT
JavaScript
Oct 1, 2026
dsh plugin --profile web add dsh-agent-instructionsby huanghai-lab
DSH Web 安全自定义指令管理器:编辑全局 AGENTS.md,支持模板、Markdown 预览、历史恢复、导入导出与并发保护。
★ 3
↓ 195/wk
Apache-2.0
TypeScript
Aug 31, 2026
dsh plugin --profile web add @huanghai-lab/dsh-custom-instructionsby bainianlaoyao
Codex-shaped coding tools and agent presets for GPT models on DeepSeek Harness: exec_command, write_stdin, apply_patch and view_image, plus OpenAI Chat Completions and Responses API routes, bridged to
★ 0
JavaScript
Sep 13, 2026
dsh plugin --profile web add dsh-codex-mode