epidemiologist-analyst

rysweet/amplihack · updated Apr 8, 2026

MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.

$npx skills add https://github.com/rysweet/amplihack --skill epidemiologist-analyst
0 commentsdiscussion
summary

Analyze health events and disease patterns through the disciplinary lens of epidemiology, applying established frameworks (disease surveillance, outbreak investigation, causal inference), multiple methodological approaches (cohort studies, case-control studies, mathematical modeling), and evidence-based practices to understand disease distribution, determinants, and control strategies that protect population health.

skill.md

Epidemiologist Analyst Skill

Purpose

Analyze health events and disease patterns through the disciplinary lens of epidemiology, applying established frameworks (disease surveillance, outbreak investigation, causal inference), multiple methodological approaches (cohort studies, case-control studies, mathematical modeling), and evidence-based practices to understand disease distribution, determinants, and control strategies that protect population health.

When to Use This Skill

  • Disease Outbreak Investigation: Investigate foodborne illness, infectious disease clusters, unusual disease patterns
  • Health Policy Evaluation: Assess vaccination programs, screening initiatives, public health interventions
  • Risk Factor Analysis: Identify causes of chronic disease, environmental exposures, behavioral determinants
  • Surveillance System Design: Develop disease monitoring, early warning systems, syndromic surveillance
  • Intervention Planning: Design prevention strategies, evaluate control measures, optimize resource allocation
  • Public Health Emergency Response: Assess pandemic threats, coordinate containment strategies, model disease spread
  • Health Equity Assessment: Analyze disparities in disease burden, access to care, health outcomes across populations

Core Philosophy: Epidemiological Thinking

Epidemiological analysis rests on several fundamental principles:

Population Perspective: Focus on groups rather than individuals. Disease patterns reveal underlying causes that individual cases cannot show.

Distribution and Determinants: Epidemiology studies both who gets diseases (distribution) and why they get them (determinants). Both dimensions are essential.

Causal Inference: Establishing causation requires rigorous criteria beyond simple association. Bradford Hill criteria guide assessment of causal relationships.

Prevention Focus: The ultimate goal is prevention. Understanding disease etiology enables interventions that prevent occurrence or reduce severity.

Quantitative Precision: Rates, risks, and ratios provide precise measures of disease occurrence and association strength. Numbers reveal patterns invisible to qualitative observation.

Time and Place Matter: Disease patterns vary by when and where they occur. Temporal and spatial analysis reveals transmission dynamics and risk factors.

Evidence-Based Action: Public health decisions must be grounded in rigorous data collection, analysis, and interpretation. Epidemiology provides the evidence base for action.

Interdisciplinary Integration: Epidemiology draws on biostatistics, clinical medicine, social sciences, and laboratory sciences to understand disease comprehensively.


Theoretical Foundations (Expandable)

Foundation 1: Germ Theory and Infectious Disease Epidemiology

Core Principles:

  • Specific microorganisms cause specific diseases
  • Transmission requires chain of infection: agent, reservoir, portal of exit, mode of transmission, portal of entry, susceptible host
  • Breaking any link in the chain prevents transmission
  • Exposure precedes disease (temporality)
  • Dose-response relationships exist between exposure and disease

Key Insights:

  • Understanding transmission modes enables targeted interventions
  • Asymptomatic carriers can propagate outbreaks
  • Herd immunity protects populations when sufficient proportion is immune
  • Emerging and re-emerging infections require constant vigilance
  • Antimicrobial resistance evolves under selection pressure

Founding Thinkers:

  • John Snow (1813-1858): Cholera investigation, removed Broad Street pump handle
  • Louis Pasteur (1822-1895): Germ theory, vaccination
  • Robert Koch (1843-1910): Koch's postulates for proving causation

When to Apply:

  • Investigating infectious disease outbreaks
  • Designing infection control measures
  • Evaluating vaccination strategies
  • Modeling epidemic spread

Sources:

Foundation 2: Chronic Disease Epidemiology

Core Principles:

  • Chronic diseases have multiple contributing causes (web of causation)
  • Long latency periods between exposure and disease
  • Risk factors operate probabilistically, not deterministically
  • Behavioral, environmental, and genetic factors interact
  • Prevention possible at primary, secondary, and tertiary levels

Key Insights:

  • Most chronic diseases are preventable through lifestyle modification
  • Social determinants profoundly affect chronic disease risk
  • Early detection through screening reduces mortality
  • Small population shifts in risk factors yield large public health gains
  • Chronic disease burden is increasing globally with demographic transition

Key Thinkers:

  • Richard Doll & Austin Bradford Hill: Smoking and lung cancer studies
  • Framingham Heart Study researchers: Cardiovascular risk factors
  • Geoffrey Rose: Prevention paradox, population strategy

When to Apply:

  • Analyzing cardiovascular disease, cancer, diabetes patterns
  • Evaluating screening programs
  • Assessing behavioral risk factors
  • Designing prevention interventions

Sources:

Foundation 3: Causal Inference and Bradford Hill Criteria

Core Principles:

  • Association does not prove causation
  • Multiple criteria strengthen causal inference: strength, consistency, specificity, temporality, biological gradient, plausibility, coherence, experiment, analogy
  • Confounding must be addressed through study design or analysis
  • Bias can distort observed associations
  • Natural experiments and quasi-experimental designs enable causal inference when randomization is infeasible

Key Insights:

  • Randomized controlled trials provide strongest causal evidence but are often impossible or unethical
  • Observational studies with careful design and analysis can support causal inference
  • Replication across populations and methods strengthens causal claims
  • Biological mechanisms provide supporting evidence
  • Effect modification reveals subgroups with different causal effects

Founding Thinker: Austin Bradford Hill (1897-1991)

  • Work: "The Environment and Disease: Association or Causation?" (1965)
  • Contributions: Established criteria for causal inference, pioneered randomized trials

When to Apply:

  • Evaluating whether observed associations are causal
  • Designing observational studies to minimize confounding
  • Assessing evidence for public health interventions
  • Distinguishing causation from correlation in complex data

Sources:

Foundation 4: Disease Surveillance Systems

Core Principles:

  • Continuous systematic collection, analysis, and interpretation of health data
  • Early detection of outbreaks and emerging threats
  • Monitoring disease trends and evaluating interventions
  • Timeliness vs. completeness trade-offs
  • Integration of multiple data sources enhances sensitivity and specificity

Key Insights:

  • Surveillance is not research but ongoing public health practice
  • Syndromic surveillance detects outbreaks before laboratory confirmation
  • Electronic health records enable real-time surveillance
  • Wastewater-based epidemiology provides population-level disease signals
  • One Health approach integrates human, animal, and environmental surveillance

Modern Developments (2024-2025):

  • AI integration with mechanistic epidemiological models for disease forecasting
  • Wastewater-based epidemiology (WBE) coupled with machine learning for predictive health decisions
  • Evolution toward systems integration with multi-source data and improved early warning accuracy

When to Apply:

  • Designing disease monitoring systems
  • Detecting disease outbreaks early
  • Evaluating public health program effectiveness
  • Tracking health disparities

Sources:

Foundation 5: Mathematical Modeling of Disease Spread

Core Principles:

  • Compartmental models (SIR, SEIR) describe population transitions between disease states
  • Basic reproduction number (R₀) determines epidemic potential
  • Transmission rate, contact patterns, and recovery rate govern dynamics
  • Interventions reduce R₀ below 1 to control epidemics
  • Uncertainty quantification essential for model credibility

Key Insights:

  • Small changes in R₀ have large effects on epidemic size
  • Timing of interventions critically affects outcomes
  • Models inform scenario planning, not precise prediction
  • Heterogeneity in contact patterns and susceptibility affects spread
  • Data-driven models improve forecasting accuracy

Key Concepts:

  • R₀ (Basic Reproduction Number): Average number of secondary infections from one infected individual in fully susceptible population
  • Epidemic Threshold: R₀ > 1 causes epidemic; R₀ < 1 causes decline
  • Herd Immunity Threshold: Proportion immune needed to prevent sustained transmission = 1 - 1/R₀

When to Apply:

  • Forecasting epidemic trajectories
  • Evaluating intervention strategies
  • Estimating vaccination coverage needs
  • Informing resource allocation during outbreaks

Sources:


Core Analytical Frameworks (Expandable)

Framework 1: Outbreak Investigation

Definition: "Systematic process of detecting, investigating, and controlling disease outbreaks to protect public health"

The 10-Step CDC Approach:

  1. Prepare for field work - Assemble team, gather supplies, review background
  2. Establish the existence of an outbreak - Compare current incidence to baseline
  3. Verify the diagnosis - Confirm through clinical and laboratory methods
  4. Define and identify cases - Create case definition, conduct case finding
  5. Describe and orient data - Analyze by person, place, and time (epidemiologic triad)
  6. Develop hypotheses - Generate potential sources and transmission modes
  7. Evaluate hypotheses - Conduct analytic studies (cohort or case-control)
  8. Refine hypotheses and execute additional studies - Address remaining questions
  9. Implement control and prevention measures - Act on findings to stop outbreak
  10. Communicate findings - Report to stakeholders and public health community

Key Components:

  • Epidemic Curve: Graphical representation of cases over time revealing outbreak pattern
  • Case Definition: Standardized criteria for identifying cases (clinical, laboratory, epidemiologic criteria)
  • Attack Rate: Proportion of exposed population that develops disease
  • Spot Map: Geographic distribution of cases revealing spatial clustering

Applications:

  • Foodborne illness outbreaks
  • Healthcare-associated infections
  • Infectious disease clusters
  • Environmental exposures
  • Vaccine-preventable disease resurgence

Example Analysis:

  • Restaurant outbreak: Epidemic curve shows point-source pattern, case-control study identifies implicated food, environmental sampling confirms contamination, restaurant closure prevents additional cases

Sources:

Framework 2: Study Design - Cohort and Case-Control Studies

Definition: "Analytic epidemiology methods comparing disease occurrence between exposed and unexposed groups to quantify associations"

Cohort Study Design:

  • Approach: Identify exposed and unexposed groups, follow forward in time, compare disease incidence
  • Measures: Relative risk (RR), attributable risk, incidence rates
  • Strengths: Direct measure of incidence, can assess multiple outcomes, temporality clear
  • Best for: Outbreaks in defined populations, common exposures, short latency diseases

Case-Control Study Design:

  • Approach: Identify cases and controls, look backward to assess past exposures, compare exposure odds
  • Measures: Odds ratio (OR approximates RR when disease is rare)
  • Strengths: Efficient for rare diseases, rapid results, fewer subjects needed
  • Best for: Large populations, rare diseases, long latency, multiple exposures

Study Selection Criteria:

  • Population definition and accessibility
  • Disease frequency and latency period
  • Available resources and timeline
  • Feasibility of exposure assessment

Applications:

  • Outbreak investigations (cohort for defined populations like weddings, case-control for community outbreaks)
  • Chronic disease etiology research
  • Vaccine safety and effectiveness studies
  • Environmental exposure assessment

Example Analysis:

  • Hepatitis A outbreak: Case-control study identifies green onions as risk factor (OR = 5.2, 95% CI: 2.1-12.8), traceback investigation finds contaminated supply, recall initiated

Sources:

Framework 3: Measures of Disease Frequency and Association

Definition: "Quantitative metrics describing disease occurrence in populations and strength of relationships between exposures and outcomes"

Measures of Disease Frequency:

  • Incidence: Number of new cases per population per time (rate of disease development)
  • Prevalence: Proportion of population with disease at specific time (disease burden)
  • Attack Rate: Incidence in outbreak setting (proportion of exposed who develop disease)
  • Mortality Rate: Deaths per population per time
  • Case Fatality Rate: Proportion of cases who die

Measures of Association:

  • Relative Risk (RR): Ratio of incidence in exposed vs. unexposed (RR > 1 suggests increased risk)
  • Odds Ratio (OR): Ratio of odds of exposure in cases vs. controls
  • Attributable Risk: Absolute difference in incidence between exposed and unexposed
  • Population Attributable Risk: Incidence in total population attributable to exposure
  • Number Needed to Treat (NNT): Number needed to treat to prevent one adverse outcome

Key Concepts:

  • Rates have time component; proportions do not
  • Confidence intervals quantify statistical uncertainty
  • P-values test null hypothesis but don't measure effect size
  • Clinical significance differs from statistical significance

Applications:

  • Comparing disease burden across populations
  • Quantifying strength of risk factor associations
  • Evaluating intervention effectiveness
  • Prioritizing public health interventions based on population impact

Example Analysis:

  • Smoking and lung cancer: RR = 20 means smokers have 20 times the risk of nonsmokers; attributable risk = 90% means 90% of lung cancer in smokers is due to smoking

Sources:

Framework 4: Screening and Diagnostic Test Evaluation

Definition: "Assessment of test performance in identifying disease, balancing sensitivity, specificity, and predictive values"

Key Performance Metrics:

  • Sensitivity: Proportion of true positives correctly identified (1 - false negative rate)
  • Specificity: Proportion of true negatives correctly identified (1 - false positive rate)
  • Positive Predictive Value (PPV): Probability disease present given positive test
  • Negative Predictive Value (NPV): Probability disease absent given negative test
  • ROC Curve: Plots sensitivity vs. (1-specificity) across test thresholds

Critical Insights:

  • PPV and NPV depend on disease prevalence (sensitivity and specificity do not)
  • No test is perfect; trade-offs exist between sensitivity and specificity
  • Screening tests should be highly sensitive (few false negatives)
  • Confirmatory tests should be highly specific (few false positives)
  • Serial testing increases specificity; parallel testing increases sensitivity

Wilson-Jungner Screening Criteria (WHO):

  1. Condition is important health problem
  2. Natural history is well understood
  3. Recognizable early stage exists
  4. Effective treatment available for early disease
  5. Suitable test exists
  6. Test acceptable to population
  7. Facilities for diagnosis and treatment available
  8. Policy on whom to treat
  9. Cost-effective
  10. Continuous case-finding process

Applications:

  • Evaluating COVID-19 rapid tests
  • Designing cancer screening programs
  • Assessing syndromic surveillance systems
  • Optimizing diagnostic algorithms

Example Analysis:

  • COVID-19 rapid antigen test: Sensitivity = 85%, Specificity = 99%, but PPV varies dramatically by prevalence (PPV = 46% at 1% prevalence, PPV = 98% at 50% prevalence)

Sources:

Framework 5: Epidemic Curves and Disease Pattern Recognition

Definition: "Graphical representation of cases by time of onset revealing outbreak source, transmission pattern, and trajectory"

Epidemic Curve Types:

  • Point-Source: Single exposure, sharp peak, cases within one incubation period
  • Continuous Common Source: Ongoing exposure, plateau pattern
  • Propagated: Person-to-person spread, successive peaks spaced by incubation period
  • Mixed: Combination of patte
how to use epidemiologist-analyst

How to use epidemiologist-analyst on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your development machine
  • Node.js version 16.0+ with npm package manager (verify with node --version)
  • Active project directory or workspace where you want to add epidemiologist-analyst
2

Execute installation command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills add https://github.com/rysweet/amplihack --skill epidemiologist-analyst

The skills CLI fetches epidemiologist-analyst from GitHub repository rysweet/amplihack and configures it for Cursor.

3

Select Cursor when prompted

The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ── always included ────
│ • Amp
│ • Antigravity
│ • Cline
│ • Codex
│ ●Cursor(selected)
│ • Cursor
│ • Windsurf
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/epidemiologist-analyst

Reload or restart Cursor to activate epidemiologist-analyst. Access the skill through slash commands (e.g., /epidemiologist-analyst) or your agent's skill management interface.

Security & Verification Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.

List & Monetize Your Skill

Submit your Claude Code skill and start earning

GET_STARTED →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Installation Steps

  1. 1.Install product management skill
  2. 2.Start with user story generation for known feature
  3. 3.Progress to competitive analysis: research 2-3 competitors
  4. 4.Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5.Draft stakeholder communications and refine based on feedback
  6. 6.Build template library for recurring PM tasks
  7. 7.Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use When

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid When

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.646 reviews
  • Diya Anderson· Dec 16, 2024

    Solid pick for teams standardizing on skills: epidemiologist-analyst is focused, and the summary matches what you get after install.

  • Ganesh Mohane· Dec 12, 2024

    Keeps context tight: epidemiologist-analyst is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Layla Chawla· Dec 8, 2024

    epidemiologist-analyst has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Hassan Martin· Dec 4, 2024

    epidemiologist-analyst fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Meera Srinivasan· Nov 27, 2024

    epidemiologist-analyst fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Hassan Reddy· Nov 7, 2024

    We added epidemiologist-analyst from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Rahul Santra· Nov 3, 2024

    Registry listing for epidemiologist-analyst matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Nia Garcia· Nov 3, 2024

    I recommend epidemiologist-analyst for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Hassan Harris· Oct 26, 2024

    epidemiologist-analyst fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Pratham Ware· Oct 22, 2024

    epidemiologist-analyst reduced setup friction for our internal harness; good balance of opinion and flexibility.

showing 1-10 of 46

1 / 5