Skip to content
Back to skills

Rcsb Pdb Search

ASecurity

Use this skill to search the Protein Data Bank through the official RCSB Search API when you need structure identifiers from a free-text query. Do not use it when you need structure download or coordinate parsing.

  • 38 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
ai-agentspythonapi

Works with

  • api

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill rcsb-pdb-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rcsb Pdb Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rcsb Pdb Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-rcsb-pdb-search/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-rcsb-pdb-search)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rcsb-pdb-search
description: Use this skill to search the Protein Data Bank through the official RCSB Search API when you need structure identifiers from a free-text query. Do not use it when you need structure download or coordinate parsing.
---

## Purpose
Run lightweight RCSB PDB entry searches and save the result set as JSON.

## When to use
- You need a quick structure search from a protein, ligand, or concept keyword.
- You want PDB entry IDs for downstream structural analysis.

## When not to use
- You need mmCIF/PDB coordinate files.
- You need local structural parsing rather than remote search.

## Inputs
- Query string
- Optional `--rows` and `--out`

## Outputs
- Search API JSON containing PDB entry identifiers

## Requirements
- Python 3.13+
- Network access to `search.rcsb.org`

## Procedure
1. Run `python3 skills/structural-biology/rcsb-pdb-search/scripts/search_rcsb.py --query hemoglobin --rows 3 --out skills/structural-biology/rcsb-pdb-search/assets/hemoglobin_results.json`.
2. Review `total_count` and `result_set`.

## Validation
- Command exits successfully.
- Output JSON contains `result_set`.
- At least one structure ID is returned for a common query.

## Failure modes and fixes
- Empty results: broaden the text query.
- HTTP errors: retry later or reduce result count.

## Safety and limits
- This is a metadata search skill, not a molecular modeling workflow.

## Examples
- `python3 .../search_rcsb.py --query "p53" --rows 2`

## Provenance
- RCSB Search API docs: https://search.rcsb.org/

## Related skills
- `ensembl-gene-lookup`

Files in this skill

  • SKILL.md1.5 KB
  • assets/README.md56 B
  • assets/hemoglobin_results.json338 B
  • examples/README.md215 B
  • metadata.yaml747 B
  • refs.md72 B
  • scripts/search_rcsb.py1.7 KB
  • tests/README.md126 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.