Agent skill

Epidemiology

by aipoch in aipoch/medical-research-skills

Performs epidemiological analyses including disease modeling (SIR/SEIR), outbreak investigation, risk factor identification, incidence/prevalence estimation, and causal inference from observational…

MITAuto-check passedData & Analytics

Install Epidemiology

skills CLI
$ npx skills add aipoch/medical-research-skills --skill epidemiology -a claude-code

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

GitHub CLI
$ gh skill install aipoch/medical-research-skills epidemiology --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/aipoch/medical-research-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'scientific-skills/Data Analysis/epidemiology' .claude/skills/epidemiology && 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
epidemiology
GitHub stars
1.9k
Token cost
~1.1k tokens
SKILL.md length
503 words
Files
3
Skills in repo
578
Repo updated
First seen
Licence
MIT

At a glance

Performs epidemiological analyses including disease modeling (SIR/SEIR), outbreak investigation, risk factor identification, incidence/prevalence estimation, and causal inference from observational…

  • Works in 7 steps: Define the epidemiological question -… → Data characterization - Identify data… → Descriptive epidemiology - Characterize… → …
  • Users discuss disease spread
  • SKILL.md covers When to Trigger, Step-by-Step Methodology, Key Databases and Tools and Output Format, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Epidemiology is an agent skill from aipoch/medical-research-skills. Performs epidemiological analyses including disease modeling (SIR/SEIR), outbreak investigation, risk factor identification, incidence/prevalence estimation, and causal inference from observational data; trigger when users discuss disease spread, public health data, or populat...

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `POLISH_CHANGELOG.md` and `eval_report_epidemiology_result.json`).

It sits in Data & Analytics, covering Health and fitness tracking and Econometrics and empirical research. The repository describes itself as: Hundreds of agent skills for medical research, including protocol design, data analysis, evidence insights, and academic writing. The licence is MIT.

When your agent uses it

  • Users discuss disease spread
  • Public health data

Example prompts

  • “Use the epidemiology skill to perform epidemiological analyses including disease modeling (SIR/SEIR), outbreak investigation, risk factor…”
  • “/epidemiology”

Workflow steps

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

  1. Define the epidemiological question - Specify the disease/condition, population, time period, and geographic scope. Determine if…
  2. Data characterization - Identify data source (surveillance, registry, survey). Assess case definitions (confirmed, probable, suspected)…
  3. Descriptive epidemiology - Characterize by person (age, sex, demographics), place (geographic distribution, mapping), and time (epidemic…
  4. Measure calculation - Compute incidence rate (person-time denominator), prevalence (point or period), attack rate, case-fatality ratio…
  5. Analytic methods - For causal questions: draw a DAG to identify confounders and colliders. Use appropriate regression (logistic for OR…
  6. Disease modeling - Build SIR/SEIR compartmental models. Estimate R0 from early epidemic growth rate or next-generation matrix. Conduct…
  7. Interpretation and communication - Translate findings into public health actions. Present results with absolute and relative measures…

What it can do on your machine

Read from SKILL.md and the folder at commit 686e09d. 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.

    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

Epidemiology loads about 1.1k tokens when it runs. Until then it costs about 73 tokens; SKILL.md has 503 words of instructions outside code blocks.

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

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 aipoch/medical-research-skills at commit 686e09d, republished under its MIT licence (© aipoch). 503 words, ~1,122 tokens.

Download SKILL.mdSave it as .claude/skills/epidemiology/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
epidemiology
description
Performs epidemiological analyses including disease modeling (SIR/SEIR), outbreak investigation, risk factor identification, incidence/prevalence estimation, and causal inference from observational data; trigger when users discuss disease spread, public health data, or populat...
license
MIT
author
AIPOCH

Source: https://github.com/aipoch/medical-research-skills

When to Trigger

Activate this skill when the user mentions:

  • SIR, SEIR, compartmental models, R0, reproduction number
  • Outbreak investigation, contact tracing, epidemic curves
  • Incidence, prevalence, mortality rates, case-fatality ratio
  • Risk factors, odds ratio, relative risk, hazard ratio
  • Cohort studies, case-control studies, cross-sectional surveys
  • DAGs (directed acyclic graphs), causal inference, confounding
  • Vaccine efficacy, herd immunity, attack rate

Step-by-Step Methodology

  1. Define the epidemiological question - Specify the disease/condition, population, time period, and geographic scope. Determine if descriptive, analytic, or modeling approach is needed.
  2. Data characterization - Identify data source (surveillance, registry, survey). Assess case definitions (confirmed, probable, suspected). Check completeness and reporting biases.
  3. Descriptive epidemiology - Characterize by person (age, sex, demographics), place (geographic distribution, mapping), and time (epidemic curves, secular trends, seasonality).
  4. Measure calculation - Compute incidence rate (person-time denominator), prevalence (point or period), attack rate, case-fatality ratio. Report with 95% confidence intervals.
  5. Analytic methods - For causal questions: draw a DAG to identify confounders and colliders. Use appropriate regression (logistic for OR, Poisson/negative binomial for rates, Cox for time-to-event). Apply propensity score methods if needed.
  6. Disease modeling - Build SIR/SEIR compartmental models. Estimate R0 from early epidemic growth rate or next-generation matrix. Conduct sensitivity analysis on key parameters (transmission rate, recovery rate, latent period).
  7. Interpretation and communication - Translate findings into public health actions. Present results with absolute and relative measures. Discuss Hills criteria for causation assessment.

Key Databases and Tools

  • WHO Global Health Observatory - International health statistics
  • CDC WONDER / MMWR - US disease surveillance data
  • Our World in Data - Pandemic and health metrics
  • GBD (Global Burden of Disease) - Comprehensive disease burden estimates
  • EpiEstim / R0 package - R0 estimation tools
  • DAGitty - DAG drawing and analysis

Output Format

  • Epidemic curves with proper time axis (onset date, not report date when possible).
  • Measures of association as tables: measure, point estimate, 95% CI, p-value.
  • Compartmental model diagrams with parameter definitions and values.
  • Geographic maps with rates (not raw counts) and appropriate denominators.
Show full SKILL.md (184 more words)Show less

Quality Checklist

  • Case definition explicitly stated
  • Denominators appropriate (person-time for rates, population for prevalence)
  • Confidence intervals provided for all estimates
  • Confounders identified via DAG and adjusted for
  • Selection bias and information bias discussed
  • Model assumptions stated and sensitivity analysis performed
  • Absolute and relative measures both reported
  • Temporal relationship between exposure and outcome verified

Error Handling

  • If required inputs are missing, state exactly which fields are missing and request only the minimum additional information.
  • If the task goes outside the documented scope, stop instead of guessing or silently widening the assignment.
  • If execution fails, report the failure point, summarize what can still be completed safely, and provide a manual fallback.
  • Do not fabricate files, citations, data, search results, or execution outcomes.

Input Validation

This skill accepts requests that match the documented purpose of epidemiology and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

epidemiology only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

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

Files

SKILL.md and 2 other files in scientific-skills/Data Analysis/epidemiology of aipoch/medical-research-skills.

  • SKILL.md
  • POLISH_CHANGELOG.md
  • eval_report_epidemiology_result.json

Open the folder on GitHubat commit 686e09d

Compare with similar skills

Epidemiology 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.

Epidemiology compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Epidemiology this skillaipoch/medical-research-skills1.9k—~1.1kAutomated safety check: PassMIT
Fin Arch Diagramcsmar432/finai-research109—~1.5kAutomated safety check: PassMIT
Hypogenicdavila7/claude-code-templates33k10 repos~5.4kAutomated safety check: PassMIT
Pyfixestbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~3.5kAutomated safety check: PassCustom licence
ML Causalbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~4kAutomated safety check: PassCustom licence
Statsbrycewang-stanford/Auto-Empirical-Research-Skills4.6k—~2kAutomated safety check: PassCustom licence

Similar skills

  • Fin Arch Diagram

    csmar432/finai-research

    生成研究/项目架构图、流程图、层次图(swimlane / processflow / hierarchytree)。适合 PPT 汇报、技术文档、综述插图。输出风格接近 draw.io,可选 graphviz(高质量)/ matplotlib(零依赖)双后端。

    109 GitHub stars~1.5k tokensUpdated 4 days ago
    Data & AnalyticsAuto-check passed
  • Hypogenic

    davila7/claude-code-templates

    Automated hypothesis generation and testing using large language models.

    33k GitHub starsUsed in 10 repos~5.4k tokens
    Research & ScienceAuto-check passed
  • Pyfixest

    brycewang-stanford/Auto-Empirical-Research-Skills

    Fast high-dimensional fixed effects: OLS, Poisson, IV with multi-way FE; DiD (TWFE, did2s, Sun-Abraham); clustered SEs; etable/coefplot/iplot.

    4.6k GitHub stars~3.5k tokensUpdated 4 days ago
    Data & AnalyticsAuto-check passed
  • ML Causal

    brycewang-stanford/Auto-Empirical-Research-Skills

    Econometrics skill for machine learning methods in causal inference.

    4.6k GitHub stars~4k tokensUpdated 4 days ago
    Data & AnalyticsAuto-check passed
  • Stats

    brycewang-stanford/Auto-Empirical-Research-Skills

    Econometrics skill for descriptive statistics and summary tables.

    4.6k GitHub stars~2k tokensUpdated 4 days ago
    Data & AnalyticsAuto-check passed
  • Check Env

    brycewang-stanford/Auto-Empirical-Research-Skills

    Verifies required tools (Quarto, uv, Python, R, Stata, TeX) and Jupyter kernels are installed.

    4.6k GitHub stars~578 tokensUpdated 4 days ago
    Data & AnalyticsAuto-check: notes

More from aipoch/medical-research-skills

All 578 skills in this repo
  • Academic Poster Generator

    aipoch/medical-research-skills

    Complete workflow for generating academic research posters from PDF literature; use when you need to extract paper content from PDFs and produce a LaTeX-based poster…

    1.9k GitHub stars~2.2k tokensUpdated 23 days ago
    Auto-check passed
  • Diagnostic Study Quality Assessment Quadas

    aipoch/medical-research-skills

    Analyzes clinical diagnostic accuracy studies for bias using the QUADAS-2 tool.

    1.9k GitHub stars~1.4k tokensUpdated 23 days ago
    Auto-check passed
  • Exploratory Data Analysis

    aipoch/medical-research-skills

    Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats.

    1.9k GitHub stars~3.7k tokensUpdated 23 days ago
    Auto-check passed
  • Iso Certification

    aipoch/medical-research-skills

    A toolkit for preparing ISO 13485:2016 certification documentation for medical device QMS.

    1.9k GitHub stars~1.8k tokensUpdated 23 days ago
    Auto-check passed
  • Journal Skills

    aipoch/medical-research-skills

    Recommends target journals for manuscript submission by analyzing the paper topic/abstract and the journal distribution of similar PubMed literature; use when users ask for journal…

    1.9k GitHub stars~1.7k tokensUpdated 23 days ago
    Auto-check passed
  • Latex Posters

    aipoch/medical-research-skills

    Creates academic-poster writing packages for LaTeX using beamerposter, tikzposter, or baposter.

    1.9k GitHub stars~1.3k tokensUpdated 23 days ago
    Auto-check passed

Questions about Epidemiology

What does Epidemiology do?

Performs epidemiological analyses including disease modeling (SIR/SEIR), outbreak investigation, risk factor identification, incidence/prevalence estimation, and causal inference from observational…. Epidemiology is an agent skill from aipoch/medical-research-skills. Performs epidemiological analyses including disease modeling (SIR/SEIR), outbreak investigation, risk factor identification, incidence/prevalence estimation, and causal inference from observational data; trigger when users discuss disease spread, public health data, or populat...

When should I use Epidemiology?

Epidemiology fits situations like: users discuss disease spread; public health data.

How do I install Epidemiology in Claude Code?

Run `npx skills add aipoch/medical-research-skills --skill epidemiology -a claude-code`. Or copy the skill folder (scientific-skills/Data Analysis/epidemiology in aipoch/medical-research-skills) into .claude/skills/epidemiology in your project. Claude Code loads it when a task matches its description.

How do I install Epidemiology in Codex?

Run `npx skills add aipoch/medical-research-skills --skill epidemiology -a codex`. Or copy the skill folder (scientific-skills/Data Analysis/epidemiology in aipoch/medical-research-skills) into .agents/skills/epidemiology in your project. Codex loads it when a task matches its description.

Can I use Epidemiology 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 aipoch/medical-research-skills --skill epidemiology -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/epidemiology, .gemini/skills/epidemiology, .github/skills/epidemiology and .opencode/skills/epidemiology in your project.

What does Epidemiology need to run?

SKILL.md names no scripts, command-line tools or credentials: Epidemiology is instructions for the agent only.

Does Epidemiology 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 Epidemiology 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 Epidemiology use?

Epidemiology is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Epidemiology use?

About 1.1k tokens (SKILL.md is roughly 4.5k 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 Epidemiology?

Skills that share tags, products or a category with Epidemiology: Fin Arch Diagram (csmar432/finai-research, 109 stars), Hypogenic (davila7/claude-code-templates, 33k stars), Pyfixest (brycewang-stanford/Auto-Empirical-Research-Skills, 4.6k stars) and ML Causal (brycewang-stanford/Auto-Empirical-Research-Skills, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Epidemiology?

aipoch (a GitHub organization) maintains it in aipoch/medical-research-skills, which has 1,937 GitHub stars. The repository holds 578 skills in this directory. The repository was last updated on September 17, 2026.

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