lightporta/dsh-knowledge-center ↗★ 1

dsh-knowledge-center

Knowledge Center (知识中心) plugin for DeepSeek Harness: distill workspace documents into Markdown knowledge notes, preview them like VS Code, and let permitted workspaces use them through agent tools. 适合需要将本地文档转化为Markdown笔记并让Agent检索调用的用户。

패키지
dsh-knowledge-center
호환성
미검증
버전
1.8.4
라이선스
MIT
최근 업데이트
2026. 10. 26.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lightporta/dsh-knowledge-center

使用

  1. 点击左侧栏的知识图标打开整页知识中心(或打开 Settings → 知识中心)。

  2. 选择工作区,点击「扫描文档」,勾选需要提炼的文档,选择目标知识库与生成语言(简体中文 / English),点击「生成知识」。生成由默认模型逐篇完成,耗时取决于文档长度。

  3. 切换到「知识库」页签浏览结果:点击条目查看渲染效果;可切换 Markdown 源码、复制、下载、编辑保存或删除。

  4. 切换到「权限与设置」,为需要使用知识的工作区打开「允许模型调用」。

  5. 在该工作区的会话中直接向模型提问,例如:

    请先检索知识中心里关于发布流程的笔记,再按其中的清单检查这次改动。

    模型会调用 knowledge_search 找到条目、用 knowledge_read 读取全文,并基于知识回答;只有被授权的工作区才能这样做。

Usage

  1. Click the knowledge icon in the sidebar to open the full-page Knowledge Center (or open Settings → Knowledge Center).

  2. Choose a workspace, click Scan documents, select files, choose the target library and language (简体中文 / English), then click Generate. The default model distills each document; duration depends on document length.

  3. Open the Knowledge Base tab to browse the results: click an entry for the rendered preview, switch to Markdown source, copy, download, edit or delete.

  4. Open Access & Settings and enable Allow model access for the workspaces that should use this knowledge.

  5. In a session of that workspace, ask the model to use the knowledge, for example:

    Search the Knowledge Center for our release process notes, then check this change against that checklist.

    The model calls knowledge_search to find entries and knowledge_read for the full note — only in granted workspaces.