dsh-llm-wiki
Run the following command in DeepSeek Harness:
dsh plugin install wangning19940904/dsh-llm-wiki
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install wangning19940904/dsh-llm-wiki in DeepSeek Harness to install; the source repository is at https://github.com/wangning19940904/dsh-llm-wiki
About this plugin
In agentic workflows, the main model frequently faces a sprawl of Markdown and plain-text files with no unified, searchable, and source-attributable knowledge base. dsh-llm-wiki closes that gap by isolating data under the canonical realpath of the active workspace, importing workspace documents into local storage, building a disposable PGlite index, and handing the agent a full toolchain for search, read, write, and graph exploration, all without any hidden nested model calls so that every model input and output stays in the normal session log.
At the core, the plugin imports .md, .markdown, and .txt files into raw/docs and constructs a hybrid retrieval pipeline that fuses 384-dimensional feature-hashing embeddings, PostgreSQL full-text search, a CJK substring fallback, and [[wikilink]] graph signals through reciprocal-rank fusion. Search results carry plugin-relative paths, source line ranges, excerpts, the fused score, and each signal's contribution. The agent can create or update sourced Wiki pages under wiki/sources, wiki/entities, or wiki/concepts via llm_wiki_write, with every replacement guarded by a read-before-write SHA-256 digest to prevent accidental overwrites. llm_wiki_graph lets the agent explore entities, mentioning pages, relations, and paths of up to three hops. The index directory is safe to delete at any time and is fully rebuilt on the next llm_wiki_ingest, while the Markdown files remain the single source of truth.
The plugin is built for DeepSeek Harness developers who manage project documentation, research notes, or concept wikis in local Markdown and want the agent to cite precise line ranges, read from and write back to sourced pages, and keep all data strictly within the local workspace. This release is intentionally an MVP: it supports local UTF-8 text only, ships without a Web UI, MCP server, PDF parsing, or background model tasks, and prioritizes predictable offline behavior and per-workspace data isolation.
Use Cases
- Managing project Markdown docs so the agent can cite exact line ranges and sources
- Building a locally searchable wiki knowledge graph over research notes
- Maintaining source-attributed concept and entity pages in a fully offline environment
Best For
- Developers managing project documentation with DeepSeek Harness
- AI agent builders who need offline local knowledge retrieval
- Wiki maintainers who prefer Markdown as the single source of truth
Related Plugins
Traceable, searchable cross-session memory for AI agents that turns conversation knowledge into a typed knowledge graph and recalls relevant subgraphs instead of replaying full history, natively integrated with DeepSeek Harness.
Gives DSH AI cross-session long-term memory, to-do and skill management, plus multi-session orchestration, external AI delegation, and an infinite canvas that grows with you.
dsh-mnemon is a three-tier, pluggable, Agent-driven memory system for DeepSeek Harness, combining Runtime memory, Project Documents, and replaceable Memory Spaces with nine long-term providers.
An opinionated, zero-infrastructure file-based memory protocol: human-readable markdown files plus a bounded always-loaded index, curation discipline, and no database or embeddings.