pm-advanced-search

Construct advanced PubMed queries from natural language and return structured results.

19|6|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/cookjohn/pm-skills --skill pm-advanced-search
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pm-advanced-search
Source: https://github.com/cookjohn/pm-skills/tree/main/skills/pm-advanced-search
Command: npx skills add https://github.com/cookjohn/pm-skills --skill pm-advanced-search

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill translates natural-language search criteria into precise PubMed query syntax and executes advanced searches, eliminating the manual work of composing field-qualified queries and managing pagination or API calls.

Core Features & Use Cases

  • Natural language → PubMed syntax: Map authors, title, journal, MeSH, date ranges, publication types, affiliation, and language into PubMed field tags.
  • Query construction and execution: Build URL-encoded queries, navigate to PubMed result pages, and call E-utilities (esearch and esummary) to retrieve IDs, summaries, and the PubMed queryTranslation.
  • Use Cases: Find systematic reviews in a date range, search for clinical trials by journal and year, or restrict results to a first author or specific MeSH terms to improve precision.

Quick Start

Find reviews about CAR-T therapy published after 2020 with IF>10.

Frequently Asked Questions about pm-advanced-search

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert natural language into advanced PubMed queries with MeSH terms?

To convert natural language into advanced PubMed queries, this Skill maps your search criteria into precise PubMed syntax, automatically applying MeSH terms, field qualifiers, and boolean operators to generate a URL-encoded query.

Can I use E-utilities esearch to find systematic reviews within a specific date range?

Yes, you can use E-utilities esearch to find systematic reviews by constructing a query with publication type filters and date ranges, retrieving structured results with IDs and the PubMed queryTranslation.

How do I search PubMed for clinical trials by journal and year without manual syntax?

You can search PubMed for clinical trials by journal and year by providing a natural language description, which the Skill translates into field-qualified queries with date ranges and publication type filters.

Does this PubMed query builder support filtering results by first author and affiliation?

This PubMed query builder supports filtering results by mapping authors, first author, and affiliation details from natural language inputs directly into the appropriate PubMed field tags for precise searches.

What is the best way to retrieve PubMed IDs and summaries using E-utilities?

The best way to retrieve PubMed IDs and summaries is by executing E-utilities esearch and esummary calls, which return structured metadata, pagination details, and query translation for your biomedical literature search.

Are there limitations when restricting PubMed searches to specific MeSH terms for precision?

Restricting PubMed searches to specific MeSH terms improves precision but requires exact term mapping during query construction, meaning unmapped natural language phrases may not generate the intended field-qualified boolean operators.