Introduction¶
A common practice when doing research or reading papers in DeepSeek Harness (DSH) is: searching arXiv in a browser, dumping PDFs into a folder, and keeping notes in separate Markdown files or Notion. While an Agent can help you search for links, the bibliographic records, PDFs, full text, and notes often reside in separate datasets. Furthermore, a command like “closely read [paper X]” in a conversation is difficult to align with local state.
dsh-paperdesk is a Workflow plugin (SkillHub category: Workflow) released by community maintainer shiyan688. It connects the three stages of “Collect → Read → Remember” to a single local library: arXiv search and ingestion, saving bibliographic records/PDFs/full text to disk, and writing close-reading notes using a fixed L1/L2/L3 structure. The Host half and browser UI are distributed in the same package; lib/ serves as the runtime, requiring no build step.
What is this¶
The plugin’s npm package name is dsh-paperdesk, repository shiyan688/dsh-paperdesk, license MIT. The description matches the README: DSH Paper Workbench — arXiv search → Local library (metadata / PDF / full text) → L1-L2-L3 three-layer reading notes; Host + browser in the same package, no build step.
Reading papers is divided into three stages in the README, but most tools only cover “Collecting.” This plugin additionally uses a table structure to constrain the third stage, “Remembering”:
| Layer | What it answers | Why a separate layer |
|---|---|---|
| L1 Overview | What does this paper say? The contribution in one sentence? | To filter out papers not worth reading further |
| L2 Understanding | Methods, key designs, which table supports the conclusion? | To distinguish between “understanding the abstract” and “understanding the work” |
| L3 Critique | Are the assumptions valid? What is suspicious? What can be applied to my own research? | This is the layer missing from many cases of “read but not absorbed” |
The interface and Agent tools read/write the same library. You can manually click the sidebar or simply tell the model to “Closely read 1706.03762”.
Core Features¶
Sidebar “Papers” Interface¶
After installation and restarting with the web profile, a Papers entry (described as 📚 Papers in the README) appears at the bottom of the sidebar. Main capabilities include:
- Library: Filter by Unread / Reading / Read, title, author, and tags; edit details and three-layer notes on the right.
- arXiv Search: Search by keywords or arXiv syntax (e.g.,
ti:"world model" AND cat:cs.LG); options for “Add to library + download full text” or “Metadata only”. - Import PDF: Use system directory picker or manually fill in absolute paths to scan; batch import multiple PDFs; extracts full text and infers title from the body text of the first page.
In the details view, you can also change status, star, edit tags, read full text in segments within the panel, open the file directory, and remove from the library.
Agent Tools (7)¶
Interoperating with the same library as the interface:
| Tool | Purpose |
|---|---|
paper_search |
arXiv search, returns ID / Title / Authors / Categories / Abstract snippet |
paper_add |
Add to library (downloads PDF and extracts full text by default) |
paper_list |
List library, filter by status / keyword / tag |
paper_read |
Read full text (downloads PDF if missing, extracts full text if missing, returns paginated) |
paper_note |
Write L1 / L2 / L3 notes, or change status, rating, tags |
paper_pdf |
Download PDF and extract full text individually |
paper_import |
Import existing local PDFs into the library |
Natural language examples from the README:
Find 5 papers on diffusion policy and add them
Closely read 1706.03762 and write the three-layer notes
Which papers have I read but haven’t written notes for?
Data Directory¶
The library root directory is determined by the root configuration; if empty, it defaults to <dsh process working directory>/.dsh-paperdesk. Typical layout:
<root>/
state/index.json Bibliographic records + Status + Tags + Three-layer notes (Single source of truth)
pdf/<id>.pdf
text/<id>.txt
notes/<id>.md Human-readable three-layer notes
.tools/extract_pdf.py
The arXiv <id> is the ID without version number (e.g., 1706.03762). The index stores relative paths, so the entire directory can be copied to other machines.
Installation and Activation¶
Official installation command (from README):
dsh plugin --profile web add dsh-paperdesk
dsh plugin installs the package into the profile’s node_modules and registers it in package.json under dsh.profile.bundles; the package’s cordis.patch.yml is inserted into the plugin line as a patch. Configuration example:
- insert:
- id: dsh-paperdesk
name: 'dsh-paperdesk'
config:
root: '' # Library root; empty = <cwd>/.dsh-paperdesk
pdfCommand: '' # pdftotext compatible CLI; auto-detect if empty
pythonCommand: '' # Auto-detect python/python3/py if empty
Must verify bundles after installation¶
If the package only enters dependencies but not dsh.profile.bundles, the plugin will silently fail to load. Please run:
node node_modules/dsh-paperdesk/scripts/check-dsh-compat.mjs --profile web
If it prompts that it is not in dsh.profile.bundles, you can manually add dsh-paperdesk to the bundles array in $DSH_HOME/profiles/web/package.json, for example:
"dsh": { "profile": { "bundles": ["@deepseek-ai/dsh-base", "@deepseek-ai/dsh-web-app", "dsh-paperdesk"] } }
Then restart the profile (dsh web). The startup log should show something similar to:
[paperdesk] 0.1.0 Ready · Library <root> · Extractor <extractor> · 7 tools · UI API Mounted
(The version number in the log depends on the package you actually installed; the current repository package.json is 0.1.3.)
Health check: GET http://127.0.0.1:<port>/paperdesk/api/health (requires the browser token).
Uninstall:
dsh plugin --profile web remove dsh-paperdesk
Typical Usage¶
- Use syntax search in arXiv Search, select “Add to library + download full text”.
- Change status to “Reading” in the Library, fill in L1 → L2 → L3 while reading the full text in the panel.
- Tell the Agent to “List papers currently reading but without L3 notes”, then supplement notes via
paper_noteor the interface.
For existing local PDFs: use the sidebar Import PDF or tool paper_import; the path must be an absolute path (this is by plugin design; relative paths are rejected).
Dependencies, Compatibility, and Notes¶
- Node ≥ 20; The Host half has no third-party runtime dependencies (except peer
@deepseek-ai/schemasteryfor config schema composition). - PDF full text extraction depends on external tools only when needed, in order:
pdfCommand→ Python + PyMuPDF / pypdf →pdftotexton PATH. If none are available, bibliographic records, search, notes, and import remain usable; extraction failures will be indicated in/paperdesk/api/health. - Compatibility strategy: Soft version gate only prompts, capability detection takes priority, only uses stable surfaces like
ctx.tools.register/ctx.webServer.register/ctx.get; seeCOMPATIBILITY.mdin the repository for details. - Known limitations: The UI is a floating panel rather than a central main panel; “Open containing directory” is only meaningful if the host and browser are on the same machine; arXiv versions and conference versions are not deduplicated; extraction quality is affected by PDF layout.
- Security: The API validates that the request source is the local loopback; import reads the absolute path you explicitly provide; subprocesses use the
spawnarray form, bypassing the shell.
The plugin reads/writes the disk and calls external extraction commands under the current DSH process permissions. Please review the GitHub source code and the MIT license yourself before installation; the DSH community directory SkillHub Plugin Page is an independent site and has no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
If you want the paper workflow in DSH to extend from “searching to PDF” to “Structured notes and the Agent can continue reading the same library”, dsh-paperdesk binds search, library, and L1-L2-L3 notes together, providing two sets of entry points: the sidebar and 7 tools. For more details, see GitHub README. When reporting issues, the README suggests attaching the output of /paperdesk/api/health.