Preface¶
When conducting dialogues related to history, classical literature, classical texts, or digital humanities within DeepSeek Harness (DSH), common issues include: the model tends to speak in generalities, lacking verifiable sources from papers and classical texts, and struggles to organize responses according to specific divisions of labor such as textual criticism (collation), philology (glossing), and translation. General-purpose agent plugins are mostly oriented towards computer science or generic tasks and lack ready-made wrappers for links like Crossref, Chinese Wikisource, and Wikidata.
dsh-literature-agents (maintained by yujh129) is a Workflow category entry in the DSH community plugin directory, targeting DSH 0.2.1-rc.2 and above (see the dsh.engines declaration in the package). It provides a Host bundle and a Web client module: 9 literature tools, 11 expert subagents in literature and history, 3 review panels, and a “Classics” toggle in the input area to enable or disable the full suite of capabilities per conversation. The running mode follows @michengai/dsh-agency-agents: injected via cordis.patch.yml, registering model-side tools and system prompts, with expert subagents activated via ctx.subagents.startActivation().
What is this¶
The plugin’s full name is dsh-literature-agents, with the current release version being 1.0.0 and licensed under MIT. In one sentence: It integrates traceable literature retrieval, classical text reading and translation, and citation verification into DSH sessions, allowing for the summoning of domain expert subagents and parallel review panels.
Retrieval tools include a “Data Source: … ✓/✗ (Reason)” line in their output; when upstream fails, they degrade gracefully and explain the reason rather than fabricating results.
Nine Literature Tools¶
| Capability | Tool Name | Primary Data Source |
|---|---|---|
| Paper Retrieval | search_scholar_papers |
Crossref, OpenAlex, web search fallback |
| Scholar Biography | get_scholar_biography |
Wikidata (attribute-level tracing) + OpenAlex works |
| Classic Text Retrieval | search_classic_texts |
Chinese Wikisource full-text search |
| Classic Text Reading | get_classic_text |
Chinese Wikisource page content |
| Classic Text Translation | translate_classic |
Modern/English translation by translation expert after searching parallel texts/old commentaries |
| Citation Verification | verify_citation |
Crossref DOI, title similarity |
| Expert Summoning | summon_literature_expert |
11 literature and history expert subagents |
| Review Panel | run_literature_panel |
3 parallel review panels |
| Expert Roster | list_literature_experts |
Lists experts, domains, and review panels |
Expert Subagents and Review Panels¶
11 Experts (5 Domains)¶
- History & Figures: Historiography expert
historiographer, Scholar biographical research expertbiographer - Textual Criticism: Textual critic
textual-critic, Bibliographerbibliographer, Philologistphilologist - Classic Translation: Classic translator
classics-translator, Commentary expertscholia-expert - Literary Research: Literary critic
literary-critic, Comparatistcomparatist - Digital Humanities & Verification: Digital humanist
digital-humanist, Academic auditorcitation-auditor
3 Review Panels¶
- Classics Research Panel
classics-research-panel: Bibliography, Collation, Philology, Commentary - Literature Review Panel
literature-review-panel: Historiography, Literary Criticism, Comparative Literature, Citation Verification - Translation Review Panel
translation-review-panel: Translation, Old Commentaries, Philology, Citations
Review panels only return independent opinions from each member; the main conversation is responsible for verifying evidence, deduplication, and delivering a summary based on severity levels.
Skills and Research Protocol¶
skills/literature-research/SKILL.md is mounted by the second Host line (@deepseek-ai/dsh-skill-filesystem) in the patch. Its content covers hierarchical retrieval, factual discipline, biographical research, classical text reading, translation standards, and citation verification checklists. @deepseek-ai/dsh-skill-filesystem is provided by the host @deepseek-ai/dsh-base; the plugin only mounts it by module name in the patch and does not re-declare it in peerDependencies to avoid a second copy of an old version appearing in the profile and shadowing the host’s built-in module.
Installation and Activation¶
The plugin runs with the current DSH process permissions. It is recommended to read the repository source code and the MIT license before installation. Community directory page: https://www.skillhub.cn/plugins/yujh129/dsh-literature-agents.
From the Plugin Market (dsh-market)¶
Search for Literature & Classics Agents in dsh-market to install; the target is this repository:
dsh plugin add github:yujh129/dsh-literature-agents
If the Windows desktop version prompts that dsh cannot be recognized, you can use the full path to resources\runtime\cli\bin\dsh.cmd in the installation directory, or add that bin to the PATH.
You can also have the agent call it in the current session:
plugin_manager install_bundle target="github:yujh129/dsh-literature-agents"
Installation writes to the profile’s dsh.profile.bundles and hot-loads. If it has been disabled, you can enable it again:
plugin_manager set_bundle target="dsh-literature-agents" enabled=true
Once effective, you will see the 9 tools, skills, and the “Classics” toggle in the input area in a new session or the next model step.
Local Development and Uninstallation¶
Install from the source directory (replace the path with your local absolute path):
plugin_manager install_bundle target="<absolute path to this repository>"
Uninstall:
plugin_manager remove_bundle target="dsh-literature-agents"
Input Area “Classics” Toggle¶
There is a “Classics” toggle (conversation.input.left, id literature-toggle) in the tool row to the left of the input box:
- On (Brand color dot): All 9 literature tools are callable in this conversation, and the system prompt includes expert guidance.
- Off (Gray dot): Hides the 9 tools via
tools.restrict({deny})in the Agent context of that session and removes the expert guidance section; other conversations are unaffected. Skills remain in the directory, but no tools can be called.
The state is saved by SessionId in ~/.dsh/dsh-literature-agents/toggles.json (DSH_HOME takes priority) and persists after restart; new conversations default to on. The switch takes effect immediately for that session; if a turn is currently generating, it takes effect from the next model step. This is a user-specific operation; the model cannot switch it itself.
Configuration Options¶
You can set the following in the bundle configuration of the profile:
- id: literature-agents
name: dsh-literature-agents
config:
provider: spawn # Subagent provider; defaults to spawn, falls back to any non-fork provider if missing
maxDepth: 1 # Summoned experts can delegate at most one more layer; automatically omitted if provider does not support it
Typical Usage (Conversation Side)¶
The README does not provide fixed conversation scripts. You can ask questions naturally according to tool responsibilities after enabling the “Classics” toggle, for example:
- Use
search_scholar_papersto query papers on a topic, then useverify_citationto verify the DOI or title for key entries. - Use
search_classic_texts/get_classic_textto locate and read original texts. When modern or English translation is needed, calltranslate_classic. - When multi-angle opinions are needed, use
list_literature_expertsto view the roster, thensummon_literature_expertorrun_literature_panelto solicit parallel opinions from review panels.
The main conversation should synthesize the data source lines returned by tools and evidence itself. Do not treat the output of review panels as a final deduplicated draft.
Network Dependencies and Notes¶
- Required: Crossref, OpenAlex, Wikidata, Chinese Wikisource.
- Optional: Host web search (e.g.,
dsh-free-search), used only for fallback and clues. - The README notes that sources that were found unreachable locally in testing and do not participate in the main chain include zh.wikipedia.org, ctext.org, Semantic Scholar, Gutendex, etc.; Wikidata may appear
403 Too Many Reqson shared IPs. The plugin performs three backoff retries for 403/429; if it still fails, it degrades truthfully and provides web clues.
The plugin is categorized as Workflow; the GitHub repository currently has 1 star. The DSH community plugin directory (such as skillhub.cn) is an independent listing site and has no official affiliation with DeepSeek / High-Flyer.
Links¶
- Directory Page: https://www.skillhub.cn/plugins/yujh129/dsh-literature-agents
- Source Code and Full Description: https://github.com/yujh129/dsh-literature-agents