mhistory

mhistory is a skill for Claude Code from zjunlp/Mechanist. It costs 114 tokens per session (2,242 once invoked), scanned A, original, MIT.

A tool for writing a chronological history of how a research topic developed. It searches a research database and the web for older foundational work and newer papers, then combines the findings.

In plain words
What is it for?
Use it to produce a publication-style development history, survey, or timeline for a research direction.
Why use it?
It reduces the effort of finding both the early work and the current frontier, which may be missed by a single search source.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mechanist plugin — 85 skills, 4 agents shipped together

Good fit Use it to produce a publication-style development history, survey, or timeline for a research direction.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zjunlp/mechanist/mhistory
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zjunlp/Mechanist --skill mhistory
Clone the repo
git clone --depth 1 https://github.com/zjunlp/Mechanist

Made for: Claude Code.

Or install mechanist, the plugin that ships this one along with the rest of its 85 skills, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mhistory

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjunlp/mechanist/mhistory/github.svg)](https://agentmods.dev/skills/zjunlp/mechanist/mhistory)
Your own site
<a href="https://agentmods.dev/skills/zjunlp/mechanist/mhistory"><img src="https://agentmods.dev/badge/skills/zjunlp/mechanist/mhistory/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mhistory

Your own site · 80×15
<a href="https://agentmods.dev/skills/zjunlp/mechanist/mhistory"><img src="https://agentmods.dev/badge/skills/zjunlp/mechanist/mhistory.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.02242
Opus 5.5 $0.00046 $0.00897
Sonnet 5.5 $0.00023 $0.00448
Haiku 4.5 $0.00011 $0.00224

Measured 2mo ago against content hash 3c0fb2c7acf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mhistory scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/mhistory/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Research Development-History Generator

Produce a fact-grounded, chronologically clear, classics-plus-frontier development-history article for a given research direction.

When to trigger

  • The user asks for "a development history of X", "trace the evolution of X", "how X got to where it is today", or an equivalent request phrased in another language.
  • The user explicitly invokes /mhistory <topic>.

Core principles

  1. Retrieval goes through the cloud SEARCH service via the /mechanic-db-search skill. The Agent submits an English query per pass; the service then return a paper list.
  2. Two-track retrieval, run in parallel: launch /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).
  3. Web supplementation with WebSearch, for two purposes:
    • history gap-fill: the DB may miss some foundational work.
    • Frontier gap-fill: DB indexing lags; arXiv work from the last 1–6 months is usually absent.
  4. Graceful degradation: If /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".

Pipeline

   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

Read the full file on GitHub · 151 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 151 lines · 114 tokens per session scan A 3c0fb2c7acf2

Subscribe to this mod's changes

mhistory is a skill published in the GitHub repository zjunlp/Mechanist (82 stars, last pushed 2d ago), licensed MIT. It adds 114 tokens to every session and 2,242 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-16.

Related

mhistory compared with skills from other repositories

mhistory next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mhistoryzjunlp/MechanistSkill822d agoMITA114Claude Code
nanoresearch-writingOpenRaiser/NanoResearchSkill1.3k1mo agoMITA17Claude Code, Codex
nanoresearch-experimentOpenRaiser/NanoResearchSkill1.3k1mo agoMITA15Claude Code, Codex
nanoresearch-ideationOpenRaiser/NanoResearchSkill1.3k1mo agoMITA14Claude Code, Codex
scienceworld-measurement-takerzjunlp/SkillNetSkill1.5k28d agoMITA81Claude Code, Codex
scienceworld-object-selectorzjunlp/SkillNetSkill1.5k28d agoMITA79Claude Code, Codex
scienceworld-threshold-evaluatorzjunlp/SkillNetSkill1.5k28d agoMITA69Claude Code, Codex