Introduction¶
The philosophy behind DeepSeek Harness (DSH) is “everything is a plugin.” Many developers package their frequently used tools as plugins, load them into the DSH sidebar, and unify entry points and permissions. But for a plugin to truly work in practice, it needs to solve two problems: first, aggregating scattered information into a single workspace; second, standardizing the screening and reading workflow to reduce the cost of manual judgment.
Literature Lab is exactly such a workspace plugin. It ingests newly published papers through multiple channels, applies three layers of AI-driven filtering—abstract assessment, preliminary screening, and deep reading—and then organizes the papers worth reading into cards, retrieves the full text, and automatically imports them into Zotero.
Plugin Positioning¶
Literature Lab is a workflow plugin for DeepSeek Harness, maintained by luojiahao-cn. Its core value proposition: compress dozens of new references each day down to two or three that are truly worth reading, with an explanation of “why it’s worth reading” right alongside.
Core Features¶
One Pipeline, Three Actions¶
- Harvesting: Collects new papers from multiple channels—including arXiv categories, journal RSS feeds, cross-database search, PubMed, preprints, and email alerts. Applies keyword-based deduplication and filtering to build a candidate pool.
- Assessment: For each paper, executes a three-layer judgment: “read abstract → preliminary screen → deep read.” Each layer provides its reasoning and assigns a grade (S/A/B/C/D). The grade answers “is this paper useful for the current research work?” regardless of journal prestige.
- Reading: For deep-read papers, automatically retrieves the full text, generates a research card (problem / method / evidence / limitations / reproducibility notes) and 2–3 key figures, and imports into Zotero once the threshold is met.
Harvesting: Seven Channels, One Dashboard¶
Supported channels include: arXiv, RSS subscriptions, cross-database search, PubMed / Europe PMC, DBLP, bioRxiv / medRxiv, and email alerts (Google Scholar alerts).
On the Radar page you can see a 7-day harvesting overview: the proportion entering the AI queue versus filtered out by keywords, auto-harvest toggles, research interest configuration, channel health status, and per-round harvesting records (items fetched, failed channels and reasons).
Research interests are configurable: core keywords, auxiliary keywords, exclusion keywords, journals / authors / categories, and a minimum score. You can also let AI scan your Zotero library and automatically summarize keywords.
Reading: Cards First, Full Text Beside¶
The Reading page organizes papers into columns: Pending / Read / Skimmed / Cards / Zotero. Each row displays: recommendation rationale, abstract, and AI-selected figure.
Clicking “Deep-Read Card” expands the full research card; clicking “Full-Text PDF” opens the original directly. Each row answers three questions: why it’s worth reading, what problem the paper addresses, and what the figures look like.
Grading System¶
| Grade | Meaning |
|---|---|
| S | Directly hits a core problem and is irreplaceable; would define architecture, key experiments, or the paper’s main claims |
| A | Directly corresponds to a core problem; would change model / experiments / hardware / argumentation; requires repeated revisits |
| B | Highly relevant; offers transferable methods, baselines, or data that can influence a decision |
| C | Background, terminology, local methods, common baselines |
| D | After full comparison, confirmed no information increment, or the core claims have evidence issues affecting applicability |
Grades can be overridden in the lower two tiers (C/D); each override must record a reason. Manual overrides take priority over AI, and subsequent automated runs will not overwrite them.
Three Assessment Layers¶
| Layer | Required Input | Cost | Output |
|---|---|---|---|
| Read Abstract | First-hand abstract | One lookup per paper | Domain fit, specific increment, applicability, preliminary grade |
| Preliminary Screen | Full-text content | Read 2–3 pages | Deep-read / skim / skip / missing PDF, with grade reassessed based on current evidence |
| Deep Read | Full text | Heaviest | Final grade, method / evidence / limitations / reproducibility notes, Markdown card with 2–3 key figures |
If the abstract cannot be retrieved, the system will not force a judgment. It records the reason and leaves the paper in place, waiting for the next cycle or a manual PDF upload.
Interface & Pages¶
The plugin provides five pages:
- Overview: Shows pending items, counts for Pending / Read / Cards / Zotero, and the few papers you should read today.
- Radar: View harvesting sources and missed-collection reasons, adjust research interests, toggle channels, trigger immediate harvesting, and review harvesting logs.
- AI Analysis: View queue sizes at each stage, pending manual work, today’s quota usage and backlog distribution; run assessment / preliminary screen / deep read; override grades, supplement PDFs, and inspect backlogs.
- Reading: Browse readable papers, read cards, open full-text PDFs, mark as read / skimmed, and export Markdown.
- Settings: Configure global parameters including assessment quota and prompts, full-text retrieval, Zotero integration, and system parameters.
Automation & Quotas¶
- Auto-Harvesting: On the Radar page under “Harvest Settings,” set the toggle and daily schedule. At the scheduled time, only harvesting runs.
- Post-Harvest Auto-Analysis: An independent toggle in the same location, off by default. When enabled, assessment / preliminary screen / deep read run according to daily quotas.
- Immediate Harvest: Harvests only; does not consume AI quota. Results go into the harvesting log.
- Daily Quota (Settings → Assessment): Defaults are 30 abstract reads / 6 preliminary screens / 3 deep reads / 6 open-access PDF downloads. Setting 0 disables that tier.
- Harvest Window (Settings → Harvest): Default is the last 48 hours. Older content is not auto-backfilled; use the agent tool
literature-lab_corpuswith harvest / snowball for retrospective collection (not available in the UI).
Shared State with the Agent¶
Every judgment and operation in the UI has a corresponding tool, and you can also ask the agent in conversation to perform these tasks:
literature-lab_state: Read papers by layer; return a full record for a given idliterature-lab_fetch_metadata: Retrieve first-hand abstracts (DOI → OpenAlex / Crossref, arXiv, title matching)literature-lab_set_stage: Advance the layer, write the three questions and grade (reason is mandatory)literature-lab_download: Retrieve full text (open access → publisher template → landing page → institutional session); failures categorized into seven reasonsliterature-lab_search/literature-lab_ingest: Search and enqueue / manual list ingestionliterature-lab_corpus: Retrospective corpus, candidates, promotion, email, full text, manual bypass to preliminary screenliterature-lab_zotero: Zotero read, keyword suggestions, importliterature-lab_set_keywords: Write research interest keywordsliterature-lab_discover: Trigger one round of harvesting
A typical usage is asking the agent to “read through everything graded A today and give me research cards”—it reads the same state, and the UI updates in sync.
Data & Privacy¶
- Paper states, configurations, full texts, and key figures all reside in the local plugin directory:
state/(JSON and figures),pdfs/(PDFs). - The Zotero API key is stored in DSH’s own credential service; it is never logged or included in tool responses.
- The plugin does not log in, does not export cookies; it only fetches public metadata (arXiv / OpenAlex / Crossref, etc.).
- The browser extension only uses the current logged-in Chrome session; it neither reads nor uploads cookies.
- The local PDF bridge binds only to
127.0.0.1; import requests must includex-dsh-token(frombridge.tokenin the plugin’sstate/config.json).
Browser Extension (Optional, for Fetching Publisher PDFs)¶
extension/ is a local Chrome extension that can download publisher PDFs within an authorized browser session.
- Open
chrome://extensionsand enable Developer mode; - Click “Load unpacked extension” and select the
extension/folder in this repo; - In the extension options, enter the “bridge token,” which is the value of
bridge.tokenin the plugin’sstate/config.json; - On the article page, click the extension icon. The PDF and
.jsonwill land in~/Downloads/papers/; the extension calls the local bridge withx-dsh-token; - The plugin also monitors that directory as a fallback.
For publishers that don’t support auto-download (e.g., some IEEE pages), this is the most convenient route.
Institutional Access (Optional)¶
Under Settings → Full Text → Institutional Access, you can configure three items: mode (EZproxy / WebVPN / CARSI), the login format provided by your institution, and the institutional domain. Then paste your already-logged-in browser Cookie into the “Session Cookie” field and save.
The “Self-Check” button in the bottom-right corner lets you test with an article page on the spot, telling you directly whether it “can retrieve the PDF” or “requires login / was blocked / opened a landing page.”
The corresponding configuration fields include:
mode: One of three—ezproxyrewrites and encodes via a template;webvpnuses your own regex rewrite (webvpn.pattern/webvpn.replacement);directonly attaches the Cookie for hosts ininstitutionalHosts(this is how it’s used after CARSI / Shibboleth login).ezproxy: Thetemplatefield, e.g.,https://ezproxy.yourschool.edu/login?url={url}.institutionalHosts: A list of institutional domains, e.g.,["sciencedirect.com", "ieeexplore.ieee.org"].browserSession:userAgent,cookieSecret, where the value ofcookieSecretisDSH_LITERATURE_LAB_INSTITUTIONAL_COOKIE.
The Cookie is stored in the local credential service (DSH_LITERATURE_LAB_INSTITUTIONAL_COOKIE); it is never written to config or committed to the repository. Cookies are only sent to institutionalHosts or institutional domains matched after rewriting, never to unrelated sites.
When retrieval fails, check the reason first: paywalled means the session didn’t take effect or you lack a subscription; blocked means anti-scraping intervened; not-pdf means a landing page was opened. Each reason includes a suggested next step.
Known Limitations¶
- Translation is not built into the plugin: Translation goes through a separate PDF translation workflow.
- Publisher PDFs: The automated pipeline covers open access, official publisher templates, landing-page discovery, and optional institutional sessions; pages blocked by anti-scraping require the browser extension or manual download.
- Undoing Zotero imports: Not yet implemented; after import, manage within Zotero.
- List pagination instead of virtual scrolling: 20 candidates per page; papers load in batches.
Installation & Activation¶
Install with the following command (replace desktop with your actual profile name):
dsh plugin --profile desktop add dsh-literature-lab
After installation, fully quit DSH and restart. A “Literature Lab” entry will appear in the left sidebar.
Local development version:
dsh plugin --profile desktop add /path/to/dsh-literature-lab
First Launch: Configuration Check¶
When you open the plugin, a configuration checklist appears at the top of the Settings page. The pipeline will run automatically once all four items are complete:
- Research interests: At least one core keyword, or let AI summarize from your Zotero library
- Channels: At least one source enabled
- Zotero authorization + auto-import: Optional; authorization is required before importing
- Model key: DSH already has an available model
Typical Workflow¶
- On the Radar page, configure research interests (core keywords, auxiliary keywords, exclusion keywords, etc.) and enable at least one harvesting channel.
- On the Overview page, review pending items and the papers you should read today, then enter the reading queue.
- On the Reading page, for each paper review the recommendation rationale, abstract, and AI-selected figure; choose to open the deep-read card or full-text PDF.
- On the AI Analysis page, run assessment / preliminary screen / deep read, override grades, supplement PDFs, and inspect queues and backlogs at each stage.
- Once assessment quotas and harvest windows are set, the plugin will auto-harvest at the scheduled daily time and run assessments according to quotas after harvesting.
- For papers graded A, you can ask the agent to “read through everything graded A today and give me research cards.” It reads the same state, and the UI updates in sync.
- Once the deep-read threshold is met, full texts are automatically imported into Zotero; cards are saved in the
state/figures/directory.
Use Cases & Notes¶
Literature Lab suits researchers who need to track a large volume of papers daily and want to standardize their screening and reading workflow. If you already use Zotero, it will automatically import organized cards and full texts, reducing manual curation effort.
The plugin runs with the permissions of the current dsh process. Before installing, it is advisable to review the source code and license (MIT). All data, full texts, and key figures are stored in the local plugin directory and are never uploaded to any remote server.
In Closing¶
Literature Lab integrates paper discovery, abstract assessment, deep-read filtering, and Zotero import into a single pipeline, making it possible to “compress dozens of new references each day down to two or three worth reading.” For more details and configuration options, refer to the directory page and the GitHub repository.
Ecosystem Context¶
DSH’s philosophy is “everything is a plugin.” The community directory (SkillHub) is an independent plugin registry with no official affiliation to DeepSeek or High-Flyer. This plugin is simply one among many, maintained by a community developer.