OpenParable
Skip to content
← Back to skills

Med Researcher Guide

Research
med-researcher-guide

Med Researcher Guide is an Agent Skill for research published in the brycewang-stanford/Auto-Empirical-Research-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Multi-agent system for biomedical literature review and synthesis

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/blob/HEAD/skills/43-wentorai-research-plugins/skills/domains/biomedical/med-researcher-guide/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/med-researcher-guide, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Med-Researcher Guide

Overview

Med-Researcher is a multi-agent system designed specifically for biomedical literature review. It orchestrates specialized agents for searching PubMed and other medical databases, extracting structured evidence from clinical papers, and synthesizing findings into evidence-graded summaries. Particularly useful for clinical evidence reviews, drug interaction research, and systematic reviews in medicine.

Architecture

Agent Roles

Query → Planning Agent (decomposes clinical question)
            ↓
      Search Agent (PubMed, PMC, clinical trials)
            ↓
      Extraction Agent (PICO, outcomes, evidence grade)
            ↓
      Synthesis Agent (evidence summary, contradictions)
            ↓
      Report Agent (structured review output)

Agent Descriptions

AgentRole
PlannerConverts clinical question to PICO format, generates sub-queries
SearcherQueries PubMed, PMC, ClinicalTrials.gov
ExtractorExtracts structured data: population, intervention, outcomes
SynthesizerGrades evidence, identifies consensus and contradictions
ReporterGenerates formatted review with citations

Usage

from med_researcher import MedResearcher

researcher = MedResearcher(
    llm_provider="anthropic",
    search_backends=["pubmed", "pmc", "clinical_trials"],
)

# Clinical question
result = researcher.review(
    question="What is the comparative efficacy of SGLT2 inhibitors "
             "versus GLP-1 receptor agonists for cardiovascular "
             "outcomes in type 2 diabetes?",
    max_papers=50,
    evidence_grading=True,
)

print(result.summary)
print(f"Papers analyzed: {len(result.papers)}")
print(f"Evidence grade: {result.overall_grade}")

PICO Framework Integration

# Automatic PICO extraction from clinical question
pico = researcher.extract_pico(
    "Does metformin reduce cancer incidence in diabetic patients?"
)
# P: patients with diabetes
# I: metformin treatment
# C: no metformin / other antidiabetics
# O: cancer incidence

# Search with PICO components
result = researcher.review_pico(
    population="type 2 diabetes patients",
    intervention="metformin",
    comparison="placebo or other antidiabetics",
    outcome="cancer incidence",
)

Evidence Grading

# Evidence levels following GRADE methodology
for paper in result.papers:
    print(f"{paper.title}")
    print(f"  Study type: {paper.study_type}")  # RCT, cohort, case-control
    print(f"  Evidence level: {paper.evidence_level}")  # High/Moderate/Low/Very Low
    print(f"  Risk of bias: {paper.bias_risk}")
    print(f"  Sample size: {paper.sample_size}")

# Aggregate evidence summary
print(f"\nOverall certainty: {result.certainty}")
print(f"Recommendation strength: {result.recommendation}")

Search Configuration

researcher = MedResearcher(
    search_config={
        "pubmed": {
            "max_results": 100,
            "date_range": ("2020-01-01", "2025-12-31"),
            "article_types": ["Clinical Trial", "Meta-Analysis",
                              "Randomized Controlled Trial"],
        },
        "clinical_trials": {
            "status": ["Completed", "Active"],
            "phase": ["Phase 3", "Phase 4"],
        },
    },
    extraction_config={
        "fields": ["population", "intervention", "comparator",
                   "primary_outcome", "secondary_outcomes",
                   "adverse_events", "sample_size", "follow_up"],
    },
)

Output Formats

# Structured evidence table
result.export_evidence_table("evidence_table.csv")

# PRISMA flow diagram data
prisma = result.prisma_flow()
print(f"Identified: {prisma['identified']}")
print(f"Screened: {prisma['screened']}")
print(f"Included: {prisma['included']}")

# Bibliography
result.export_bibtex("references.bib")

# Full report
result.export_report("review.md", format="markdown")

Clinical Use Cases

  1. Drug comparison reviews: Head-to-head efficacy analysis
  2. Safety signal detection: Adverse event pattern identification
  3. Guideline evidence: Supporting clinical guideline development
  4. Grant proposals: Rapid evidence landscape assessment
  5. Journal clubs: Structured paper discussion preparation

References