uniprot-rcsb

uniprot-rcsb is a skill for Claude Code from K-Dense-AI/drug-discovery-agent-skills. It costs 162 tokens per session (2,467 once invoked), scanned A, original, MIT.

A research-data retrieval skill for finding protein sequences, biological details, and 3D structures in UniProtKB, RCSB PDB, and AlphaFold DB. UniProtKB describes proteins, RCSB PDB stores experimentally determined structures, and AlphaFold DB provides predicted structures.

In plain words
What is it for?
Use it to identify a protein from a gene or name, retrieve sequences and FASTA files, find sites and domains, search for structures by protein, sequence, ligand, or text, download coordinates, and review structure completeness.
Why use it?
It removes the need to search several scientific databases manually and helps check whether a downloaded structure is suitable to use.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: built for openclaw.

Good fit Use it to identify a protein from a gene or name, retrieve sequences and FASTA files, find sites and domains, search for structures by protein, sequence, ligand, or text, download coordinates, and review structure completeness.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/k-dense-ai/drug-discovery-agent-skills/uniprot-rcsb
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 K-Dense-AI/drug-discovery-agent-skills --skill uniprot-rcsb
Clone the repo
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills

Made for: Claude Code.

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 uniprot-rcsb

README.md
[![agentmods](https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/uniprot-rcsb/github.svg)](https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/uniprot-rcsb)
Your own site
<a href="https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/uniprot-rcsb"><img src="https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/uniprot-rcsb/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 uniprot-rcsb

Your own site · 80×15
<a href="https://agentmods.dev/skills/k-dense-ai/drug-discovery-agent-skills/uniprot-rcsb"><img src="https://agentmods.dev/badge/skills/k-dense-ai/drug-discovery-agent-skills/uniprot-rcsb.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,467 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.00162 $0.02467
Opus 5 $0.00081 $0.01234
Sonnet 5 $0.00032 $0.00493
Haiku 4.5 $0.00016 $0.00247

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

Security

Grade A, and why

uniprot-rcsb 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.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/_common.py, scripts/fetch_structure.py, scripts/rcsb_search.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/uniprot-rcsb/SKILL.md · 178 lines

How it starts

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

UniProt, RCSB PDB, and AlphaFold DB

The retrieval layer under every structure-based workflow: sequence in, annotation and coordinates out, plus the checks that decide whether those coordinates are worth using.

Services: rest.uniprot.org · search.rcsb.org · data.rcsb.org · files.rcsb.org · alphafold.ebi.ac.uk. All unauthenticated.

Read references/uniprot-api.md for query and field syntax, references/rcsb-search.md for search attributes and the data API, and references/choosing-a-structure.md before committing to a structure — that one is judgement, not syntax.

The four scripts

Script Answers
uniprot_fetch.py What is this protein, what is its sequence, where are its sites, what ids does it map to
rcsb_search.py Which structures exist, and which are worth downloading
fetch_structure.py Get the coordinates — experimental, assembly, predicted, or ligand
structure_report.py Is this file actually usable, and what is missing from it

Sequence and annotation

python skills/uniprot-rcsb/scripts/uniprot_fetch.py entry P00533
python skills/uniprot-rcsb/scripts/uniprot_fetch.py search "gene:EGFR AND organism_id:9606 AND reviewed:true"
python skills/uniprot-rcsb/scripts/uniprot_fetch.py fasta P00533 --isoforms
python skills/uniprot-rcsb/scripts/uniprot_fetch.py features P00533 --types Binding,Active,Mutagenesis
python skills/uniprot-rcsb/scripts/uniprot_fetch.py map P00533 P04637 --to PDB

Put reviewed:true in almost every search. UniProtKB is ~0.5 % Swiss-Prot (curated) and ~99.5 % TrEMBL (automatic); without the flag a gene-name search returns fragments and predicted isoforms above the entry you wanted. The script reports the reviewed/unreviewed split and warns when nothing reviewed matched.

Read the full file on GitHub · 178 lines

Files

What ships with it

8 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 · 178 lines · 162 tokens per session scan A de3632ab102b

Subscribe to this mod's changes

uniprot-rcsb is a skill published in the GitHub repository K-Dense-AI/drug-discovery-agent-skills (28 stars, last pushed 5d ago), licensed MIT. It adds 162 tokens to every session and 2,467 once invoked, about $0.0008 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.