just-prs-mcp: Instructions file for Codex

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.

This is dna-seq/just-prs-mcp's own configuration. It tells Codex and OpenCode how to work on just-prs-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything just-prs-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to dna-seq/just-prs-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/dna-seq/just-prs-mcp/main/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/github.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/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 just-prs-mcp AGENTS.md

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.5 $0.01571 $0.01571
Sonnet 5.5 $0.00785 $0.00785
Haiku 4.5 $0.00393 $0.00393

Measured 2mo ago against content hash b8a798741100, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 2mo ago), licensed MIT. It adds 3,927 tokens to every session, about $0.0157 per session on Opus 5.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

just-prs-mcp AGENTS.md compared with instructions from other repositories

just-prs-mcp AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
just-prs-mcp AGENTS.mddna-seq/just-prs-mcpInstructions file12mo agoMITA3,927Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,649GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot