DeepSeek Harness Plugin

minhaoli/dsh-zotero-reader

Category Docs & Rendering Added 2026-11-13

Read Zotero PDFs inside the DSH right sidebar and let the model work on them directly. Requires Zotero 10 or newer with the local API enabled (Zotero 7/8 is read-only and cannot accept annotations). The model gets three tools: search_zotero_library to search your library, read_zotero_paper to read a paper by page or by query, and ask_zotero_paper for page-cited answers. Annotation handling mirrors Zotero's own reader: click an annotation to open a card with page number, quoted text, a comment box and tags; the three-dot menu recolors or deletes it; multi-line selections get a single surrounding box rather than one box per line. Comments, tags, colors and deletions are written back through the Zotero local API, so they show up in Zotero and annotations made in Zotero show up here. Selection actions cover translate, explain, ask and highlight; the reader remembers the exact reading position (page plus offset) and zoom level per paper, and keeps opened PDFs mounted so switching tabs does not reload them. MinerU re-parsing is available for scanned or broken-text PDFs and is off by default.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:minhaoli/dsh-zotero-reader

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.