pathogen-variant-surveillance
정보
이 스킬은 GenSpectrum LAPIS API를 통해 실시간 유전체 감시 데이터를 조회하여, 현재 유행하는 병원체 계통, 그 성장률 및 변이에 대한 실시간 통찰력을 제공합니다. 이는 우세 변이, 계통 유병률, 검사 대상 일치 등 병원체 집단의 현재 상태에 관한 질문에 답하기 위해 설계되었습니다. 정적이고 기억된 사실에 의존하기보다는 동적인 감시 데이터를 활용할 때 사용하십시오.
빠른 설치
Claude Code
추천npx skills add K-Dense-AI/claude-scientific-skills -a claude-code/plugin add https://github.com/K-Dense-AI/claude-scientific-skillsgit clone https://github.com/K-Dense-AI/claude-scientific-skills.git ~/.claude/skills/pathogen-variant-surveillanceClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Pathogen Variant Surveillance
When to use
Any time an answer depends on what a pathogen population looks like now: which lineages are circulating, whether one is growing, what a lineage name currently means, or whether an assay target still matches.
The rule
Never state what is circulating, and never write a lineage name, from memory.
Three things go wrong at once, and only the first is an ordinary knowledge-cutoff problem:
- Names post-date training. The Pango designation list carries over 6,200 names and grows continuously.
- The nomenclature is a live data structure, not a convention.
XFGis a recombinant that only resolves throughalias_key.json;PQ.17unaliases toXDV.1.5.1.1.8.1.17. Neither expansion is derivable by reasoning — the mapping is a file that changes. - Prior knowledge gets retracted, not just outdated. 294 names in the current
lineage_notes.txtare withdrawn or redesignated.PC.2is nowLF.7.9;XFG.20was withdrawn outright. A remembered lineage fact is not merely stale, it can be actively wrong.
Every number this skill reports is a count returned by a live instance, stamped with the data version it came from.
Scope
Surveillance data analysis for research. This skill describes sequences that were collected and submitted; it does not produce clinical interpretations, outbreak-response recommendations, or public-health guidance, and sequence counts are not case counts.
Instances
One API shape covers every pathogen. --instance names a verified deployment; --base-url
reaches any other LAPIS instance.
| Instance | Host | Lineage column | Indexed |
|---|---|---|---|
sars-cov-2 | lapis.cov-spectrum.org (open GenBank data) | pangoLineage | yes |
h5n1, h3n2, h1n1pdm, influenza-a | lapis.genspectrum.org | clade | no |
rsv-a, rsv-b, mpox, measles, dengue, west-nile, hmpv, ebola-zaire, ebola-sudan, cchf | lapis.pathoplexus.org | varies | varies |
Field names differ per instance and are never assumed. Every script reads
/sample/databaseConfig at run time and picks the collection-date, submission-date and lineage
columns from what the instance actually declares. dateFrom= is correct on SARS-CoV-2 and a hard
400 on H5N1, whose collection date is sampleCollectionDateRangeLower.
Scripts
cd skills/pathogen-variant-surveillance/scripts
| Script | Question answered |
|---|---|
resolve_lineage.py | Does this name still exist, what does it expand to, what is it descended from? |
lineage_prevalence.py | What share of sequences is this lineage, week by week, and is it growing? |
mutation_profile.py | What mutations does it carry, and how does it differ from another lineage? |
reporting_lag.py | How far back does the data have to go before it can be trusted? |
All four take --format table|tsv|json and print provenance (instance, data version, resolved
field names, filters) to stderr, so > out.tsv keeps the data clean and the provenance visible.
Start from the data, not from a remembered list
# no names: discover what is actually circulating in the window
python3 lineage_prevalence.py --top 5 --where country=USA --weeks 12
note: discovered the 5 most common pangoLineage values in the window: XFG.1.1, XFG.23.1.3, PY.1.1.1, XFJ.3.1.2, PQ.17
This is the right first command for "what is circulating". Naming lineages up front presumes you already know which ones matter, which is the assumption this skill exists to remove.
Check a name before using it
python3 resolve_lineage.py XFG.23.1.3 PQ.17 PC.2 NOTALINEAGE
query status unaliased parent recombinant_of descendants sequences detail
XFG.23.1.3 current XFG.23.1.3 XFG.23.1 LF.7+LP.8.1.2 6 317 S:A1174V, on C29137T branch
PQ.17 current XDV.1.5.1.1.8.1.17 NB.1.8.1 23 931 Alias of XDV.1.5.1.1.8.1.17
PC.2 withdrawn B.1.1.529.2.86.1.1.16.1.7.2.1.2 LF.7.2.1 4 25 now LF.7.9; Redesignated as LF.7.9
NOTALINEAGE unknown NOTALINEAGE 0 n/a no such name in the live nomenclature
(detail abridged; each real row also cites the lineage proposal it came from.)
Exit code is 1 if any name is withdrawn or unknown, so it gates a manuscript's lineage list.
Note PC.2: withdrawn upstream, yet 25 sequences still carry the label because the instance's
assignments lag designation. Both facts are true and both matter.
Prevalence and growth
python3 lineage_prevalence.py "XFG.1.1*" "XFJ*" --where country=USA --weeks 16 --growth
lineage week n total proportion ci_low ci_high coverage
XFG.1.1* 2026-05-04 42 80 0.5250 0.4170 0.6308 ok
XFG.1.1* 2026-06-15 3 49 0.0612 0.0210 0.1652 ok
XFG.1.1* 2026-06-29 1 30 0.0333 0.0059 0.1667 low
XFG.1.1* 2026-07-13 0 0 low
Proportions carry Wilson intervals because surveillance weeks are small. Weeks whose denominator
has not filled in yet are flagged low and excluded from the growth fit unless
--include-incomplete.
The window is widened to whole ISO weeks, and says so when it does. A window starting mid-week would give a first row covering three days and a last row covering four, neither comparable to the full weeks between them.
--growth reports a weighted least-squares slope of log-odds against time. It is descriptive:
it absorbs every change in who is sequencing, where, and how fast they report. It is not a fitness
or transmissibility estimate. No slope is printed for a lineage with too few observations — see the
trap table for why that guard exists.
Mutations, and whether an assay still matches
python3 mutation_profile.py "XFJ*" --versus "XFG*" --gene S --since 2026-01-01
mutation gene position verdict prop_a prop_b n_a n_b
S:L441R S 441 gained 1.000 0.000 66 0
S:A475V S 475 gained 1.000 0.000 68 0
S:K444R S 444 lost 0.000 0.996 0 5031
S:Q493E S 493 lost 0.000 0.998 0 5359
Works the same on a segmented genome — --instance h5n1 --gene HA or --gene seg4. Use
--nucleotide for primer and probe questions, where the codon is not the unit that matters.
Decide how far back to trust
python3 reporting_lag.py --where country=USA
lag_days mean_complete min_complete max_complete cohorts
14 0.456 0.332 0.557 6
30 0.677 0.580 0.822 6
60 0.868 0.802 0.949 6
90 0.939 0.916 1.000 6
90% of a cohort has arrived by 90 days. Trust collection dates up to 2026-04-28; treat anything later as provisional.
Run this before quoting any recent prevalence. The curve differs sharply by pathogen and country: on H5N1 the same measurement returns 0% complete at 14 days and 15% at 30 days, so a "current" H5N1 picture is effectively blind for two months.
Traps that produce silently wrong answers
All verified against the live API on 2026-07-27. These are why this skill ships scripts rather
than a recipe; full detail in references/lapis-api.md.
| Trap | Consequence |
|---|---|
| A bare lineage name excludes its descendants | pangoLineage=XFG returns 4 sequences; XFG* returns 640 |
A trailing * needs a lineage index | On H5N1 clade=2.3.4.4b returns 62,413 and clade=2.3.4.4b* returns 0 — the same syntax, the opposite meaning |
| Field names are per-instance | dateFrom is a 400 on H5N1; the collection date is sampleCollectionDateRangeLower |
Only date-typed fields take ranges | H5N1 types sampleCollectionDate as a string, so it has no From/To keys at all |
| Recent weeks are not a sample of what circulated | They are a sample of whoever reports fastest; only 29% of a US cohort arrives within 7 days |
| LAPIS roots recombinants | Asking it for XFG's parents returns nothing; only alias_key.json records XFG = LF.7 + LP.8.1.2 |
| Withdrawn names persist in the data | PC.2 was redesignated LF.7.9 upstream while sequences still carry PC.2 |
| An unknown name fails loudly only when indexed | Indexed columns reject a typo with a 400; unindexed columns answer 0 |
Mutation proportion is over coverage | Not over all matching sequences — a poorly covered site can show 1.000 on very few reads |
/sample/aggregated rejects limit/orderBy | The result has no inherent ordering; sort client-side |
Reporting results
State the instance, the data version, the filters, and the window — a prevalence figure without them cannot be reproduced, because the underlying database changes daily. Give counts alongside proportions, quote the interval, and say explicitly when a window is too recent to support an estimate. "No reliable estimate for the last six weeks" is a legitimate and often correct answer.
References
references/lapis-api.md— endpoints, filter grammar, per-instance schema differences, the instance registry, and every verified trap in full.references/lineage-nomenclature.md— Pango aliases and recombinants, designation churn, Nextstrain clades, WHO labels, influenza clades, H5N1 clades and genotypes, and how the naming systems map onto each other.references/surveillance-caveats.md— reporting lag, sampling and ascertainment bias, choosing a denominator, interval and growth interpretation, and the conclusions this data cannot support.
GitHub 저장소
자주 묻는 질문
pathogen-variant-surveillance Skill이란 무엇인가요?
pathogen-variant-surveillance은(는) K-Dense-AI이(가) 만든 Claude Skill입니다. Skill은 Claude가 필요할 때 불러오는 지침과 리소스를 묶어 추가 프롬프트 없이 pathogen-variant-surveillance 관련 작업을 수행할 수 있게 합니다.
pathogen-variant-surveillance은(는) 어떻게 설치하나요?
이 페이지의 설치 명령을 사용하세요. pathogen-variant-surveillance을(를) Claude Code 플러그인으로 추가하거나 저장소를 skills 디렉터리에 복제한 다음 Claude를 다시 시작해 Skill을 불러옵니다.
pathogen-variant-surveillance은(는) 어떤 카테고리에 속하나요?
pathogen-variant-surveillance은(는) 디자인 카테고리에 속합니다.
pathogen-variant-surveillance은(는) 무료로 사용할 수 있나요?
네. pathogen-variant-surveillance은(는) AIMCP에 등록되어 있으며 무료로 설치할 수 있습니다.
연관 스킬
executing-plans 스킬은 검토 체크포인트가 포함된 통제된 배치로 실행할 완전한 구현 계획이 있을 때 사용합니다. 이 스킬은 계획을 불러와 비판적으로 검토한 후, 소규모 배치(기본값 3개 작업)로 작업을 실행하면서 각 배치 사이에 진행 상황을 아키텍트 검토를 위해 보고합니다. 이를 통해 내재된 품질 관리 체크포인트를 갖춘 체계적인 구현이 보장됩니다.
이 스킬은 코드 변경 사항을 요구 사항에 따라 분석하기 위해 코드 리뷰어 하위 에이전트를 호출합니다. 작업 완료 후, 주요 기능 구현 후, 또는 메인 브랜치에 병합하기 전에 사용해야 합니다. 이 리뷰는 현재 구현체와 원래 계획을 비교하여 문제를 조기에 발견하는 데 도움이 됩니다.
이 스킬은 개발자들이 HTTP, stdio 또는 SSE 전송 방식을 통해 MCP 서버를 Claude Code에 연결하는 포괄적인 가이드를 제공합니다. GitHub, Notion 및 사용자 정의 API와 같은 외부 서비스를 통합하기 위한 설치, 구성, 인증 및 보안을 다룹니다. MCP 통합 설정, 외부 도구 구성 또는 Claude의 모델 컨텍스트 프로토콜 작업 시 활용하세요.
이 스킬은 작업 분석을 기반으로 개발자가 Claude Code 웹 인터페이스와 CLI 인터페이스 중 선택할 수 있도록 돕고, 두 환경 간 원활한 세션 텔레포트를 가능하게 합니다. 웹, CLI 또는 모바일 환경 전환 시 세션 상태와 컨텍스트를 관리하여 워크플로를 최적화합니다. 다양한 단계에서 서로 다른 도구가 필요한 복잡한 프로젝트에 사용하세요.
