DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins
K

@local/kb-automation

Kb Automation

DSH Host plugin: runs the four-stage personal knowledge-base pipeline described in F:/test/11/1.md (build structure, collect, organize, inspect).

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add github:dravelin/kb-automation#ddd9b8b4b15540a2c1a6e289bbe7c69c298e738a
READMECompatibilityVersions

Compatibility and provenance

Kb Automation is published as @local/kb-automation and currently resolves to version 1.1.0. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
github
Registry updated
10/28/2026

Versions

1.1.0stable
10/28/2026

Related plugins

Loading related plugins…

Latest
1.1.0
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
Unavailable
Files
Unavailable
Surface
any
License
Not declared
Source
github
GitHub
★ 0
Weekly downloads
0
Last push
10/28/2026
View source ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in productivity-workflow.

Acp App@deepseek-ai/dsh-acp-appThe dsh ACP profile bundle: automation-only JSON-RPC stdio and process lifecycle over dsh-baseExperimental Schedule Bundle@deepseek-ai/dsh-experimental-schedule-bundleOptional bundle that adds Schedule, its task page, and time context to the Web compositionClient Ui Task Board@linxin666/dsh-client-ui-task-boardHost-authoritative task board for the DSH Web GUI with real session execution, Host cron scheduling, and optional cross-platform idle-sleep protection; mounted without DSH source changes.Web All@linxin666/dsh-web-allDSH Web UI 全家桶聚合插件:一键安装全部功能插件(task-board / pet / web-ui-settings / skin-center / community-plugins / compat shim)。compat 桥接层已并入本包(src/client),无需独立 compat npm 包。

README

知识库自动化插件(kb-automation)

从 GitHub 安装(另一台电脑)

git clone https://github.com/dravelin/kb-automation.git D:/dsh-plugins/kb-automation

改 cordis.patch.yml 里的 vault(知识库路径),然后:

{ "action": "install_bundle", "target": "D:/dsh-plugins/kb-automation" }

详细步骤与排错见 INSTALL.md。

阶段对应 1.md做什么
init第一段校验/创建六个中文目录(含 03 提炼笔记/{概念,方法,案例})、06 系统配置/笔记模板.md、06 系统配置/知识库规范.md,并输出目录树
collect第二段用 ctx.web 检索 AI Agent / AI 价格优惠 / AI 生产案例,模型筛选 3~7 篇,写成 status: inbox 的收件箱笔记
process第三段读规范 → 原文存档到 02 原始资料 → 拆原子笔记到 03 提炼笔记 → 打三维标签 → 链接进 04 主题索引 → 原笔记改 processed
inspect第四段补标签/摘要、给重复笔记的合并建议、查外链、算本周新增与主题分布,写周报到 05 我的产出
all—依次执行上面四个阶段
status—只读体检:各目录篇数、收件箱待处理清单、任务文件是否存在

工具参数

{
  "stage": "init | collect | process | inspect | all | status",
  "vault": "F:/dataobs",
  "topics": ["AI Agent 最新进展"],
  "limit": 6
}
  • vault 省略时取插件配置 vault(默认 F:/dataobs)。
  • topics 只对 collect 生效,覆盖配置里的检索词。
  • limit 对 collect 是本次最多收录篇数(1–7),对 process 是本次最多处理篇数。

配置

cordis.patch.yml 里的 config:

字段默认值说明
vaultF:/dataobs知识库根目录;调用时可用 vault 参数覆盖
taskFileF:/test/11/1.md任务说明文件,status 阶段检查它是否存在
maxCollect6collect 默认收录上限
topics见 src/collect.js 的 DEFAULT_TOPICS检索词
linkCheckLimit20inspect 每次最多验证多少条外链
maxAgeDays2collect 丢弃早于 N 天的内容(按页面上的首个日期判断)
fetchModeautoauto 先走 ctx.web.fetch、被拒再直连;web 只走 harness;direct 只直连
heuristicFallbackfalse设为 true 才允许模型失败时按规则猜着拆(默认不拆,留在收件箱)

实现要点

  • 模型参与判断,插件负责落地。 选篇、摘要、拆解用 ctx.llm(走当前 profile 默认模型),文件命名、frontmatter 字段顺序、标签维度、去重、索引插入都由代码确定性完成,所以重复执行不会产生格式漂移。
  • 宁可不动,也不乱拆。 模型没给出合法结果时,收件箱笔记原样保留并在 kept 里写原因;原子笔记还要过校验(标题 ≥4 字、摘要 ≥20 字、正文 ≥60 字、不能是「价格」「发布」「待核实」这类小节名),不合格一律拒收。
  • 只做加法。 不删除、不合并、不覆盖已存在的原始存档与原子笔记;02 原始资料 已有同名文件时跳过并记录。
  • 幂等。 目录、模板、规范已存在时不改写;收件箱里 status 不是 inbox 的笔记不会被重复处理;已存在的原子笔记/MOC 链接会去重。
  • 空文件与信息不足的笔记按 1.md 的约束留在收件箱,并在结果的 kept 里注明原因。
  • 文件操作直接走 Host 的 node:fs(目录创建、原子写入),检索走 ctx.web,模型走 ctx.llm,不额外拉依赖。

分发

INSTALL.md 是给另一台机器的安装说明;打包命令:

tar -a -c -f kb-automation-1.1.0.zip -C <父目录> kb-automation

解压后把 cordis.patch.yml 里的 vault / taskFile 改成目标机器的路径,再 plugin_manager install_bundle。

安全边界

  • inspect 对重复笔记只输出"合并建议清单",不删不改;外链只做 HTTP 状态检查,不抓正文判定内容是否被替换。
  • 所有新增内容都写进六个目录内部,不在仓库外落文件;插件自身代码放在 .kb-automation/(Obsidian 不索引点开头目录)。

开发

node --check index.js
node test/smoke.mjs   # frontmatter 往返、命名规则、MOC 插入、目录树