Preface¶
In DeepSeek Harness (DSH), conducting research often involves using multiple skills and creating multiple sessions. However, the main thread of the paper, verifiable conclusions, and evidence are often scattered throughout the conversation. It is difficult to judge “which conclusions have you already confirmed” before assigning execution tasks. dsh-science-plugin (maintained by SPYfighting) is a workflow-type plugin in the DSH ecosystem: it collects research questions, Results (research findings), Claims (assertions), Evidence, and team tasks into a project-isolated structured state, and projects this onto the input box’s skill bar, session state cards, and the right sidebar. This allows you to continue advancing your topic in natural language while the plugin remembers the main thread and guards the confirmation gate.
Below, we explain how to use it regarding positioning, capabilities, installation, first-time usage, and data/safety. Installation commands and version requirements are taken from the project README and package.json.
What is this¶
dsh-science-plugin is a research plugin for the DSH Web client (npm package name dsh-science-plugin, current version 0.14.0). It does not replace your judgment; instead, it binds “verifiable results + confirmed revisions + team assignments” to the same state structure. The Result, Claim, and Evidence in the interface use fixed data structure names—research results are supported by verifiable claims and evidence, and confirmation operations bind to the current revision; content must be re-confirmed after changes.
Community directory page: skillhub.cn plugin entry. Source code and documentation: GitHub SPYfighting/dsh-science-plugin. License: MIT.
Core Capabilities and Interface Entry Points¶
The plugin breaks down the research workflow into several fixed entry points, facilitating operations within the conversation and overviews in the sidebar.
| Entry Point | Purpose |
|---|---|
| “Research” skill bar above the dialogue input box | Displays the current project, stage, and pending confirmation count; provides buttons for starting exploration, organizing existing results, literature review, plotting, writing, and reporting. Clicking fills the native input box with skill references and prompts (does not auto-send), which you complete and send. |
| Session state card in chat turns | After an AI calls research tools, this collapsible section below the answer shows what objects changed in this turn, which tool was used, and if anything is pending confirmation. |
| Confirmation Card (Action Card) | Core conclusions and Result confirmations are initiated via DSH native Action Cards. Loads @deepseek-ai/dsh-action-cards and @deepseek-ai/dsh-client-ui-action-cards, versions matching the current DSH runtime. Confirmation binds project revision, object revision, and content hash (expectedHash); old cards become invalid if the target object is changed. |
| Right sidebar “Research Status” | Pending (unconfirmed/blocked) -> Main Thread of Paper -> In Progress -> Results -> Common Skills; Results only display summaries of key figures registered for the current project. |
| Left sidebar “Science Workbench” | A secondary overview of the main thread, team progress, figures & results, expert configuration, etc., used for relationship graphs, dependency graphs, and config checks; not a mandatory entry point for starting research. |
Regarding capabilities, the README and package description also cover: paper blueprint (blueprint) toolchain, literature and writing related skill entries, figure pre-check, database connections (dependencies include mysql2, postgres), and SSH remote computing (credentials are not written into project state). Before formal dispatch, the server enforces a mandatory check on “whether core and target Results are confirmed” (dispatch gate).
The design references community solutions like team agents and paper evidence organization; the implementation of the main trunk of paper evidence in this plugin is independent of those repositories and is not a branch or runtime dependency of them (see README “Design References”).
Installation and Enablement¶
Environment Requirements: DeepSeek Harness >=0.2.0 <0.3.0 (The README specifies the current build is based on the DSH 0.2.2-rc.3 client service interface and Action Cards combination).
Install using the DSH official plugin command (choose one):
dsh plugin --profile web add dsh-science-plugin
dsh plugin --profile web add github:SPYfighting/dsh-science-plugin
After installation, restart the corresponding DSH configuration. To open it: simply chat normally in a session—the appearance of the “Research” skill bar above the input box indicates the plugin is loaded. The right sidebar “Research Status” allows “View All Projects”, listing summaries of topics in the current workspace; opening a topic switches to the bound root session. The left sidebar “Science Workbench” opens as needed.
The plugin runs with the permissions of the current DSH process; it is recommended to read the repository source code and MIT license before installing and confirm that the local DSH version falls within the engines.dsh range.
Typical Usage (First Session)¶
The reproducible flow provided in the README is as follows.
- Create a new session and simply say “I want to research…”. When there is no project, the skill bar displays a lightweight start card (Start exploration / Organize existing results / Connect existing project). Writing a research question, core, or Result creates a project; just viewing cards, clicking skills, or normal chatting will not create an empty project.
- Write state within the dialogue: The AI calls research tools (e.g.,
sci_blueprint_set,sci_result_add, etc.) to write the research question, Result, and evidence into the project state; the cards update with the persistent state. - Confirm before dispatch: Before dispatching formal execution tasks, the current revisions of the core and all target Results must be confirmed (via Action Card or the right sidebar button); this gate is forcibly recalculated by the server before dispatch.
- Team permissions: Regular members (sub-agents) can only submit proposals and task reports; only the captain/root can integrate them into paper semantics. Regular forks and parent projects use write-time copy isolation.
- Migration from old versions: Upgrading a user’s old global JSON (e.g.,
blueprint.json) will not auto-migrate; the right sidebar and tools provide read-only import (sci_blueprint_import_legacy, supports preview), and the original file is retained as a read-only backup.
See the repository documentation for a more complete team collaboration example: Research Team Collaboration Example.
Data Storage, Configuration, and Security¶
State Store: Project state is saved in $DSH_HOME/dsh-science/science-state.sqlite (Node built-in SQLite, WAL + Foreign Keys + Parameterized statements); writes advance revision, audit, and change notifications within the same transaction.
Optional Configuration $DSH_HOME/dsh-science/config.json:
{
"falsificationThreshold": 2,
"blockedGate": "warn"
}
Boundary Notes (excerpt from README): Phases (explore/frame/execute/…) are mostly descriptive context; formal dispatch only validates explicit ResultId and confirmation status; figure pre-check only checks observable properties and does not constitute a guarantee of journal acceptance; skills (role extensions) require approval from the host for each installation, and runtime dependencies and data licenses need separate confirmation.
Security: The database is read-only by default, and write operations require approval; SSH credentials are read via DSH credential references or environment variables, not entering the science workspace or project state; file interfaces are limited to the allowed workspace. When involving unpublished data, patient information, or licensed materials, confirm data boundaries before calling external APIs.
Applicable Scenarios and Notes¶
Better for: Developers who need to do project-based research in DSH, need to string “Claim - Evidence - Result” and team dispatch into a verifiable main thread, and want to operate in the chat while viewing blocked items and result summaries in the sidebar.
Notes to be aware of:
- DSH community directories (like skillhub.cn) are independent sites with no official affiliation with DeepSeek/Fanshu; the plugin is not a special channel outside the DSH built-in app store one-click official package, it is still a third-party plugin that you review and install yourself.
- Confirmation and revision are strongly bound; changing content requires re-confirmation to avoid mistakenly thinking old Action Cards are still valid.
blockedGate,falsificationThreshold, etc., only take effect ifconfig.jsonexists; do not fabricate configuration items not appearing in the documentation.
Conclusion¶
dsh-science-plugin brings research dialogue, structured Result/Claim/Evidence, native confirmation cards, and team dispatch gates into one workbench: clear installation commands, entry points dominated by the “Research” skill bar and “Research Status” sidebar, and state stored locally in SQLite. If you want to see more about architecture and specs, you can read the repository’s Functional Specification (starting at §24 is dialogue-first architecture).
- Directory page: https://www.skillhub.cn/plugins/SPYfighting/dsh-science-plugin
- GitHub: https://github.com/SPYfighting/dsh-science-plugin