Pubmed Search logo

Pubmed Search

Organization
InternScience
pubmed-search

Search PubMed for scientific literature. Use when the user asks to find papers, search literature, look up research, find publications, or asks about recent studies. Triggers on "pubmed", "papers", "literature", "publications", "research on", "studies about".

Overview

PublisherInternScience
RepositoryMolClaw
Skill namepubmed-search
Stars
39
Forks
5
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by InternScience on GitHub. Read the source before you install it.

Installation

Install the Pubmed Search AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/InternScience/MolClaw/tree/main/skills/LR_research/tools/pubmed-search
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/InternScience/MolClaw.git /tmp/MolClaw
mkdir -p .claude/skills
cp -r /tmp/MolClaw/skills/LR_research/tools/pubmed-search .claude/skills/pubmed-search
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pubmed Search in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pubmed Search on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pubmed Search is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

PubMed Search

Search NCBI PubMed for scientific literature using BioPython's Entrez module.

When to Use

  • User asks to find papers on a topic
  • User wants recent publications in a field
  • User asks for references or citations
  • User wants to know the state of research on a topic

How to Execute

1. Set up Entrez

python
from Bio import Entrez
Entrez.email = "medclaw@freedomai.com"

2. Search PubMed

python
# Search
handle = Entrez.esearch(db="pubmed", term="CRISPR delivery methods", retmax=20, sort="date")
record = Entrez.read(handle)
handle.close()

id_list = record["IdList"]
print(f"Found {record['Count']} results, showing top {len(id_list)}")

3. Fetch article details

python
# Fetch details
handle = Entrez.efetch(db="pubmed", id=id_list, rettype="xml")
records = Entrez.read(handle)
handle.close()

for article in records['PubmedArticle']:
    medline = article['MedlineCitation']
    pmid = str(medline['PMID'])
    title = medline['Article']['ArticleTitle']
    
    # Get authors
    authors = medline['Article'].get('AuthorList', [])
    first_author = f"{authors[0].get('LastName', '')} {authors[0].get('Initials', '')}" if authors else "Unknown"
    
    # Get journal and year
    journal = medline['Article']['Journal']['Title']
    pub_date = medline['Article']['Journal']['JournalIssue'].get('PubDate', {})
    year = pub_date.get('Year', 'N/A')
    
    # Get abstract
    abstract_parts = medline['Article'].get('Abstract', {}).get('AbstractText', [])
    abstract = ' '.join(str(a) for a in abstract_parts)[:300]
    
    print(f"PMID: {pmid}")
    print(f"Title: {title}")
    print(f"Authors: {first_author} et al.")
    print(f"Journal: {journal} ({year})")
    print(f"Abstract: {abstract}...")
    print(f"Link: https://pubmed.ncbi.nlm.nih.gov/{pmid}/")
    print()

4. Drug Discovery Query Templates

Common search patterns for computational drug discovery tasks:

python
# Target validation / background
term = '"[TARGET]"[Title] AND (review[Publication Type] OR "drug target"[Title/Abstract])'

# Known inhibitors / binders with binding data
term = '"[TARGET]" AND (inhibitor OR antagonist) AND (IC50 OR Ki OR Kd)[Title/Abstract]'

# Crystal structures with ligands
term = '"[TARGET]" AND "crystal structure"[Title] AND "ligand"[Title/Abstract]'

# Virtual screening / computational docking studies
term = '"[TARGET]" AND ("molecular docking" OR "virtual screening")[Title/Abstract]'

# SAR studies
term = '"[TARGET]" AND "structure-activity relationship"[Title/Abstract]'

# Binding free energy / MMPBSA benchmarks
term = '"[TARGET]" AND ("binding free energy" OR "MM-PBSA" OR "MM-GBSA")[Title/Abstract]'

# Peptide / protein-protein interaction
term = '"[TARGET]" AND ("protein-protein interaction" OR "peptide inhibitor")[Title/Abstract]'

# ADMET / pharmacokinetics for compound class
term = '"[COMPOUND CLASS]" AND (ADMET OR pharmacokinetics OR "drug-likeness")[Title/Abstract]'

MolClaw integration requirements:

  • Every retrieved result MUST be labeled as Category 3 information (⚠️ LITERATURE VALUE) per Principle 10.
  • Output MUST include PMID, DOI (when available), first author, year, journal for each citation.
  • Retrieved literature values NEVER substitute for computational results (Principle 13).
  • Save search results as stepNN_LR_pubmed_[topic].md following MolClaw file naming convention.

5. Advanced searches

Support these query patterns:

  • "CRISPR"[Title] AND "delivery"[Title] — title-specific
  • "2026"[Date - Publication] — date filter
  • "Nature"[Journal] — journal filter
  • review[Publication Type] — type filter

6. Follow-up suggestions

After showing results, suggest:

  • "Want me to summarize any of these papers?"
  • "Should I search with different keywords?"
  • "Want me to find related papers to any of these?"

Frequently asked questions

What does the Pubmed Search AI skill do?

Search PubMed for scientific literature. Use when the user asks to find papers, search literature, look up research, find publications, or asks about recent studies. Triggers on "pubmed", "papers", "literature", "publications", "research on", "studies about".

Why use Pubmed Search on TypingMind?

Because you install it once and use it with any model. Pubmed Search is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pubmed Search in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/InternScience/MolClaw/tree/main/skills/LR_research/tools/pubmed-search. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Pubmed Search?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pubmed Search?

As many as you like. As long as a model supports skills, you can use Pubmed Search with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pubmed Search AI skill free?

Yes. It is published on GitHub by InternScience under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇