V-Reason/dsh-study-buddy

Plugin插件 Native原生 ⭐ 3 MIT Memory & Knowledge记忆与知识库

- 读完就忘 → 四步闭环:读取资料 → 讲解 → 问答反诘 → 归档成文档 - 笔记像流水账 → 一个块 = 一个能独立阅读的知识单元,按 资料 / 章 / 节 / 块 成篇,每层有 微目录.md 当导航 - 写法不合口味 → 写法只看你的《笔记期望.md》(受众、文风、详略、结构、公式图表都由它决定),改完立即生效 - AI 乱建文件 → 归档前先出文件夹规划给你拍板,落盘路径必须在你确认的范围内 - 数据不是黑盒 → 就是 vault 里的普通 Markdown:Obsidian 手改、git 回滚永远有效;推翻重写前旧正文先进 .study/archive/ 可回退,删掉 .study/ 也不丢一篇笔记

catalog descriptioncatalog 简介 / catalog description:使用DeepSeekHarness进行学习和笔记

Project Overview项目介绍

dsh-study-buddy is a native plugin and agent preset built exclusively for DeepSeek Harness (DSH). It is designed to walk users through a complete learning workflow: reading source material, explaining concepts line by line, asking follow-up questions to check understanding, and archiving finished structured Markdown notes. To install, users first clone the repository to their local machine, install all required dependencies with pnpm, add the built plugin to their DSH profile dependencies, and copy the provided agent preset to their local DSH agent preset directory.

This tool is built specifically for learners who use DeepSeek Harness alongside Obsidian for Zettelkasten-style note taking. A typical workflow starts when the user specifies a source file or learning topic they want to study. The plugin then explains one concept at a time, stops after each to check for clarity, asks targeted follow-up questions to reinforce learning, and only generates the final note structure and file path plan once the user confirms they are ready to proceed before writing any files to the user’s Obsidian vault.

The project requires Node.js 22 or newer and uses the pnpm package manager, and is released under the permissive MIT open source license. It has no third-party runtime dependencies, relying only on built-in Node.js core modules. First-time users must set their Obsidian vault absolute path and add a custom 笔记期望.md (Note Expectations) file to their vault root, or the plugin will refuse to write any notes. Users should also be aware that vault content is sent to the LLM service provider, so sensitive content should not be stored in the configured vault.

dsh-study-buddy 是专为 DeepSeek Harness(DSH)开发的原生插件加 Agent 预设,核心功能是辅助用户完成完整的资料学习闭环,覆盖从资料读取、讲解、问答反诘到归档生成独立 Markdown 笔记的全流程,适配 DSH 插件加载机制,用户按文档步骤克隆构建后添加到 DSH 配置即可启用。

这款工具面向使用 DSH 和 Obsidian 做 Zettelkasten 笔记学习的用户,典型工作流是用户指定学习资料后,插件分步骤完成逐点讲解、追问反诘,确认理解后生成归档方案供用户拍板,用户确认后才会按《笔记期望.md》的要求生成对应结构的笔记存入 vault。

该项目依赖 Node.js ≥ 22 版本和 pnpm 包管理器,采用 MIT 开源协议,零额外第三方运行时依赖,仅支持 DSH 环境部署。首次使用必须配置 vault 根路径并添加《笔记期望.md》,否则插件拒绝写入,注意 vault 内容会发给模型服务商,敏感内容请勿放入。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-study-buddy

把 V-Reason/dsh-study-buddy 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-study-buddy

给 DeepSeek Harness(DSH)的**「学习伙伴」:一个插件 + Agent 预设,陪你把一份资料讲完、问透、写成自己的文档**。

讲解快节奏、听懂才往下走;笔记不是摘要卡片,而是 vault 里一篇篇能独立复读的 .md——写到哪个目录由你规划,写法由你 vault 根的《笔记期望.md》决定。

版本基线:v1.2.0 | MIT | 快速开始 · 用户使用指南 · 文档地图 · 更新记录

它替你解决什么

  • 读完就忘 → 四步闭环:读取资料 → 讲解 → 问答反诘 → 归档成文档
  • 笔记像流水账 → 一个块 = 一个能独立阅读的知识单元,按 资料 / 章 / 节 / 块 成篇,每层有 微目录.md 当导航
  • 写法不合口味 → 写法只看你的《笔记期望.md》(受众、文风、详略、结构、公式图表都由它决定),改完立即生效
  • AI 乱建文件 → 归档前先出文件夹规划给你拍板,落盘路径必须在你确认的范围内
  • 数据不是黑盒 → 就是 vault 里的普通 Markdown:Obsidian 手改、git 回滚永远有效;推翻重写前旧正文先进 .study/archive/ 可回退,删掉 .study/ 也不丢一篇笔记

快速开始

前提:一份能跑的 DSH 部署(web profile)+ Node.js ≥ 22 + pnpm。本仓库是插件 + 预设,不含 DSH 本体。 DSH 要求 >=0.1.7-rc.1 且 <0.3.0-0(更低版本没有 dsh.bundle.patch 这套声明式预设; 0.3 线未验证,见 安装与兼容性)。

# 1. 装进 DSH profile —— 本包是「bundle」:装它同时把「学习伙伴」预设声明进 profile
dsh plugin --profile web add dsh-study-buddy
#   本地开发也可以用:plugin_manager install_bundle target=<绝对路径>
#   装完确认 profile 的 dsh.profile.bundles 含本包(预设在下次启动/热重载时出现)

# 2. 告诉插件你的 vault 在哪(包内**不含**机器路径,三种给法任选)
$env:DSH_STUDY_VAULT = 'D:\你的vault绝对路径'        # ① 环境变量(推荐,重启 DSH 生效)
#   ② 或写 <DSH_HOME>\study-buddy.json: {"vaultRoot":"D:\\你的vault绝对路径","skipDirs":["资源"]}
#   ③ 或覆盖 presets/study.patch.yml 里 study 行的 config.vaultRoot(部署侧精调)

# 3. 把默认期望模板复制进 vault 根,改成你自己的写法(笔记写法的唯一来源)
Copy-Item presets/study/assets/笔记期望.md "D:\你的vault绝对路径\笔记期望.md"

# 4. 重启 DSH,新建会话,选择「学习伙伴」预设

只读自检三步(都不需要翻日志):plugin_manager list_bundles → 本包在列;plugin_manager list_plugins → include:preset-study 且 fiberPhase: active;新会话里 18 个 note_* / study_* 工具都在。

⚠ 第 3 步不是可选项:没有《笔记期望.md》时 note_write 会拒绝写入并给创建指引(有意为之——允许回退到内建写法会把"写法只看期望"变成两处口径)。 升级插件后若 DSH 没加载到新代码:删掉 <profileDir>\node_modules\dsh-study-buddy 再 pnpm install(依赖不自动刷新)。逐步详解见 用户指南 §3,出问题看 §11 排障。

安装与兼容性

DSH 版本 本插件 说明
>=0.1.7-rc.1 <0.3.0-0 v1.2.0+ 现行形态:接受 0.2.0-rc.1,同时不把仍在 0.1.7-rc.x 上的用户挡在门外
0.1.7-rc.1 / 0.1.7-rc.2 v1.1.1 交付形态与注入来源都对,但 peer 范围 ^0.1.7-rc.1 的上界是 <0.2.0-0 → 在 0.2.0-rc.1 上判不兼容:整个 bundle 层被跳过,「学习伙伴」与 18 个工具一起消失 → 升到 v1.2.0
≥ 0.1.7-rc.1 v1.1.0 交付形态对,但开场门禁的来源用了退场的 {kind:'plugin'} 包装:每个新会话的首条消息都会整轮失败(format v4 message requires a producer-owned source kind)→ 升到 v1.1.1
≤ 0.1.6 v1.0.x 目录式预设(%DSH_HOME%\.agent-presets\study\);该目录自 0.1.7 起平台已不再读取

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-usage-ledger 下一个 Next dsh-tool-gbt9704 →