/atomistic-skills:drug-db-pdbfrom Atomistic Skills
Searches, filters, and retrieves macromolecular structures from the RCSB Protein Data Bank (PDB) by keyword, organism, experimental method, and resolution. Supports metadata, bound ligand extraction, coordinate downloads (mmCIF/PDB), and wwPDB validation reports for drug discovery workflows.
Ships in Atomistic Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
To programmatically discover and retrieve protein (and protein-ligand complex) structures from the RCSB Protein Data Bank (PDB) by combining the RCSB Search API (to find matching PDB IDs) with the RCSB Data API (to retrieve rich metadata and ligand information), and optionally downloading coordinate files (PDB/mmCIF) and wwPDB validation reports for downstream modeling.
Keep downloaded coordinates/JSON in a reproducible folder.
mkdir -p research/db-pdb/ace2_example
Uses the RCSB Search API to return the top scoring PDB IDs for a query.
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/query_pdb.py \
--search "kinase inhibitor" \
--max_results 10 \
--output research/db-pdb/kinase_results.json
For ligand modeling, you often want:
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/query_pdb.py \
--search "ACE2" \
--organism "Homo sapiens" \
--method "X-RAY DIFFRACTION" \
--resolution 2.5 \
--max_results 25 \
--output research/db-pdb/ace2_xray_le2p5.json
This pulls metadata via the Data API and (by default) also collects bound ligands by enumerating non-polymer entities.
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/query_pdb.py \
--pdb_id 1HSG \
--output research/db-pdb/1hsg_info.json
The PDB ecosystem's canonical archival format is PDBx/mmCIF (legacy PDB format can be unavailable or insufficient for very large structures).
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/query_pdb.py \
--pdb_id 1HSG \
--download mmcif \
--download_dir research/db-pdb/structures \
--output research/db-pdb/1hsg_with_file.json
Quality assessment for experimental structures is standardized via wwPDB validation reports; these are especially important for ligand-bound structures in drug discovery workflows.
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/query_pdb.py \
--pdb_id 1HSG \
--download_validation \
--download_dir research/db-pdb/validation \
--output research/db-pdb/1hsg_with_validation.json
Search HIV-1 protease entries, then fetch + download the best candidate:
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/query_pdb.py \
--search "HIV-1 protease" \
--method "X-RAY DIFFRACTION" \
--resolution 2.0 \
--max_results 10 \
--output research/db-pdb/hiv1_protease_candidates.json
${CLAUDE_SKILL_DIR}/../../venv/run cpu python ${CLAUDE_SKILL_DIR}/scripts/query_pdb.py \
--pdb_id 1HSG \
--download mmcif \
--download_validation \
--download_dir research/db-pdb/hiv1_protease_files \
--output research/db-pdb/1hsg_full.json
cpu environment.Author: Matthew Cox Contact: GitHub @mcox3406
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub learningmatter-mit/atomisticskills --plugin atomistic-skills133 skills in this plugin
/chem-bond-dissociationCalculate homolytic and heterolytic bond dissociation energies (BDEs) for all single bonds in a molecule using MLIPs with RDKit fragmentation./chem-conformer-searchGenerate molecular conformers with RDKit ETKDG, relax with MLIPs, and rank by energy with Boltzmann weighting./chem-db-mofQuery multiple MOF databases (QMOF via MPContribs; ARC-MOF DB7/Majumdar et al. via Materials Cloud) and download CIF structures with optional element or identifier filters.Other plugins' skills for the same job