mechanic-db-search

mechanic-db-search is a skill for Claude Code from zjunlp/Mechanist. It costs 57 tokens per session (8,297 once invoked), scanned A, original, MIT.

A cloud-based paper search tool that finds research papers from multiple databases using detailed search queries.

In plain words
What is it for?
Use it to retrieve papers for research tasks, build source lists, and repeat or parallelize searches when you need broader coverage.
Why use it?
It removes the need to search each paper database separately and helps refine searches when the first results are poor.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; mentions Codex.

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

Good fit Use it to retrieve papers for research tasks, build source lists, and repeat or parallelize searches when you need broader coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zjunlp/mechanist/mechanic-db-search
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 mechanic-db-search
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 54 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 mechanic-db-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/zjunlp/mechanist/mechanic-db-search/github.svg)](https://agentmods.dev/skills/zjunlp/mechanist/mechanic-db-search)
Your own site
<a href="https://agentmods.dev/skills/zjunlp/mechanist/mechanic-db-search"><img src="https://agentmods.dev/badge/skills/zjunlp/mechanist/mechanic-db-search/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 mechanic-db-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/zjunlp/mechanist/mechanic-db-search"><img src="https://agentmods.dev/badge/skills/zjunlp/mechanist/mechanic-db-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,297 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00057 $0.08297
Opus 5 $0.00028 $0.04149
Sonnet 5 $0.00011 $0.01659
Haiku 4.5 $0.00006 $0.00830

Measured 11d ago against content hash 0b4c264ffea4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

mechanic-db-search 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 11d 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/mechanic-db-search/SKILL.md · 509 lines

How it starts

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

mechanic-db-search — Cloud SEARCH Wrapper

Query: $ARGUMENTS

What this skill does

Wrap the cloud-hosted mechanic_database SEARCH service so the Agent can:

  1. Submit a search — preferably as an Agent-built decomposed query JSON that encodes at most one sub-query per database (db choice, closed-enum interp fields, keywords, and an Agent-written HyDE abstract per sub-query).
  2. Receive a paper list (papers[]) and use it downstream.
  3. Iterate: if results are unsatisfactory, refine and call again (up to 3 rounds).
  4. Run multiple calls in parallel when appropriate.

All transport — auth, submit, poll, error handling, writing results to disk — lives in the mechanic-db MCP server (mcp-servers/mechanic-db/server.py), which exposes a single tool, search_papers. The MCP server only forwards the request: it does not validate the decomposition or run any splitter/HyDE itself — query correctness is this skill's job. The heavy retrieval — multi-ranker scoring + fusion, and (in flat mode) the splitter and HyDE generation — runs in the cloud SEARCH service. Call the search_papers tool directly; do not invoke any Python.

Constants

  • TOOL = the search_papers tool on the mechanic-db MCP server. Call it directly; do not invoke any Python.
  • API_KEY — provided to the MCP server via the plugin manifest env mapping (MECHANIC_DB_API_KEY; set as an environment variable in the shell that launches Claude Code, or for Codex the cached mcp.codex.json env). Optional: with no key the service still answers on an anonymous per-IP tier (2 searches/min, 20/day, vs 20/min and 1000/day with a key). An unset key is therefore not a reason to skip this skill.
  • DEFAULT_TOP_K = 300
  • TIMEOUT_SEC = 1200 (one call is typically 3-7 min; allow headroom)
  • MAX_REFINEMENT_ROUNDS = 3

Skip-when-unconfigured contract

What the service searches

ID Scope
interp_db AI interpretability papers (~14k) — neural-network internal mechanisms in LLMs / Transformers / CNNs. Tagged along closed-enum axes (techniques / task_scenarios / abilities / components) plus free-text target_models / model_families.
sciatlas_db All-discipline graph (~157M nodes) — neuroscience, psychology, cognitive science, computer science, biology, physics, chemistry, materials, humanities. Retrieved via semantic similarity + BM25.

Read the full file on GitHub · 509 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. 11d ago First seen · 509 lines · 57 tokens per session scan A 0b4c264ffea4

Subscribe to this mod's changes

mechanic-db-search is a skill published in the GitHub repository zjunlp/Mechanist (74 stars, last pushed 15d ago), licensed MIT. It adds 57 tokens to every session and 8,297 once invoked, about $0.0003 per session on Opus 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-08-30.