just-prs-mcp AGENTS.md

just-prs-mcp AGENTS.md is an instructions file for Codex, OpenCode from dna-seq/just-prs-mcp. It costs 3,927 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working with just-prs, a tool for searching genetic-study scores and calculating polygenic risk scores. Polygenic risk scores estimate a trait or disease tendency from many genetic variants; VCF files are a common format for genetic data.

In plain words
What is it for?
Running demonstrations or tests of risk-score calculations and genetic-data normalization with the provided sample genomes.
Why use it?
It gives agents the project’s preferred commands, testing guidance, and sample whole-genome datasets, reducing guesswork when working on the code.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

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.

agentmods
npx agentmods add instructions/dna-seq/just-prs-mcp/agents-md
Clone the repo
git clone --depth 1 https://github.com/dna-seq/just-prs-mcp

Made for: Codex, OpenCode.

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 just-prs-mcp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/dna-seq/just-prs-mcp/agents-md.svg)](https://agentmods.dev/instructions/dna-seq/just-prs-mcp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/dna-seq/just-prs-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/dna-seq/just-prs-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 3,927 This file is loaded in full into every session.
When invoked 3,927 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.03927 $0.03927
Opus 5 $0.01963 $0.01963
Sonnet 5 $0.00785 $0.00785
Haiku 4.5 $0.00393 $0.00393

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

Security

Grade A, and why

just-prs-mcp AGENTS.md 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 5d 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.

AGENTS.md · 251 lines

How it starts

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

AGENTS.md

Guidance for coding agents (Claude Code, Cursor, Codex, Antigravity, …) working in this repository. Humans: see README.md.

What this is

An MCP server wrapping the just-prs library (PGS Catalog + polygenic risk score computation). Built on uv + FastMCP. It started life as a generic FastMCP template; the cake demo has been replaced with real PRS tools, but the template's patterns (mode gating, structured I/O, in-memory tests) are kept.

Pre-configured Test Genomes

For testing, benchmarking, or demonstration purposes, two public whole-genome sequencing (WGS) datasets are pre-configured in the server's download_sample_genome tool:

  • Anton Kulaga's Genome (CC0 / Public Domain): Zenodo Record 18370498
    • VCF File: antonkulaga.vcf (~482 MB)
    • Parameter: sample="anton"
  • Livia Zaharia's Genome (CC-BY-4.0): Zenodo Record 19487816
    • VCF File: SIMHIFQTILQ.hard-filtered.vcf.gz (~349 MB)
    • Parameter: sample="livia"

Quick Play for Agents:

If you are asked to demonstrate or test any PRS computation or VCF normalization, you can download and use these genomes automatically:

  1. Call download_sample_genome(sample="anton") or download_sample_genome(sample="livia").
  2. The download can take several minutes. It auto-normalizes by default (auto_normalize=True), so on success data carries both path (raw VCF) and normalized_path (reusable Parquet). Pass auto_normalize=False for the raw VCF only.
  3. Compute tools accept data["path"] directly. The normalized path is only an optional fast path for repeated reuse: pass it to compute_prs / compute_prs_batch (as genotypes_path), or to compute_prs_by_trait as samples=["Label=<normalized_path>"] (one genome is a one-element list).

Both the download and the normalization are idempotent (size-matched VCF / existing Parquet are reused; reused_cache / normalized_reused flag the hit). A user's own local VCF does not need an explicit normalize_vcf call: pass it directly to compute. Use normalize_vcf only when deliberately creating a reusable Parquet or applying custom normalization filters; check list_genomes first for an existing cached Parquet. Multi-score tools transparently prepare/reuse that cache by default (PRS_MCP_AUTO_CACHE_VCF_FOR_BATCH=true). Arbitrary local VCF cache names include a hash of the resolved source path, so same-basename files from different families cannot collide. Reuse requires readable Parquet at least as new as the VCF; custom filter configurations get distinct suffixed cache paths.

Read the full file on GitHub · 251 lines

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. 5d ago First seen · 251 lines · 3,927 tokens per session scan A b8a798741100

Subscribe to this mod's changes

just-prs-mcp AGENTS.md is an instructions file published in the GitHub repository dna-seq/just-prs-mcp (1 stars, last pushed 19d ago), licensed MIT. It adds 3,927 tokens to every session, about $0.0196 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-31.

Related

Other instructions, from other repositories

bio-gene-to-reference-tree copilot-instructions.md

Copilot instructions for Hongda-Zhao/bio-gene-to-reference-tree, a project described as: Auditable agent skill for resolving protein queries, selecting references, and planning reproducible phylogenetic trees.

Hongda-Zhao/bio-gene-to-reference-tree · 105 tokens

braina GEMINI.md

Instructions for brainets/braina, covering project: braina (brain interaction analysis), 1. project context & purpose, 2. commands, verify environment (all core dependencies) and run the verification test suite for frites + hoi.

brainets/braina · 1,269 tokens

research-automation CLAUDE.md

Instructions for lucafusarbassini/research-automation, covering ricet - research automation framework, project overview, claude-flow mcp, workflow habits and file organization.

lucafusarbassini/research-automation · 904 tokens

shannon-prover CLAUDE.md

Claude Code instructions for SkyShannonProver/shannon-prover, covering shannon prover: claude entry point, current boundary, easycrypt environment, eval safety and current documentation.

SkyShannonProver/shannon-prover · 586 tokens

SciCrucible CLAUDE.md

Claude Code instructions for Xinyang-Li666/SciCrucible, covering 科学知识库, 知识库结构, 可用命令, 项目目录 and 工作原则.

Xinyang-Li666/SciCrucible · 1,107 tokens

torchcell CLAUDE.md

Claude Code instructions for Mjvolk3/torchcell, covering vision -- the virtual cell (north star), for local configs, git worktrees, programming guide and provenance & reproducibility.

Mjvolk3/torchcell · 12,957 tokens