Introduction¶
When conducting research or writing technical content in DSH, the phrase “scanning new papers daily” sounds simple, but the difficulties often lie in two areas: On the T+0 day, there are almost no available citation counts, making citation-based sorting effectively useless for new drafts; on the Chinese side, CNKI, Wanfang, and VIP do not offer public search APIs for individuals, and “PKU Core” is a bibliography rather than a queryable field. Manually opening multiple sites, copying links, and judging whether they are worth reading is time-consuming and makes it difficult to reproduce standards.
Below is an introduction to the community plugin dsh-paper-digest (maintained by juzikexue). It automatically searches for Chinese and English papers in DSH at your scheduled times, sorts them using transparent quality signals computable on the same day, and generates a Markdown daily digest grouped by topic. Optionally, it generates Chinese summaries using a local model, downloads open-access PDFs, and creates digest sessions within the workspace for follow-up inquiries. All configuration is completed in DSH Settings → Paper Digest.
What This Is¶
dsh-paper-digest is a daily paper digest plugin for DeepSeek Harness (npm package name @juzikexue/dsh-paper-digest, current version 0.1.1, MIT License). It addresses the entire chain of “automatic filtering + auditable sorting + Chinese literature channels + workspace integration,” rather than simply pushing a list of links.
For each selected paper, the daily digest specifies the selection reason, matched keywords, and score composition, making it easy for you to adjust topics and keywords accordingly.
Core Features¶
Transparent Quality Sorting¶
The sorting does not rely on citation metrics, which are nearly empty for new papers (OpenAlex may return fwci: null for new drafts). Instead, it uses signals computable on the same day: venue authority (core library inclusion / journal / accepted), content evidence (methods, results, limitations, data availability clues), timeliness, author affiliations, and a smaller weight for community attention.
Total Score Formula (from source materials):
Total Score = (Journal Tier 30 + Content Evidence 25 + Timeliness 15 + Data Availability 10 + Community Attention 10 + Author Affiliation 10)
× (0.45 + 0.55 × Topic Relevance)
Hard thresholds filter out items such as retractions, overly short titles, entries with no links and no DOI, and items past the timeframe before scoring; CNKI journal RSS items are exempt from the timeliness threshold (since the “latest issue” may have been published several weeks ago).
Chinese and English Data Sources¶
| Source | Language | Description |
|---|---|---|
| CNKI Journal RSS | Chinese | Latest issues of various journals on rss.cnki.net, no login required, primary channel for Chinese content |
| ChinaXiv | Chinese | Public JSON API for Chinese Academy of Sciences preprints |
| Europe PMC (Chinese) | Chinese | LANG:chi, medical-focused, disabled by default |
| NCPSSD | Chinese | Experimental, disabled by default |
| OpenAlex | English | Official API, uses primary_location.source.is_core as the core library marker |
| Crossref | English | Title search |
| arXiv | English | Atom API, “Accepted at XXX” in arxiv:comment serves as a strong quality signal |
A failure in a single data source will not interrupt the entire daily digest: failures are written to “Run Diagnostics,” and other sources continue. The English section can supplement the paper count. The precision of Chinese searches highly depends on how keywords are written (see Typical Usage below).
Chinese Summary (Optional)¶
When enabled, each paper is processed by the locally configured model (reading agentDefaultModel, no separate API Key required) to generate a 2–3 sentence Chinese summary based on the title and abstract. This is placed at the top of the daily digest as “📌 One-sentence Summary,” while the original abstract is preserved in a collapsed section. The prompt requires the use of only given information with no speculation. The default output limit is 1500 tokens; if the budget is insufficient for thinking models, it automatically retries once with double the budget. If the switch is off, the model is not called.
Open Access Full Text¶
Only downloads OA full text and does not attempt to bypass paywalls: arXiv, PubMed Central (via Europe PMC), publisher OA PDFs marked by OpenAlex, and optional Unpaywall (looks for legal OA copies after entering an email). Validates the %PDF- magic number before saving to disk; single file limit is 25MB. CNKI / Wanfang / VIP do not scrape full text; the daily digest only provides links to detail pages.
The default root directory for output is ~/Documents/dsh-paper-digest, which can be overridden by the environment variable DSH_PAPER_DIGEST_DIR; Markdown files are in outputDir, and PDFs are in outputDir/pdf by default.
Digest Sessions¶
Besides writing files, it can automatically create a session named by date (e.g., 2026-09-18 Paper Digest (10 items)). The root directory points to the digest folder and is attached to the corresponding workspace, accessible directly from the session list on the left. The session includes your generation request, the assistant’s thematic overview after reading the report, and the digest file card delivered via present; you can ask follow-up questions about specific papers. The settings page provides “Create Session for Last Digest” for remediation; if the switch is turned off, only files are written without creating a session.
Installation and Enablement¶
The plugin’s lib/client.js is not committed to the repository. You must execute pnpm build:client after cloning. Otherwise, the plugin will still generate the daily digest, but the settings page will be empty with no error messages, which is the most easily missed step during installation.
1. Obtain Source Code and Build¶
git clone https://github.com/juzikexue/dsh-paper-digest.git
cd dsh-paper-digest
pnpm install
pnpm build:client # Must execute
pnpm test # Optional: 69 regression unit tests
2. Install as a Link into Web Profile¶
Edit ~/.dsh/profiles/web/package.json, pointing the dependency to the absolute path of the cloned directory. The key name must match the name in package.json (@juzikexue/dsh-paper-digest):
// ~/.dsh/profiles/web/package.json
{
"dsh": {
"profile": {
"bundles": [ /* … */ "@juzikexue/dsh-paper-digest" ]
}
},
"dependencies": {
"@juzikexue/dsh-paper-digest": "link:/abs/path/to/dsh-paper-digest"
}
}
cd ~/.dsh/profiles/web && pnpm install
# Then restart dsh web
You can also use the CLI (it automatically merges dependencies with dsh.bundle declarations into bundles):
dsh plugin --profile web add "link:/abs/path/to/dsh-paper-digest"
Typical Usage¶
Open DSH Settings → Paper Digest and configure the items in the table below as needed. Configuration and status are stored on disk in ~/.dsh/storages/dsh-paper-digest/ (config.json, status.json, core-journals.txt) and are not hosted by the DSH global settings service.
| Setting | Description |
|---|---|
| Enable Daily Auto Search | If off, runs manually only |
| Send Time | Generated at the first check after this time daily; if missed during sleep, runs upon wake-up |
| Daily Count / CN-EN Ratio | Chinese count is a soft target; English supplements if insufficient |
| Lookback Days | Only accepts papers published in the last N days (except Journal RSS) |
| Output Directory | Suggested to point to session workspace |
| Research Topics | Each topic contains Chinese and English keywords |
| CNKI Journal Monitoring | Journal Code + Name + Topic; see CNKI journal navigation URL for codes (e.g., JJYJ, JYYJ, XLKX) |
| Data Source Switches | Enable according to the table above |
| Core Journal List | Optional, each line Journal Name Keyword = Tier |
Keyword Syntax (Semantics differ between Chinese and English; understand them separately):
- Chinese: Space indicates OR.
人工智能 教育means “Artificial Intelligence” OR “Education”. Two-character common words (like Education, Learning, Technology) are not used as standalone evidence; phrases of 3+ characters are recommended. - English: Space indicates AND.
computer-assisted language learningrequires all words to appear in the title/abstract simultaneously.
The daily digest prints the matched keywords for each paper; if a paper is irrelevant, you can tighten keywords based on this. The settings page allows “Generate Digest Now”; since v0.1.1, the run status includes the trigger source and elapsed time to avoid misjudgment during collisions with startup catch-up runs.
Run a real search locally without going through DSH (Debugging/Acceptance):
node scripts/live-run.mjs [output file]
Use Cases and Caveats¶
Who it fits: Developers or researchers who need to continuously track new literature in Chinese and English under fixed topics, want auditable sorting criteria, and wish to read daily digests, download OA PDFs, and ask follow-up questions within sessions directly in the DSH workspace.
Permissions and Security: The plugin runs with the current dsh process privileges and will access the data sources and local models you configured. Before installation, please read the GitHub Repository source code and MIT license, and ensure the link: path is trusted.
Known Limitations (from source materials): Chinese precision is affected by keywords and semantic ambiguity; SPA sites like PubScholar/NCPSSD do not have public JSON search interfaces; the core journal list needs to be maintained manually; arXiv occasional timeouts have been isolated. The community plugin directory SkillHub Entry has no official affiliation with DeepSeek / High-Flyer on GitHub and is a third-party extension within the DSH “Everything is a Plugin” ecosystem.
Conclusion¶
Through the steps above, dsh-paper-digest breaks down “finding good papers daily” into configurable search, explainable scoring, Markdown output, and optional session delivery, making it suitable for daily operation attached to a long-term DSH web profile.
- Catalog Page: https://www.skillhub.cn/plugins/juzikexue/dsh-paper-digest
- Source Code & Full Docs: https://github.com/juzikexue/dsh-paper-digest