Knowledge-base-driven agent preset: wiki long-term memory, a web KB UI, a management page and optional UI polish.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-eli-mode
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:CeilCelia/dsh-eli-mode#path:/packages/eli-mode
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time. Only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Eli Mode is an agent preset for DeepSeek Harness (DSH) built around wiki-driven long-term memory and skills, on an extremely minimal Harness setup.
Features
- Wiki-driven memory: a persistent, cross-session wiki that replaces the memory and
skill modules — try it and you'll know. Entries cross-link with
[[id]]; forward/back links and the tree index are maintained automatically. - Extremely minimal Harness: only the essential tools; the injected system prompt and context are deliberately tuned.
- Management page: Settings → Plugin Configuration → Eli Mode — edit the persona prompt and the knowledge-base injection prompt from a form.
- UI polish (submodule eli-polish): adds a KB tab, token stats, tool-call collapsing and character art on top of the default theme. Off by default — tick "UI polish" in the Eli Mode config page to enable it (no restart needed).
Install
Requires DSH 0.1.0-rc.6 or newer (Node.js >= 22) and pnpm (npm install -g pnpm — the dsh plugin command depends on it).
npx -y @deepseek-ai/dsh plugin --profile web add dsh-eli-mode@latest
After restarting dsh web:
- Open a new session and pick the Eli Mode preset;
- On first run a default knowledge base is created under
~/.dsh/eli-knowledge/(existing content is never overwritten); - Settings → Plugin Configuration → Eli Mode: edit the persona prompt and the KB injection prompt (takes effect on new sessions), or tick "UI polish" and swap the character art (takes effect immediately).
Preset updates
After upgrading the plugin (dsh plugin --profile web update), restarting re-syncs
~/.dsh/.agent-presets/eli-mode/ from the bundled preset.
Configuration
Management page (recommended)
Settings → Plugin Configuration → Eli Mode:
| Field | Description |
|---|---|
| Persona prompt | Identity / style / memory rules; Role, cwd and date are generated by the system |
| KB injection prompt | Template injected with the directory list; {{tree}} is replaced by the list; empty = no injection |
| Inject KB index | Toggle: whether the directory index goes into the session prompt |
| UI polish | Toggle: character art, in-chat "Knowledge base" tab, token stats, tool-call collapsing; applies immediately |
Works out of the box: the plugin ships a built-in settings bridge (loopback) so the config card needs no official-allowlist patch. If your deployment disables the bridge (e.g. remote access), see docs/settings-whitelist.md or edit
~/.dsh/settings.yamldirectly.
Direct settings.yaml
eli-mode:
personaPrompt: |
# Your persona prompt (multiline)
kbIndexPrompt: |
Knowledge base index below; use kb_read / kb_search on demand:
{{tree}}
kbIndex: true
polish: false # true = enable UI polish
Using the knowledge base

- Web:
http://<dsh-host>/eli-kb(browse / edit / search; the page follows the dsh UI language) - In chat:
kb_search <query>→kb_read <id>→kb_write <title> + <content>to persist - Storage:
~/.dsh/eli-knowledge/wiki/(override withELI_KB_ROOT) - The index (
index.md) is regenerated automatically — no manual maintenance - With polish on, the composer shows token usage; when a
DEEPSEEK_API_KEYis configured (dsh credentials service or environment variable) it also shows the account balance
Uninstall
npx -y @deepseek-ai/dsh plugin --profile web remove dsh-eli-mode
Restart dsh web. Preset files and KB data remain under ~/.dsh/ for manual cleanup.
Project layout
packages/
└── eli-mode/ # Core package (npm: dsh-eli-mode)
├── lib/ # Host modules (KB service, web routes, settings namespace, preset sync) + client (management card + optional polish)
├── presets/ # Agent preset (auto-synced to ~/.dsh/.agent-presets/)
├── wiki/ # Default knowledge base (seeded on first run)
└── ui/ # KB web page and character art
License & attribution
- Code: Apache-2.0 (see LICENSE)
- Character art (
ui/art-left.webpmain UI +ui/art-right.webpwiki) is a derivative of the "Whale Girl" character, CC BY-NC-SA 4.0 (non-commercial); full attribution chain in NOTICE:
- 上善 (Shangshan) (Pixiv · Bilibili) — original creator of the whale-girl character
- zipzip / ZipZipPipe (Pixiv · Bilibili) — the DeepSeek-element maid whale-girl redesign (generated with GPT Image 2)
- Small-tailqwq (dsh-deep-whale) — the DeepSeek-element material curation (tertiary derivative)
Special thanks to the creators above — their art and curation give this UI its soul.
Links
More in this category
vectorize-io/hindsight#coding-agents★ 19981
Hindsight, agent memory that learns: long-term project memory with auto recall and retain, knowledge pages, deep reflection, and per-repo memory banks.
omdsh-dev/dsh-mnemon★ 27
Cross-agent, local-first persistent memory plugin for DeepSeek Harness (DSH), powered by Mnemon. It shares long-term memory across Mnemon-enabled agents and adds runtime memory, searchable project documents, semantic recall, knowledge graph, and a Sidebar UI.
LoserFox/distill★ 19
Automatic conversation distillation: background subagent reflection + skill create/update.
Tyan66666/billion-context-dsh★ 13
Model-driven context compression (Active Context Pruning) for DeepSeek Harness: the model decides when and what to compress.
modusensus/dsh-mneme#dsh-mneme★ 12
Cross-session memory for DSH: SQLite + human-editable Markdown mirror, autoDream consolidation, six memory tools, and fully-offline semantic search (local embeddings, reranking, clustering).
Aik358/dsh-auto-memory★ 11
Auto-memory for DSH: three-layer memory (user / project notes / daily logs) with automatic injection, per-turn auto-consolidation, AI greetings, smart search, a calendar view and a settings page, plus inheritance of other AI tools' memories.