pathogen-variant-surveillance
Queries public data for pathogen genomic surveillance. It tracks variants, lineages, and mutations for diseases like COVID-19 and Influenza.
What it does
This tool searches public data about pathogen variants (like viruses) to understand which lineages are circulating, how they are named, and their characteristics. It helps monitor pathogen evolution.
When to use it
- ✓To find out the most common virus variant in a region.
- ✓To check the official name of a virus lineage.
- ✓To understand how the proportion of different variants has changed over time.
Example of what to ask your AI
“What are the most common SARS-CoV-2 lineages in the USA over the last 12 weeks?”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool accesses a public database called LAPIS and uses scripts to analyze the data. It filters information based on your requests, like country and time period, to show the proportions of variants.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add K-Dense-AI/scientific-agent-skills --skill pathogen-variant-surveillanceOr download just the file:
curl -L https://raw.githubusercontent.com/K-Dense-AI/scientific-agent-skills/main/skills/pathogen-variant-surveillance/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
Pathogen Variant Surveillance
When to use
Use current data when a question depends on which lineages appear in submitted sequences, what a lineage name currently means, or how the submitted sequence distribution changed. Never answer a current circulation question from remembered lineage names or old examples.
This skill supports descriptive surveillance research. Counts describe sequences submitted to one database under stated filters; they are not case counts, infection prevalence, clinical interpretations, outbreak recommendations, or evidence of enhanced pathogen function.
Verified scope
Reviewed on 2026-10-01 against official documentation, live schemas for all 15 registered instances, and small public queries. SARS-CoV-2 served LAPIS 0.8.7/SILO 0.14.3; the other registered deployments served LAPIS 0.8.0/SILO 0.11.0. Do not assume identical feature support. Bundled standard-library scripts have synthetic regression tests and bounded live smoke checks. Nextclade, GenoFLU, authenticated APIs, and sequence-level assay validation are not executed here.
| Instance | Host | Common lineage field |
|---|---|---|
sars-cov-2 |
lapis.cov-spectrum.org/open/v2 | pangoLineage (indexed) |
h5n1 |
lapis.genspectrum.org/h5n1 | clade (unindexed) |
h3n2, h1n1pdm |
lapis.genspectrum.org/<name> | cladeHA / cladeNA (unindexed) |
influenza-a |
lapis.genspectrum.org/influenza-a | subtypeHA / subtypeNA |
rsv-a, rsv-b, mpox, measles, dengue, west-nile, hmpv, ebola-zaire, ebola-sudan, cchf |
lapis.pathoplexus.org/<name> | inspect the schema |
The scripts read /sample/databaseConfig. A lineage-index value is currently an identifier
string, not necessarily a boolean. Only indexed fields support descendant NAME* queries.
Use --lineage-field deliberately when several naming systems coexist. Unknown unindexed
values can return zero; that does not verify the name or prove biological absence.
When available, defaults select versionStatus=LATEST_VERSION, isRevocation=false, and
dataUseTerms=OPEN. These are printed with the result and can be overridden explicitly with
--where. Open access to an endpoint is not a blanket data-use license; preserve source
attribution and the applicable Pathoplexus terms.
Workflow
cd skills/pathogen-variant-surveillance/scripts
- Inspect the instance and choose collection date, lineage system, geography, host and data
inclusion rules. Country fields differ: SARS-CoV-2/GenSpectrum use
country; Pathoplexus usesgeoLocCountry. Inspect actual categories before choosing a value. - Review reporting delays before choosing the prevalence window.
- Discover common labels in that window, then verify names in the relevant nomenclature.
- Report counts, denominators, intervals, snapshot version, dates and exclusions together.
Describe observed reporting delay
python3 reporting_lag.py --where country=USA --cohorts 6 --skip-months 3
This groups by both collection and submission/release dates, calculates each date difference,
and reports mean_observed, min_observed, max_observed and contributing cohort count.
It excludes missing dates, unequal collection-date range bounds, negative lags and submissions
after --until. Long offsets use only cohorts old enough to contribute that follow-up.
The result is a CDF conditional on records visible now. It cannot establish eventual completeness,
a trustworthy date, or when a record first appeared in LAPIS. --until sets an analysis anchor;
it does not retrieve an earlier database snapshot. Cohorts receive equal weight, not weight
proportional to sequence count. The contributing cohort set can vary by offset.
Discover and describe weekly proportions
python3 lineage_prevalence.py --top 5 --where country=USA --weeks 12
Discovery ranks exact nonempty labels; unassigned remains a real category. The denominator
includes all selected records, including unassigned/null lineage calls. Overlapping descendant
queries must not be summed. Explicit lineage examples below illustrate syntax, not current dominance:
python3 lineage_prevalence.py "XFG*" --where country=USA --weeks 16 --growth --lag-days 90
Here 90 is an illustrative user-selected exclusion horizon, not a universal measured lag.
…
FAQ
Does this tell me how many people are sick?
No, this tool analyzes pathogen genetic sequences, not the number of cases or disease severity. The data is about variant presence, not people's health.
Can variant names change?
Yes, pathogen lineage names can be updated or changed. This tool can help check current names and if any changes have occurred.
Can I use this to predict future pandemics?
No, this tool describes what is happening now or in the recent past based on available data. It does not predict the future or offer clinical or public health recommendations.
Details
Original description by the author
Queries public GenSpectrum LAPIS data for pathogen genomic surveillance, current lineage nomenclature, weekly sequence proportions, reporting delays, and descriptive mutation frequencies. Use for variant surveillance, Pango lineage validation, dominant submitted lineages, Nextclade assignment provenance, SARS-CoV-2, influenza/H5N1 clades, RSV, mpox, measles, dengue, or LAPIS queries. Distinguishes
Popularity
- GitHub stars
- 51k
- Ranking position
- #1930
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
13c-metabolic-flux
Estimates metabolic fluxes using carbon-13 isotope tracing data. It is useful for analyzing cellular metabolism and biochemical pathways.
K-Dense-AI/scientific-agent-skills
adaptyv
Designs protein characterization experiments using the Adaptyv API. It helps estimate costs, submit sequences, and monitor lab results.
K-Dense-AI/scientific-agent-skills
aeon
Performs machine learning tasks on time series data. It is useful for classifying, forecasting, detecting anomalies, and finding patterns in sequential data.
K-Dense-AI/scientific-agent-skills
alphagenome
Looks up precomputed genomic effects for genetic variants. It provides scores and explanations to understand the impact of variants on the genome.
K-Dense-AI/scientific-agent-skills
Similar skills
dashboard-builder
Helps your agent create useful monitoring dashboards. It turns data into charts that answer important system questions.
affaan-m/ECC
dev-team
Simulates a collaborative development team where different roles respond to a problem together. It's useful for getting multiple perspectives without manually switching agents.
affaan-m/ECC
ecc-council
Has your agent convene a four-voice council for difficult decisions. It's useful when there are multiple good options and debate is needed before choosing.
affaan-m/ECC