clingen-link AGENTS.md

clingen-link AGENTS.md is an instructions file for Codex, OpenCode from berntpopp/clingen-link. It costs 2,942 tokens per session, scanned A, original, MIT.

Repository instructions for clingen-link, a Python server that answers gene, disease, and variant questions using ClinGen’s curated evidence.

In plain words
What is it for?
Use it when changing the clingen-link codebase, especially its read-only database snapshot, data pipeline, query layer, or HTTP services.
Why use it?
It gives coding agents the project’s source-of-truth rules, data-refresh process, architecture, and required commands.

Instructions file for CodexOpenCode

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

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/berntpopp/clingen-link/agents-md
Clone the repo
git clone --depth 1 https://github.com/berntpopp/clingen-link

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 clingen-link AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/berntpopp/clingen-link/agents-md.svg)](https://agentmods.dev/instructions/berntpopp/clingen-link/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/berntpopp/clingen-link/agents-md"><img src="https://agentmods.dev/badge/instructions/berntpopp/clingen-link/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 2,942 This file is loaded in full into every session.
When invoked 2,942 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.02942 $0.02942
Opus 5 $0.01471 $0.01471
Sonnet 5 $0.00588 $0.00588
Haiku 4.5 $0.00294 $0.00294

Measured yesterday against content hash fdf8c29fe0bb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

clingen-link 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 yesterday.

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 · 207 lines

How it starts

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

AGENTS.md

Shared repository instructions for agentic coding tools working in clingen-link.

Project

clingen-link is a Python MCP server that grounds gene/disease/variant questions in ClinGen curated evidence across four domains: gene-disease validity, gene dosage, clinical actionability, and variant pathogenicity (ERepo). It is built on the gnomad-link house style: a hand-authored FastMCP v3 facade with the full canonical response envelope and Streamable-HTTP transport (unified / http). Data is served from a self-contained, read-only SQLite snapshot (bundled in the package), with a thin live HTTP layer for single-record drill-down.

Primary areas (under clingen_link/):

  • etl/ — offline snapshot builder (fetch → parse → freshness → build). Never in the request path. Entry: clingen-link refresh (or python -m clingen_link.etl refresh).
  • store/ — read-only SQLite query layer (gene resolution/alias, per-domain queries). Opens the bundled snapshot read-only.
  • api/ — live HTTP layer (httpx.AsyncClient) for ERepo / actionability SEPIO drill-down: semaphore concurrency + jittered retry + queue-wait → rate_limited
    • typed fault taxonomy.
  • services/ — business logic merging store + live; async-lru caching lives here; builds per-record recommended_citation.
  • models/ — Pydantic response models per domain.
  • mcp/ — the MCP surface: facade.py (create_clingen_mcp), errors.py (canonical envelope + run_mcp_tool), next_commands.py, resources.py, shaping.py, and tools/*.py (13 tools grouped by domain).

Entry point: a single typer app at clingen_link/cli.py (clingen-link console script → clingen_link.cli:app) with serve / config / health / refresh / version commands. Logging is structlog (clingen_link/logging_config.py, JSON in prod / console in --dev, with asgi-correlation-id). Other areas:

  • tests/unit/ (default fast path) and integration/ (live drift tests, @pytest.mark.integration, excluded from the default path).
  • docker/ — Dockerfile + Compose overlays + README. The bundled snapshot .zst is shipped in the image.
  • docs/architecture.md, usage.md, and design specs/plans under docs/superpowers/.

Read the full file on GitHub · 207 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. yesterday Changed · +68 lines · +1,278 tokens per session fdf8c29fe0bb
  2. 5d ago First seen · 139 lines · 1,664 tokens per session scan A 197db40aff1c

Subscribe to this mod's changes

clingen-link AGENTS.md is an instructions file published in the GitHub repository berntpopp/clingen-link (0 stars, last pushed yesterday), licensed MIT. It adds 2,942 tokens to every session, about $0.0147 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