Bundle
dsh-plugin-litsearch-zotero
DeepSeek Harness plugin: literature/related-work search plus one-shot Zotero import. Ships two skills (literature-search, zotero-import) and a zotero-import CLI so an agent can check an idea's novelty, then file the papers it finds straight into a running Zotero.
- Source
- careyourcake
- stars
- 1 stars
- License
- MIT
- Updated
- Updated yesterday
Readme
# dsh-plugin-litsearch-zotero A [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) (DSH) plugin that bundles two agent skills and a small CLI for the "check my idea, then file the papers" workflow: - **`literature-search`** — decompose an idea into searchable novelty axes, run a multi-source literature search, and grade every hit by how close it is to the idea. Used to answer *"has anyone already done this?"* before you start work. - **`zotero-import`** — push a BibTeX/RIS file into a locally running [Zotero](https://www.zotero.org/) desktop app through its connector import endpoint. No zotero.org account, no API key. - **`zotero-import` CLI** — the same import as a shell command. The two skills compose: `literature-search` finds the papers, `zotero-import` files them into your library. ## Install ```sh dsh plugin --profile web add dsh-plugin-litsearch-zotero ``` `dsh plugin add` installs the package into the profile and, because this package declares `dsh.bundle.patch`, activates it automatically. After a restart of the profile, the two skills appear in the session skill catalog. > Install straight from a Git checkout / GitHub instead: > `dsh plugin --profile web add github:<user>/dsh-plugin-litsearch-zotero` ## What you get | Capability | Kind | Trigger | |---|---|---| | `literature-search` | skill | "has anyone done this idea", "related work", "novelty check" | | `zotero-import` | skill | "put these papers into Zotero" | | `zotero-import <file>` | CLI | `zotero-import refs.bib` in the shell | ## Usage ### Skill: literature-search Ask the agent directly: > 在 MuJoCo/IsaacLab 里训 DreamerV3,蒸馏成极小的反射网络,部署到 ROS2 真机——帮我查有没有人做过。 The skill guides the agent to produce a closeness table (`🔴 几乎一样 / 🟡 部分重叠 / 🟢 背景`) plus a "still-open gap" list, so you know which axis of your idea is actually novel. ### Skill + CLI: zotero-import ```sh zotero-import /tmp/refs.bib # node bin/zotero-import.mjs /tmp/refs.bib # if not on PATH ``` Zotero must be running. Items land in the currently selected Zotero collection. ## How it works - `lib/index.js` is a Cordis plugin that registers a **skill provider** on `ctx.skills` (same pattern as `@deepseek-ai/dsh-skill-badge`). Skill bodies are read from `skills/*.md` at load time and served as `bundled` skills. - `cordis.patch.yml` is the bundle patch that inserts the plugin as a host row, so `dsh plugin add` activates it without any manual composition edit. - The CLI and the `zotero-import` skill use Zotero's local `POST /connector/import` endpoint (note: Zotero's local `/api/` is read-only). Node's `fetch` does not honor `http_proxy`, which sidesteps the "502 Bad Gateway" you get when curl routes `127.0.0.1:23119` through a local proxy. ## Structure ``` dsh-plugin-litsearch-zotero/ ├── package.json # bundle + bin + dsh-plugin keywords ├── cordis.patch.yml # inserts the host row ├── lib/index.js # Cordis plugin + skill provider ├── skills/ │ ├── literature-search.md │ └── zotero-import.md ├── bin/zotero-import.mjs # CLI └── README.md ``` ## License [MIT](./LICENSE) --- ## 中文简介 这是 DeepSeek Harness 插件:内置两个 skill——`literature-search`(把 idea 拆成可检索维度做文献/related-work 检索,给出接近度分级)和 `zotero-import`(把 BibTeX/RIS 直接写进正在运行的 Zotero,免账号免 API key),另附 `zotero-import` 命令行。安装:`dsh plugin --profile web add dsh-plugin-litsearch-zotero`。
Install
dsh plugin --profile web add github:careyourcake/dsh-plugin-litsearch-zotero
Profile: web
With the hub plugin installed, ask your agent to install it by name — it resolves the same plan shown here.
dsh plugin --profile web add github:stvlynn/dsh.fish#path:packages/dsh-plugin-hub
install dsh-plugin-litsearch-zotero from the hub
- This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.