raktim-mondol/academic-harness ↗★ 1
academic-harness
提供学术研究配置、科学技能与实验笔记 适合科研人员,需要学术专用子智能体和实验记录工具的用户。
安裝
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:raktim-mondol/academic-harness說明文件
閱讀完整 README ↗academic-harness
Academic Harness as a DeepSeek Harness profile: the DSH web UI and DSH agent, with its scientific skills, living lab notebook, and specialist subagents.
Install
Academic Harness 0.16+ requires DeepSeek Harness 0.2.1 or later. Install DSH first:
npm install -g @deepseek-ai/dsh
dsh --version # should report 0.2.1 or later
Without a global install, npx @deepseek-ai/dsh web also works. You need a working dsh CLI for either installation option below.
Option A — Install from the DSH Web UI (recommended)
-
Start the DSH web UI (
dsh web). -
Open Plugins → Add plugin.
-
Paste one of these into the package field:
Source Paste this GitHub (recommended) github:raktim-mondol/academic-harnessnpm registry academic-harness— not published in v0.16.0; install from GitHub or a local checkoutLocal checkout the absolute path, e.g. /home/you/academic-harness -
Click Install. Academic Harness is installed into the profile you are currently running, enabled by default, and appears under Installed plugins.
-
Start a new chat and confirm the preset selector reads Academic Harness.
The bundle patches the web-app layer, so the profile must already include @deepseek-ai/dsh-web-app; the standard web profile does. A local path must be absolute — the dialog does not expand ~ or resolve relative paths. Installing this way adds Academic Harness to your current profile; use Option B for a dedicated academic-harness profile. DSH only offers Update for its on-demand Official plugins, so update a UI-installed Academic Harness by removing and reinstalling it.
Option B — Install a dedicated profile from the CLI
dsh plugin --profile academic-harness add github:raktim-mondol/academic-harness
This creates the academic-harness profile if it does not exist yet and adds Academic Harness to it. Start it with:
dsh --profile academic-harness
To update this profile later:
dsh plugin --profile academic-harness update academic-harness
For local plugin development, the same command accepts an absolute checkout path:
dsh plugin --profile academic-harness add /absolute/path/to/academic-harness
Run
dsh --profile academic-harness
# or, if you use the shared launcher:
academic-harness
Opens the Harness web UI (typically http://127.0.0.1:3080).
Renamed in v0.16.0
The repo, npm package, plugin, preset, profile, launcher, and product name were renamed from dsh-researchcraft / ResearchCraft to Academic Harness.
| Old | New |
|---|---|
repo / package dsh-researchcraft | academic-harness |
profile researchcraft | academic-harness |
launcher dsh-researchcraft | academic-harness (old command stays as a transition alias) |
preset researchcraft | academic-harness (legacy preset removed) |
| Settings → ResearchCraft API keys | Settings → Academic Harness API keys |
env RESEARCHCRAFT_* | ACADEMIC_HARNESS_* (old names still honored) |
Existing dedicated profile:
node scripts/migrate-profile.mjs --profile researchcraft --to academic-harness --apply
dsh plugin --profile academic-harness install
The migration backs up the old profile, moves the dependency/bundle entries, merges the API-key config into the new entry, updates the preset default, and renames the profile directory. Sessions pinned to the removed legacy researchcraft preset do not resolve; start a new chat on Academic Harness. dsh plugin --profile academic-harness update academic-harness is the new update command.
One DSH surface at a time. dsh-web, dsh-tui, dsh-martty, and academic-harness share $DSH_HOME (including port 3080 and the zvec-grep daemon). Ctrl+C does not always wait for those to exit, so starting another launcher while one is still in the background will fail or pick up the wrong process. The shared launcher (scripts/dsh-launch, installed as those four commands plus the transition alias dsh-researchcraft) stops leftover DSH processes and zg server off before exec. If you invoke dsh --profile … directly, stop the previous one first:
# leftover web UI
ss -ltnp | grep 3080
# leftover zg daemon
zg server off
The Academic Harness profile's bundle patch sets agent-preset-registry default: academic-harness and inserts only preset-academic-harness (DSH 0.2+ no longer reads $DSH_HOME/.agent-presets/). New chats on this profile start on Academic Harness, and the selector lists no legacy preset. Confirm the preset selector at the top of the message box reads "Academic Harness"; if it still says Standard/PTC, the profile patch did not apply.
The persona, the longer research system prompt (notebook discipline, specialist roster, connector guidance, …), academic search (mcp__parallel__*, parallel_search, mcp__firecrawl__*, mcp__scite__*, consensus_search), PaperMemory (mcp__papermemory__*), workspace semantic search (mcp__zvec_grep__zvec_grep_search), and paper_mcp (Paper2Agent stdio mounts) are only present on this preset — a session left on Standard/PTC won't have them, and asking it to use e.g. the Parallel connector will fail with tools[name] is not a function. The general-purpose tools below (notebook, image_generate, sci_inspect, latex_compile, pdf_to_markdown, modal_run/runpod_run, workflow) are available on every preset regardless, since they're registered at the plugin/bundle level rather than inside the Academic Harness preset. Native grep / glob come from the Academic Harness preset's filesystem-search row.
What it adds
-
Academic Harness agent preset — persona, research system prompt (notebook discipline, specialist roster, connector guidance), standard coding tools, and the academic search connectors below. This profile defaults to it — see Run.
-
Scientific skills catalogue vendored into
skills/from open-source catalogues, bundled with the plugin like the specialist briefs below — no separate checkout or setup needed (see NOTICE for exactly what was changed vs. each source):- 140 domain skills (chemistry, genomics/bioinformatics, imaging, stats, ML, writing, …) —
scientific-agent-skills - 16 research-discipline/methodology skills (question framing, pre-registration, verification-before-claiming, red-team review, …) —
science-superpowers - 503 profession-specific expert-reasoning skills (accelerator-physicist, zoologist, actuarial-scientist, …), converted from AGENTS.md profiles —
scientific-agents - 23 small-molecule/protein-therapeutics skills (autodock-vina, retrosynthesis, protein-binder-design, …) —
drug-discovery-agent-skills - a
docx-editor-zoteroskill (edit.docxfiles without breaking Zotero citations) — adapted fromclaude-scientific-writer - an
agentic-data-science-pipelineskill (plan/review/implement/verify/reflect loop for large multi-stage tasks) — adapted fromagentic-data-scientist - a
hyperparameter-optimizationskill (pre-registered, verify-before-claiming search loop for tuning a DL/LLM model) — adapted fromkarpathy - a
scientific-figure-makingskill (publication matplotlib house style + helpers for bars/trends/heatmaps) — adapted fromfigures4papers - a
diagram-designskill (39 editorial HTML+SVG diagram types; no Mermaid slop) — vendored fromdiagram-design - a
generating-scientific-hypothesesskill (literature-grounded hypothesis generation: search-checked novelty, ranked falsifiable cards) — first-party, distilled from Gottweis et al. / Ghareeb et al. 2026 (see NOTICE) - a
paper2agentskill (turn a paper and/or its code repo into a reviewed paper skill and a tested FastMCP server) — vendored fromPaper2Agent— see Paper agents
ACADEMIC_HARNESS_SKILLS_DIR(or a~/scientific-agent-skills/skillscheckout) still works as an override if you want a different catalogue instead — available on every preset; the oldRESEARCHCRAFT_SKILLS_DIRname is still honored as a fallback - 140 domain skills (chemistry, genomics/bioinformatics, imaging, stats, ML, writing, …) —
-
notebooktool — log, read, and export a living lab notebook (JSONL under/.dsh/notebook/), shared across a subagent delegation tree, with a zip-bundle export alongside the plain Markdown one — every preset -
scientific_resulttool — a structured, schema-validated "final finding" card (table or statistical-test), distinct from the notebook's running log — every preset -
Specialist briefs (code-reviewer, literature-researcher, …) for the DSH
subagenttool, plussubagent_proandsubagent_vision— two more delegation tools pinned to a different model for unusually heavy reasoning and image-reading tasks respectively — see Subagent model routing — every preset -
image_generatetool for conceptual scientific figures (Gemini "nano banana" by default) — every preset -
sci_inspecttool for scientific file formats (chemistry, structure, mass spec, arrays, imaging, AnnData) — every preset -
latex_compiletool (.tex→ PDF, bibtex/biber-aware) — every preset -
Academic Harness engine — writing oracle for LaTeX papers, grants, theses, literature reviews, and rebuttals: native
ah_*tools, paper-state card, protected-path guard, post-edit checks, and a gate that settles a writing turn. The engine is vendored inside this plugin (vendor/academic-harness); Pi is not required. Inactive outside a tree withah.yaml— Academic Harness preset only — see Academic Harness engine -
pdf_to_markdowntool (PDF → Markdown, via pdf-inspector) for literature-survey conversion of downloaded papers — every preset -
runpod_run(works with its API key) andmodal_run(needs the optionalmodalSDK installed in the profile) for remote GPU/CPU compute offload, plus bundledmodal/runpodskills covering the rest of each CLI (Serverless endpoints, volumes/secrets, Hub templates, …) — see Remote compute — every preset -
research_templatetool over a ~330-template research-task catalogue (not DSH's Rhaiworkfloworchestrator) — every preset -
Literature and web search: OpenAlex, Semantic Scholar, Crossref, arXiv, PubMed/Europe PMC, Consensus, Parallel, Brave, Tavily, Exa, Perplexity, and Jina Reader (native REST tools), plus Parallel, Firecrawl, and Scite (MCP connectors),
parallel_extract(URL extraction), andpaper_download(Unpaywall open-access PDF resolver) — Academic Harness preset only -
paper_mcptool — register a Paper2MCP stdio server from this workspace (/.dsh/paper-mcps.json) so its tools can appear asmcp____*— Academic Harness preset only — see Paper agents -
PaperMemory local academic memory:
mcp__papermemory__*(search, ingest, cite, cite-check, recap, remember, claim). First Academic Harness start usespapermemoryon PATH or installs the vendored package into~/.dsh/papermemory.paper_downloadauto-ingests the saved PDF. Store:~/.local/share/papermemory/papermemory.db— Academic Harness preset only — see Paper memory -
Workspace semantic search via zvec-grep:
mcp__zvec_grep__zvec_grep_search(local BM25 + vectors). First Academic Harness start installs thezgCLI into~/.dsh/zvec-grep. Indexing is off at session start by default (Settings → Index at session start); you can index later from chat, and the agent asks first when semantic search would help. While indexing, a progress bar with estimated time and Cancel is shown (no timeout) — exact lookup stays on nativegrep/glob— Academic Harness preset only — see Workspace search -
Bundled
agent-browserskill for interactive web browsing (navigate, log in, fill forms, download datasets), with screenshots delegated tosubagent_vision— see Browsing the web — every preset -
A Settings → Academic Harness API keys page for the connectors and models above — no shell env vars required. PaperMemory needs no key.
API keys
Every credential below (PARALLEL_API_KEY, FIRECRAWL_API_KEY, CONSENSUS_API_KEY, SCITE_API_KEY, BRAVE_API_KEY, TAVILY_API_KEY, EXA_API_KEY, PERPLEXITY_API_KEY, JINA_API_KEY, UNPAYWALL_EMAIL, OPENALEX_API_KEY, S2_API_KEY, CROSSREF_MAILTO, NCBI_API_KEY, NCBI_EMAIL, GEMINI_API_KEY, MODAL_TOKEN_ID, MODAL_TOKEN_SECRET, RUNPOD_API_KEY, ZVEC_GREP_API_KEY) can be set two ways:
- Settings → Academic Harness API keys in the DSH web UI — type a key, Save. Persisted in the profile's
settings.yaml; a blank field always means "keep the current value", Clear removes it. - Shell environment variable — takes priority over Settings when both are set.
The same Settings page also has an Image model dropdown for IMAGE_MODEL — not a credential, so it isn't password-masked and applies immediately on selection rather than needing Save (see Image generation). It also has two more model-id dropdowns, Complex-task model (SUBAGENT_MODEL_COMPLEX) and Image-reading model (SUBAGENT_MODEL_VISION) — not credentials either, but these two behave like the MCP connectors below, not like Image model: they need a restart to apply (see Subagent model routing). zvec-grep embedding (ZVEC_GREP_EMBEDDING) is the same restart-needed dropdown: it is passed into zg server on at mount time. Index at session start (ZVEC_GREP_AUTO_INDEX, default No) is live for the next Academic Harness session — no restart (see Workspace search).
Tools that call resolveEnv() per invocation (image_generate, modal_run, runpod_run, consensus_search, parallel_search, parallel_extract, brave_search, tavily_search, exa_search, perplexity_search, jina_read, paper_download, openalex_search, openalex_citations, s2_search, crossref_lookup, arxiv_search, pubmed_search, paper_resolve) pick up a Settings change on the very next call, no restart needed.
The MCP connectors (Parallel, Firecrawl, Scite, zvec-grep, PaperMemory) and the two subagent-model fields are different: the academic-harness agent preset mounts once as a standing composition shared by every chat session for the life of the running dsh process, so a change only reaches them after you stop and restart dsh itself — a new chat session on the same running process is not enough. consensus_search, parallel_search, and the academic database tools aren't MCP connectors — see below — so they don't have this restart requirement.
Also make sure the chat session is actually on the Academic Harness preset. The MCP connectors, native academic-search tools (openalex_search, openalex_citations, s2_search, pubmed_search, arxiv_search, crossref_lookup, paper_resolve, consensus_search, parallel_search, parallel_extract, brave_search, tavily_search, exa_search, perplexity_search, jina_read), mcp__zvec_grep__zvec_grep_search, and mcp__papermemory__* are wired into the academic-harness agent preset only; a session left on the default preset (Standard/PTC/etc.) has none of them, and calling one fails with `t