DeepSeek Harness Plugin

CeilCelia/dsh-eli-mode#packages/eli-mode

Stars ★ 1 Category Memory Added 2026-08-15 npm dsh-eli-mode

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

English | 中文 · GitHub

npm version

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:

  1. Open a new session and pick the Eli Mode preset;
  2. On first run a default knowledge base is created under ~/.dsh/eli-knowledge/ (existing content is never overwritten);
  3. 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.yaml directly.

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

Knowledge base page

  • 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 with ELI_KB_ROOT)
  • The index (index.md) is regenerated automatically — no manual maintenance
  • With polish on, the composer shows token usage; when a DEEPSEEK_API_KEY is 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.webp main UI + ui/art-right.webp wiki) is a derivative of the "Whale Girl" character, CC BY-NC-SA 4.0 (non-commercial); full attribution chain in NOTICE:
  1. 上善 (Shangshan) (Pixiv · Bilibili) — original creator of the whale-girl character
  2. zipzip / ZipZipPipe (Pixiv · Bilibili) — the DeepSeek-element maid whale-girl redesign (generated with GPT Image 2)
  3. 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.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →