/mechanist:mhistoryfrom mechanist
Generates a structured, publication-quality research-history markdown article for a given topic. Uses a cloud database search and WebSearch for foundational and recent work.
Ships in mechanist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Produce a fact-grounded, chronologically clear, classics-plus-frontier development-history article for a given research direction.
/mhistory <topic>./mechanic-db-search skill. The Agent submits an English query per pass; the service then return a paper list./mechanic-db-search twice at the same time — once with temporal_mode=history (5-year buckets, even coverage across eras) and once with temporal_mode=recent (recency-boosted, modern frontier).WebSearch, for two purposes:
/mechanic-db-search does not work properly, both DB passes silently skip (the search_papers tool writes {"papers": [], "skipped": true} to each output) — the article is then built from WebSearch + Claude's own knowledge, and the final markdown explicitly notes "mechanic-db unavailable". topic (free-form text from user)
│
├──┬──► [1a] /mechanic-db-search (temporal_mode=history, top_k=100) ┐
│ │ ├─ launched in parallel
│ └──► [1b] /mechanic-db-search (temporal_mode=recent, top_k=100) ┘
│ → two cached final-JSON files
│
├──► [2] WebSearch × N
│ - history gap-fill ("<topic> seminal paper", "<topic> foundational work pre-2018", …)
│ - Last-1–6-months gap-fill ("<topic> arxiv 2026", "<topic> latest", …)
│
└──► [3] Claude (this session) synthesises markdown and writes it to disk
<topic> from the user's request (free text, Chinese or English)._, strip punctuation). Pure bash works:
SLUG=$(echo "<topic>" | tr '[:upper:]' '[:lower:]' | tr -c 'a-z0-9' '_' | sed -E 's/_+/_/g; s/^_+|_+$//g')
mkdir -p mechanic_db_cache.Craft one polished English query that names the topic + key sub-fields (≤80 words). The same query string is used for both passes; only temporal_mode differs.
Retrieval goes through the search_papers MCP tool (mechanic-db server) — see /mechanic-db-search for the full contract. Issue both passes as two parallel tool calls in a single turn (the tool blocks ~3-20 min each; running them concurrently halves the wait). Each call writes its full result JSON to an absolute output path (run pwd once to get <ABS_PWD>):
# Pass 1a — history arc
search_papers:
output: <ABS_PWD>/mechanic_db_cache/<SLUG>__hist.json
query: <the polished English query>
temporal_mode: history
top_k: 100
# Pass 1b — recent frontier
search_papers:
output: <ABS_PWD>/mechanic_db_cache/<SLUG>__recent.json
query: <the polished English query>
temporal_mode: recent
top_k: 100
Use the WebSearch tool. Fire 2–4 queries per purpose:
history gap-fill (find canonical references, anchor the timeline)
"<topic>" seminal foundational paper before 2020"<topic>" history review surveysite:arxiv.org or site:aclanthology.org.Last-1–6-months gap-fill (cover the DB's indexing blind spot)
"<topic>" arxiv 2026 / current year"<topic>" latest 2025 2026Assemble the returned (title / authors / year / URL / snippet) into a short markdown block in context — no need to write it to disk.
If WebSearch fails or is unavailable, skip this step and rely on DB retrieval + Claude's own knowledge. But the final markdown must explicitly state "WebSearch unavailable".
Write the article in this session. Material preparation:
"skipped": true. Merge the surviving papers lists, dedupe by paper_id. Keep every paper's title / year / cited_by_count / abstract / doi / authors.[Web].Persona. You are a senior research scholar writing a thorough development-history article for a research community. You combine your own broad knowledge of the literature with the curated set of supplementary papers the user has provided. Your output is rigorous, chronologically organised, and cites specific paper titles only when supported.
How to use the supplementary paper bundle. The bundle (DB + Web) is supplementary, not authoritative:
- It is generated by a retrieval pipeline that may have missed relevant papers. There will be canonical works absent from the bundle that you must add from your own knowledge.
- It may include borderline / peripheral papers that aren't truly central. Use your judgement — cite a paper from the bundle only when it actually deserves to be cited.
- The bundle gives you exact titles, authors, years, DOI / arXiv URLs you can quote verbatim. Whenever you would otherwise paraphrase a citation, prefer the bundle's exact form.
- Treat
[Web]-tagged entries as part of the same bundle, but track their origin in the citation list.Required structure. Organise the article by chronological eras or thematic phases (your choice; pick whichever best captures the field). Within each era / phase:
- Trace the evolution of ideas: what problem was being solved, what breakthrough enabled the next phase, what limitation forced researchers to a new approach.
- Cite specific papers with
title (first-author surname, year). When citing from the bundle, prefer the bundle's exact title.- Include both classical foundations (pre-2020 if applicable) and 2024–2026 frontier work.
- If the topic has multiple research lines, cover them in parallel; do not collapse everything into a single narrative thread.
Anti-patterns to AVOID.
- Listing only papers from the bundle — your own knowledge of the field must drive the narrative; the bundle just supplies citation precision.
- Over-relying on the bundle's most-cited papers — recency and conceptual novelty matter as much as citation count.
- Inventing paper titles. If you're unsure of a title, paraphrase the contribution and omit the citation.
- Generic survey-style writing. Be specific about what each paper showed, not just that it exists.
Output format.
- Markdown. Use
#/##/###for structure.- Target length 2500–4500 words.
- End with a "Tensions and Open Questions" section covering live debates and unresolved problems in this area as of 2025–2026.
- Suggested skeleton (adapt freely as long as the above requirements hold):
# <topic> ## TL;DR ## history arc (organised by era / thematic phase) ## Contemporary landscape (2023–2025) ## Frontier (last 1–6 months — mark each item as [DB] or [Web]) ## Tensions and Open Questions ## References ([DB] and [Web] sections, with DOI / arXiv URL)
development_history.md.Input: a free-text topic (Chinese or English), optional slug.
Output files:
mechanic_db_cache/<slug>__hist.json (cached cloud-service result for the history pass; may be {"skipped": true})mechanic_db_cache/<slug>__recent.json (cached cloud-service result for the recent pass; may be {"skipped": true})development_history.md ← the deliverableWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub zjunlp/mechanist --plugin mechanist36 skills in this plugin
/ablation-plannerUse when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission. The external LLM reviewer (via llm-chat MCP) designs ablations from a reviewer's perspective, CC reviews feasibility and implements./analyze-resultsAnalyze ML experiment results, compute statistics, generate comparison tables and insights. Use when user says "analyze results", "compare", or needs to interpret experimental data./arxivSearch, download, and summarize academic papers from arXiv. Use when user says "search arxiv", "download paper", "fetch arxiv", "arxiv search", "get paper pdf", or wants to find and save papers from arXiv to the local paper library.Other plugins' skills for the same job