DeepSHPlugins
dsh-plugin-wiki-tools 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-plugin-wiki-tools

工具與整合JavaScriptMIT

Obsidian wiki vault 原生工具:wiki_query、wiki_write、wiki_rename、wiki_scaffold、wiki_archive、wiki_lint 覆蓋 BM25 連結圖檢索、帶 sha256 源追蹤的簿記式寫入、全庫改名、模式化腳手架、源歸檔與健康檢查,並內建跨程序鎖與可選 git 自動提交。

6 StarsLion-1209 更新時間 2026-09-09
訪問 GitHub 倉庫
dsh-plugin-wiki-tools 專案預覽

專案介紹

中文

Obsidian wiki vault 原生工具:wiki_query、wiki_write、wiki_rename、wiki_scaffold、wiki_archive、wiki_lint 覆蓋 BM25 連結圖檢索、帶 sha256 源追蹤的簿記式寫入、全庫改名、模式化腳手架、源歸檔與健康檢查,並內建跨程序鎖與可選 git 自動提交。

English

Native tools for an Obsidian wiki vault: wiki_query, wiki_write, wiki_rename, wiki_scaffold, wiki_archive, and wiki_lint cover BM25 search with link-graph context, bookkeeping writes with sha256 source tracking, vault-wide renames, mode scaffolds, source archiving, and health checks — with cross-process locks and optional git auto-commit.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
Lion-1209
倉庫
Lion-1209/dsh-plugin-wiki-tools
GitHub Stars
6
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-09-09
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

72/ 100
維護活躍
99
文件與實用資訊
85
生態關注度
24
安裝便捷訊號
100
專案宣告訊號
100

近 2 天仍在更新;README 含完整安裝與使用說明;關注度尚低(6)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add dsh-plugin-wiki-tools

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-plugin-wiki-tools

npm version npm weekly downloads License: MIT Awesome DSH Plugin

English | 中文

Native DeepSeek Harness tools for an Obsidian wiki vault: wiki_query, wiki_write, and wiki_lint implement the mechanical core of the wiki skill suite — path routing, frontmatter completion, index/log bookkeeping, source delta tracking, and health checks — so the model spends its turns on synthesis instead of filesystem chores.

dsh plugin --profile web add dsh-plugin-wiki-tools

Pair with dsh-plugin-wiki-skills for the prompt-level skills (wiki, wiki-ingest, wiki-query, wiki-lint, save), and with dsh-wiki-web for a self-hosted web UI over the same vault — browse, BM25 search, link graph, and lint dashboard in the browser, no Obsidian required.

*If this toolchain saves you time maintaining a wiki vault, a ⭐ helps other dsh users find it. 如果这个工具帮到了你,欢迎点个 Star。*

Attribution

The vault layout and operation contracts follow the LLM Wiki pattern (Andrej Karpathy) as embodied by claude-obsidian (MIT, © 2026 AgriciDaniel). This package is an independent plain-ESM implementation of the mechanical core; it contains no code or skill text from claude-obsidian.

Tools

ToolWhat it does
wiki_queryQuick mode returns hot.md + index.md verbatim (the skill's read order); standard mode is full-text search over content pages with snippets and the inbound/outbound link graph
wiki_writeWrites one page with complete bookkeeping: type→folder routing, frontmatter completion (keeps created and unknown fields on update), filename-uniqueness guard, master-index entry, log entry; with source_path, records the source hash and skips unchanged sources unless force
wiki_lintHealth check: duplicate filenames, dead wikilinks, orphan pages, frontmatter gaps, empty sections, stale index entries, stale hot cache — report only, with suggestions, written to wiki/meta/Lint Report <date>.md

Install and configure

dsh plugin --profile web add dsh-plugin-wiki-tools

vaultPath is required. The boot fails loud until you set it from your profile's cordis.patch.yml:

- id: wiki-tools
  config:
    vaultPath: /absolute/path/to/vault
    # optional: reroute page types to your vault's folders; index section
    # headings follow the mapped folder name (e.g. "## Areas")
    typeFolders:
      domain: wiki/areas

The vault is the directory holding wiki/ and .raw/ — scaffold it first with the wiki skill's SCAFFOLD operation. maxQueryResults (default 10) is optional. wiki_write refreshes existing index entries in the section's own style (: or — ), so em-dash vaults stay consistent.

Design notes

  • The vault is host-local user data outside any session workspace (cross-project referencing is the point), so the tools read and write through node:fs against the explicitly configured absolute root — not a dsh filesystem seam.
  • Writes serialize per target file in-process; filenames are guarded unique vault-wide because wikilinks resolve by bare name.
  • Registers on ctx.tools via defineTool; schemas stay stable regardless of vault contents.

Develop

npm install
node --test

License

MIT


中文

Obsidian wiki vault 的 DeepSeek Harness 原生工具:wiki_query、wiki_write、wiki_lint 实现知识库技能套件的机械核心(路径路由、frontmatter 补全、索引/日志簿记、来源增量追踪、健康检查),让模型把轮次花在综合而非文件操作上。与 dsh-plugin-wiki-skills(提示词技能)和 dsh-wiki-web(同一 vault 的自托管 Web 界面:浏览、BM25 搜索、链接图谱、lint 仪表盘,无需 Obsidian)配套使用。

出处

vault 布局与操作契约遵循 LLM Wiki 模式(Karpathy),形态来自 claude-obsidian(AgriciDaniel,MIT)。本包为独立的纯 ESM 实现,不含 claude-obsidian 的代码或技能文本。

安装与配置

dsh plugin --profile web add dsh-plugin-wiki-tools

vaultPath 为必填项:在你的 profile cordis.patch.yml 里覆盖 wiki-tools 行的 config 指向 vault 根目录(含 wiki/ 与 .raw/,先用 wiki 技能的 SCAFFOLD 操作搭建),否则启动时会明确报错并给出示例。

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案