Agent skill

Mesh Terms Guide

by wentorai in wentorai/research-plugins

Navigate MeSH vocabulary for precise PubMed and MEDLINE searches

MITAuto-check passedResearch & Science

Install Mesh Terms Guide

skills CLI
$ npx skills add wentorai/research-plugins --skill mesh-terms-guide -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install wentorai/research-plugins mesh-terms-guide --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/literature/search/mesh-terms-guide .claude/skills/mesh-terms-guide && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mesh-terms-guide
GitHub stars
298
Used in
1 other repo
Token cost
~1.3k tokens
SKILL.md length
303 words
Files
1
Skills in repo
405
Repo updated
First seen
Licence
MIT

At a glance

Navigate MeSH vocabulary for precise PubMed and MEDLINE searches

  • Works in 5 steps: Identify 5-10 known relevant articles… → Run your MeSH search and verify all… → If any are missing, check their MeSH… → …
  • Tasks that involve Academic paper search
  • SKILL.md covers Understanding MeSH Vocabulary, Working with MeSH in PubMed, Combining MeSH with Free Text and Validating Your MeSH Strategy
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Mesh Terms Guide is an agent skill from wentorai/research-plugins. Navigate MeSH vocabulary for precise PubMed and MEDLINE searches

Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Research & Science, covering Academic paper search. It works with PubMed. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.

When your agent uses it

  • Tasks that involve Academic paper search

Example prompts

  • “/mesh-terms-guide”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Identify 5-10 known relevant articles (your "gold standard" set)
  2. Run your MeSH search and verify all gold-standard articles appear
  3. If any are missing, check their MeSH indexing to find gaps in your strategy
  4. Scan the first 100 results to estimate precision
  5. Adjust subheadings and explosion settings accordingly

What it can do on your machine

Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Mesh Terms Guide loads about 1.3k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 303 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 303 words, ~1,349 tokens.

Download SKILL.mdSave it as .claude/skills/mesh-terms-guide/SKILL.md (or your agent's skills folder).
name
mesh-terms-guide
description
Navigate MeSH vocabulary for precise PubMed and MEDLINE searches

MeSH Terms Guide

A skill for using Medical Subject Headings (MeSH) to construct precise and comprehensive biomedical literature searches. Covers MeSH tree structure, subheadings, explosion, major topics, and strategies for combining MeSH with free-text terms.

Understanding MeSH Vocabulary

What Is MeSH?

MeSH is a hierarchical controlled vocabulary maintained by the National Library of Medicine. Every article indexed in MEDLINE/PubMed is assigned MeSH terms by trained indexers. Using MeSH ensures you capture articles that discuss a concept even when authors use different terminology.

Tree Structure and Hierarchy
MeSH terms are organized in a tree with up to 13 hierarchical levels.

Example tree path for "Breast Neoplasms":

  Neoplasms [C04]
    Neoplasms by Site [C04.588]
      Breast Neoplasms [C04.588.180]
        Breast Neoplasms, Male [C04.588.180.260]
        Inflammatory Breast Neoplasms [C04.588.180.390]
        Phyllodes Tumor [C04.588.180.610]

A term can appear in multiple tree branches.
"Diabetes Mellitus, Type 2" appears under both:
  - Endocrine System Diseases
  - Metabolic Diseases
Explosion vs. Non-Explosion
# Exploded search (default in PubMed):
"Breast Neoplasms"[MeSH]
  -> Retrieves articles indexed with "Breast Neoplasms"
     AND all narrower terms underneath it

# Non-exploded search:
"Breast Neoplasms"[MeSH:NoExp]
  -> Retrieves ONLY articles indexed with "Breast Neoplasms" itself
     Does NOT include narrower terms like Inflammatory Breast Neoplasms

Working with MeSH in PubMed

Finding the Right MeSH Term
Step 1: Go to the MeSH Browser (meshb.nlm.nih.gov)
Step 2: Enter your concept (e.g., "heart attack")
Step 3: Review the mapped term: "Myocardial Infarction"
Step 4: Check Entry Terms (synonyms that map to this heading)
Step 5: Examine the tree position and scope note
Step 6: Decide whether to explode or restrict
Subheadings (Qualifiers)

MeSH subheadings refine a concept by specifying an aspect:

python
def build_mesh_query(mesh_term: str, subheadings: list[str] = None,
                     major_topic: bool = False,
                     explode: bool = True) -> str:
    """
    Build a PubMed MeSH search fragment.

    Args:
        mesh_term: The MeSH heading
        subheadings: List of MeSH subheadings (e.g., 'therapy', 'diagnosis')
        major_topic: If True, restrict to articles where this is a major topic
        explode: If False, do not include narrower terms
    """
    field = "MeSH"
    if major_topic:
        field = "Majr"

    if not explode:
        field += ":NoExp"

    if subheadings:
        sub_parts = " OR ".join(
            f'"{mesh_term}/{sh}"[{field}]' for sh in subheadings
        )
        return f"({sub_parts})"

    return f'"{mesh_term}"[{field}]'


# Example: Diabetes treatment as a major topic
print(build_mesh_query(
    "Diabetes Mellitus, Type 2",
    subheadings=["drug therapy", "therapy"],
    major_topic=True
))
Common Subheadings by Research Purpose
PurposeSubheadings
Treatment/therapy, /drug therapy, /surgery, /rehabilitation
Etiology/etiology, /complications, /chemically induced
Diagnosis/diagnosis, /diagnostic imaging, /pathology
Prevention/prevention and control
Epidemiology/epidemiology, /mortality, /statistics and numerical data
Genetics/genetics, /metabolism

Combining MeSH with Free Text

Comprehensive Search Strategy

A robust search combines both MeSH terms and free-text keywords to capture all relevant articles, including those not yet indexed:

# Block 1 - MeSH terms for Concept A
("Myocardial Infarction"[MeSH] OR "Acute Coronary Syndrome"[MeSH])

# Block 2 - Free-text terms for Concept A
("myocardial infarction"[tiab] OR "heart attack"[tiab] OR
 "acute coronary"[tiab] OR "STEMI"[tiab] OR "NSTEMI"[tiab])

# Block 3 - Combine with OR
(Block 1 OR Block 2)

# Repeat for Concept B, then AND the concept blocks together
Handling Unindexed Articles

PubMed articles are often available before MeSH indexing is complete. These articles will not be found by MeSH-only searches. Always include free-text (Title/Abstract) terms alongside MeSH to capture recent publications:

"Diabetes Mellitus, Type 2"[MeSH]
OR
("type 2 diabetes"[tiab] OR "T2DM"[tiab] OR "non-insulin dependent"[tiab])

Validating Your MeSH Strategy

Recall and Precision Check
  1. Identify 5-10 known relevant articles (your "gold standard" set)
  2. Run your MeSH search and verify all gold-standard articles appear
  3. If any are missing, check their MeSH indexing to find gaps in your strategy
  4. Scan the first 100 results to estimate precision
  5. Adjust subheadings and explosion settings accordingly
Documenting MeSH Searches for Systematic Reviews

Record the MeSH database version date, all terms used with their tree numbers, explosion status, and subheadings. This allows the search to be replicated exactly at a later date.

© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/literature/search/mesh-terms-guide of wentorai/research-plugins.

Open the folder on GitHubat commit bf44b3c

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Mesh Terms Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mesh Terms Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mesh Terms Guide this skillwentorai/research-plugins2981 repos~1.3kAutomated safety check: PassMIT
Literature Reviewneflibata-feng/MyArxiv-Agent12620 repos~5.9kAutomated safety check: NotesMIT
Citation ManagementK-Dense-AI/claude-scientific-writer2.4k2 repos~3.9kAutomated safety check: NotesMIT
Citation Managementneflibata-feng/MyArxiv-Agent12619 repos~8.1kAutomated safety check: NotesMIT
Paper Searchopenags/paper-search-mcp2.8k—~1.2kAutomated safety check: NotesMIT
Nature Academic Searchwp-a/nature-academic-search301—~1.4kAutomated safety check: PassMIT

Similar skills

  • Literature Review

    neflibata-feng/MyArxiv-Agent

    Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.).

    126 GitHub starsUsed in 20 repos~5.9k tokens
    Research & ScienceAuto-check: notes
  • Citation Management

    K-Dense-AI/claude-scientific-writer

    Finds papers in OpenAlex, PubMed and Google Scholar, turns DOIs, PMIDs and arXiv IDs into clean BibTeX, and validates citations for a manuscript or thesis.

    2.4k GitHub starsUsed in 2 repos~3.9k tokens
    Research & ScienceAuto-check: notes
  • Citation Management

    neflibata-feng/MyArxiv-Agent

    Comprehensive citation management for academic research. An agent skill from neflibata-feng/MyArxiv-Agent.

    126 GitHub starsUsed in 19 repos~8.1k tokens
    Research & ScienceAuto-check: notes
  • Paper Search

    openags/paper-search-mcp

    Search, download, and read academic papers from 20+ sources (arXiv, PubMed, Semantic Scholar, CrossRef, etc).

    2.8k GitHub stars~1.2k tokensUpdated 7 days ago
    Research & ScienceAuto-check: notes
  • Nature Academic Search

    wp-a/nature-academic-search

    A skill your agent uses when users ask to 找文献、做文献检索、查论文、查临床试验、核验引用、去重文献、设计 PubMed/MeSH 检索式、追踪上下游引文、解析 DOI/PMID/PMCID/arXiv/OpenAlex/Semantic Scholar/NCT ID, 或导出 RIS、BibTeX、NBIB、ENW;also use for…

    301 GitHub stars~1.4k tokensUpdated 7 days ago
    Research & ScienceAuto-check passed
  • PaperSeek Literature Search

    MingfengHong/paperseek

    Routes literature searches through the PaperSeek launcher, picks suitable scholarly sources, parses JSON output and keeps API keys out of the chat.

    200 GitHub stars~1.6k tokensUpdated 4 days ago
    Research & ScienceAuto-check passed

More from wentorai/research-plugins

All 405 skills in this repo
  • Abstract Writing Guide

    wentorai/research-plugins

    Craft structured research abstracts that maximize clarity and journal acceptance

    298 GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Academic Citation Manager

    wentorai/research-plugins

    Manage academic citations across BibTeX, APA, MLA, and Chicago formats

    298 GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed
  • Academic Paper Summarizer

    wentorai/research-plugins

    Summarize academic papers with structured extraction of key elements

    298 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Academic Study Methods

    wentorai/research-plugins

    Evidence-based study techniques for academic learning and retention

    298 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • Academic Tone Guide

    wentorai/research-plugins

    Adjust writing tone and register for academic audiences and venues

    298 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • Academic Translation Guide

    wentorai/research-plugins

    Academic translation, post-editing, and Chinglish correction guide

    298 GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Works with

Questions about Mesh Terms Guide

What does Mesh Terms Guide do?

Navigate MeSH vocabulary for precise PubMed and MEDLINE searches. Mesh Terms Guide is an agent skill from wentorai/research-plugins.

When should I use Mesh Terms Guide?

Mesh Terms Guide fits situations like: tasks that involve Academic paper search.

How do I install Mesh Terms Guide in Claude Code?

Run `npx skills add wentorai/research-plugins --skill mesh-terms-guide -a claude-code`. Or copy the skill folder (skills/literature/search/mesh-terms-guide in wentorai/research-plugins) into .claude/skills/mesh-terms-guide in your project. Claude Code loads it when a task matches its description.

How do I install Mesh Terms Guide in Codex?

Run `npx skills add wentorai/research-plugins --skill mesh-terms-guide -a codex`. Or copy the skill folder (skills/literature/search/mesh-terms-guide in wentorai/research-plugins) into .agents/skills/mesh-terms-guide in your project. Codex loads it when a task matches its description.

Can I use Mesh Terms Guide in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill mesh-terms-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mesh-terms-guide, .gemini/skills/mesh-terms-guide, .github/skills/mesh-terms-guide and .opencode/skills/mesh-terms-guide in your project.

What does Mesh Terms Guide need to run?

SKILL.md names no scripts, command-line tools or credentials: Mesh Terms Guide is instructions for the agent only. Our summary lists: Python 3.

Does Mesh Terms Guide access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mesh Terms Guide safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mesh Terms Guide use?

Mesh Terms Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mesh Terms Guide use?

About 1.3k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mesh Terms Guide?

Skills that share tags, products or a category with Mesh Terms Guide: Literature Review (neflibata-feng/MyArxiv-Agent, 126 stars), Citation Management (K-Dense-AI/claude-scientific-writer, 2.4k stars), Citation Management (neflibata-feng/MyArxiv-Agent, 126 stars) and Paper Search (openags/paper-search-mcp, 2.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mesh Terms Guide?

wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.

Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.