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.
npx agentmods add instructions/rcsb/rcsb-mcp/agents-mdgit clone --depth 1 https://github.com/rcsb/rcsb-mcpWrote 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.
[](https://agentmods.dev/instructions/rcsb/rcsb-mcp/agents-md)<a href="https://agentmods.dev/instructions/rcsb/rcsb-mcp/agents-md"><img src="https://agentmods.dev/badge/instructions/rcsb/rcsb-mcp/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01495 | $0.01495 |
| Opus 5 | $0.00747 | $0.00747 |
| Sonnet 5 | $0.00299 | $0.00299 |
| Haiku 4.5 | $0.00150 | $0.00150 |
Grade A, and why
rcsb-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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md — working on the rcsb-mcp repo
Guidance for AI coding agents (and humans) modifying this repository. This is an MCP server that lets an LLM interrogate Protein Data Bank structures across three RCSB APIs: Search (REST), Data (GraphQL), and Sequence Coordinates (GraphQL).
The runtime assistant persona and output format are not here — they live in
src/rcsb_mcp/prompts/pdb_assistant.md, served over MCP as thepdb_assistantprompt (see "Two layers" below). Keep that split.
Layout
src/rcsb_mcp/
server.py MCP server: @mcp.tool() tools, the @mcp.prompt() persona, HTTP calls, schema introspection
queries.py PURE request-body builders (no network) + the DATA_OBJECTS registry
search_attributes.py SEARCH_ATTRIBUTES catalog (structure search schema)
chemical_search_attributes.py CHEMICAL_SEARCH_ATTRIBUTES catalog — auto-generated (see scripts/)
prompts/pdb_assistant.md Assistant persona + HTML-report format; served as the `pdb_assistant` MCP prompt (package data)
tests/
test_queries.py Network-free unit tests for the query builders
test_server.py Network-free tests for non-builder server logic (schema flatten), via a synthetic schema
Architecture & conventions
- Pure builders vs. I/O.
queries.pybuilds request bodies and contains no network code, so it stays unit-testable.server.pydoes the HTTP and exposes the tools. Keep new query-construction logic inqueries.py. - The
DATA_OBJECTSregistry (queries.py) drives every Data APIrcsb_get_*tool: one entry per GraphQL root field (root field, id arg, batch/single, default field selection). Adding a Data API object is ideally a one-line registry entry. - Compact defaults +
fields=overrides. Eachrcsb_get_*/rcsb_seqcoord_*tool returns a curated compact field selection but accepts afields=override;rcsb_describe_data_object(browse a level, drill in withinto=, or keyword-search the schema withquery=+max_depth=) andrcsb_describe_seqcoord_objectintrospect the live schema for field discovery. There is no raw-GraphQL passthrough tool any more: everything goes through a typed tool'sfields=. Don't try to make defaults exhaustive — and don't inventfields=paths; discover them against the live schema first. - Server
instructions= tool-usage guidance only (routing, chaining, return types). Do not put application/presentation policy there — it's always-on for every client. That belongs in the project prompt.
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.
- 5d ago First seen · 110 lines · 1,495 tokens per session scan A a42de66a1d4c
rcsb-mcp AGENTS.md is an instructions file published in the GitHub repository rcsb/rcsb-mcp (3 stars, last pushed 18d ago), licensed MIT. It adds 1,495 tokens to every session, about $0.0075 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.
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.
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.
research-automation CLAUDE.md
Instructions for lucafusarbassini/research-automation, covering ricet - research automation framework, project overview, claude-flow mcp, workflow habits and file organization.
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.
SciCrucible CLAUDE.md
Claude Code instructions for Xinyang-Li666/SciCrucible, covering 科学知识库, 知识库结构, 可用命令, 项目目录 and 工作原则.
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.