Polygenic Risk Score (PGS Catalog)

Polygenic Risk Score (PGS Catalog) is a skill for Claude Code, Codex from TianGzlab/OmicsClaw. It costs 9 tokens per session (2,621 once invoked), scanned A, original, Apache-2.0.

A workflow for calculating polygenic risk scores from published weights in the PGS Catalog. A polygenic risk score combines many genetic variants to estimate inherited predisposition to a trait.

In plain words
What is it for?
Use it for one or more traits, multi-trait risk profiles and population comparisons across ancestry groups; use a different workflow for de novo scores from raw GWAS results.
Why use it?
It lets you use existing peer-reviewed variant weights without starting from raw genome-wide association study summary statistics or computing new linkage patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for one or more traits, multi-trait risk profiles and population comparisons across ancestry groups; use a different workflow for de novo scores from raw GWAS results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tiangzlab/omicsclaw/polygenic-risk-score-prs-catalog
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TianGzlab/OmicsClaw --skill polygenic-risk-score-prs-catalog
Clone the repo
git clone --depth 1 https://github.com/TianGzlab/OmicsClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Polygenic Risk Score (PGS Catalog)

README.md
[![agentmods](https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/polygenic-risk-score-prs-catalog/github.svg)](https://agentmods.dev/skills/tiangzlab/omicsclaw/polygenic-risk-score-prs-catalog)
Your own site
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/polygenic-risk-score-prs-catalog"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/polygenic-risk-score-prs-catalog/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Polygenic Risk Score (PGS Catalog)

Your own site · 80×15
<a href="https://agentmods.dev/skills/tiangzlab/omicsclaw/polygenic-risk-score-prs-catalog"><img src="https://agentmods.dev/badge/skills/tiangzlab/omicsclaw/polygenic-risk-score-prs-catalog.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,621 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00009 $0.02621
Opus 5 $0.00005 $0.01311
Sonnet 5 $0.00002 $0.00524
Haiku 4.5 $0.00001 $0.00262

Measured 12d ago against content hash 4953877fe00d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

Polygenic Risk Score (PGS Catalog) scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

knowledge_base/polygenic-risk-score-prs-catalog/SKILL.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Polygenic Risk Score (PGS Catalog)

When to Use This Skill

  • You have a trait of interest and want to calculate PRS using published, peer-reviewed weights
  • Multi-trait risk profiling (e.g., cardiometabolic panel: CAD, T2D, LDL, BMI, blood pressure)
  • Population comparisons of genetic risk across ancestry groups
  • No GWAS summary statistics needed — uses pre-computed weights from PGS Catalog
  • Quick PRS — minutes per trait (download + score), no LD computation required

For de novo PRS from raw GWAS summary statistics, use the polygenic-risk-score skill (LDpred2-auto) instead.

Installation

install.packages(c("data.table", "ggplot2", "ggprism", "dplyr", "R.utils", "jsonlite", "remotes"))
remotes::install_github("privefl/bigsnpr")
Software Version License Commercial Use Install
bigsnpr ≥1.12 GPL-3 ✅ Permitted remotes::install_github("privefl/bigsnpr")
data.table ≥1.14 MPL-2.0 ✅ Permitted install.packages('data.table')
ggplot2 ≥3.4 MIT ✅ Permitted install.packages('ggplot2')
ggprism ≥1.0.3 GPL (≥3) ✅ Permitted install.packages('ggprism')
dplyr ≥1.1 MIT ✅ Permitted install.packages('dplyr')
jsonlite ≥1.8 MIT ✅ Permitted install.packages('jsonlite')
R.utils ≥2.12 LGPL (≥2.1) ✅ Permitted install.packages('R.utils')

Inputs

  • Target genotypes: PLINK binary format (.bed/.bim/.fam) — or use 1000 Genomes Phase 3 example data (2,490 individuals, 5 super-populations)
  • PGS Catalog score IDs: One or more PGS IDs (e.g., PGS000018 for CAD) — use search_pgs_catalog() to discover available scores
  • Genome build: GRCh37 (default, matches 1000 Genomes) or GRCh38

Outputs

Per-trait files:

  • prs_scores_<trait>.csv — Individual PRS (z-scores, percentiles, population labels)
  • distribution_<trait>.png/svg — PRS distribution histogram
  • population_<trait>.png/svg — PRS by super-population boxplot

Read the full file on GitHub · 201 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 201 lines · 9 tokens per session scan A 4953877fe00d

Subscribe to this mod's changes

Polygenic Risk Score (PGS Catalog) is a skill published in the GitHub repository TianGzlab/OmicsClaw (160 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 9 tokens to every session and 2,621 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

scanpy

Standard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, and visualization. Best for exploratory scRNA-seq analysis with established workflows. For deep learning models use scvi-tools; for data format questions use…

synthetic-sciences/openscience · 68 tokens

cellxgene-census-query

Query CZ CELLxGENE Census (61M+ cells). Filter by cell type/tissue/disease, retrieve expression data, and integrate with scanpy/PyTorch for population-scale single-cell analysis. Use this skill when: (1) Querying single-cell expression data by cell type, tissue, or disease, (2) Exploring available single-cell datasets…

PharMolix/OpenBioMed · 105 tokens

single-cell-scrna-seq-analysis-scanpy

Complete single-cell RNA-seq analysis workflow built on Scanpy and AnnData. Use this skill when: (1) Loading diverse single-cell data formats (10X, h5ad, CSV), (2) Performing quality control and filtering, (3) Normalization, dimensionality reduction, and clustering, (4) Marker gene identification and cell type…

PharMolix/OpenBioMed · 85 tokens

single-cell-multi-omics-analysis-scvi

Probabilistic deep learning framework for single-cell multi-omics data analysis. Use this skill when: (1) Analyzing single-cell RNA-seq data with batch correction, (2) Integrating multi-modal data (CITE-seq, ATAC-seq, multi-omics), (3) Performing cell type annotation with scANVI, (4) Spatial transcriptomics…

PharMolix/OpenBioMed · 94 tokens

single-cell

Single-cell analysis pipeline covering scRNA-seq, snRNA-seq, and CyTOF (mass cytometry) — QC, normalization, integration, clustering, annotation, differential expression, trajectory, cell communication, and TF activity inference.

inflexa-ai/inflexa · 50 tokens

anndata

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

synthetic-sciences/openscience · 63 tokens