pdb-structure

pdb-structure is a skill for Claude Code, Codex from beita6969/ScienceClaw. It costs 80 tokens per session (1,291 once invoked), scanned A, original, MIT.

A programming guide for searching the RCSB Protein Data Bank, a public repository of experimentally determined 3D structures of proteins and other biological molecules.

In plain words
What is it for?
It helps find structures by text, retrieve metadata, inspect experimental details, and download structure files for research workflows.
Why use it?
It provides a way to retrieve structural biology data without manually searching and downloading entries from the database.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit It helps find structures by text, retrieve metadata, inspect experimental details, and download structure files for research workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/beita6969/scienceclaw/pdb-structure
About the project

ScienceClaw is an agent system for scientific work that completes tasks as typed, executable workflows and turns replay-verified improvements into reusable skills and operators. It is intended for AI-assisted research across natural and social science disciplines. The catalogue entries are its skills and instruction for use with the system.

beita6969/ScienceClaw · 1,034 stars · on GitHub · scienceclaw.science

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 beita6969/ScienceClaw --skill pdb-structure
Clone the repo
git clone --depth 1 https://github.com/beita6969/ScienceClaw

Made for: Claude Code, Codex.

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 pdb-structure

README.md
[![agentmods](https://agentmods.dev/badge/skills/beita6969/scienceclaw/pdb-structure/github.svg)](https://agentmods.dev/skills/beita6969/scienceclaw/pdb-structure)
Your own site
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/pdb-structure"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/pdb-structure/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 pdb-structure

Your own site · 80×15
<a href="https://agentmods.dev/skills/beita6969/scienceclaw/pdb-structure"><img src="https://agentmods.dev/badge/skills/beita6969/scienceclaw/pdb-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,291 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 21
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 21
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 24
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 108
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00080 $0.01291
Opus 5.5 $0.00032 $0.00516
Sonnet 5.5 $0.00016 $0.00258
Haiku 4.5 $0.00008 $0.00129

Measured 2mo ago against content hash 86a4e167dcd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pdb-structure scanned grade A with 1 finding 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 2mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

metadata: { "openclaw": { "emoji": "🧊", "requires": { "bins": ["curl"] } } }
skills/pdb-structure/SKILL.md · 128 lines

How it starts

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

RCSB Protein Data Bank (PDB) API

Access the RCSB PDB to search, retrieve, and download macromolecular 3D structures. Covers X-ray crystallography, cryo-EM, NMR, and other experimental methods. No authentication required.

API Endpoints

Data API Base: https://data.rcsb.org Search API Base: https://search.rcsb.org File Downloads: https://files.rcsb.org

GET /rest/v1/core/entry/{pdb_id} -- Structure metadata

# Get full metadata for a PDB entry (human hemoglobin)
curl -s "https://data.rcsb.org/rest/v1/core/entry/1HBB"

# Get entry metadata for SARS-CoV-2 spike protein structure
curl -s "https://data.rcsb.org/rest/v1/core/entry/6VYB"

POST /rcsbsearch/v2/query -- Advanced search API

# Search by text (protein name)
curl -s -X POST "https://search.rcsb.org/rcsbsearch/v2/query" \
  -H "Content-Type: application/json" \
  -d '{
    "query": {
      "type": "terminal",
      "service": "full_text",
      "parameters": { "value": "insulin receptor" }
    },
    "return_type": "entry",
    "request_options": { "paginate": { "start": 0, "rows": 10 } }
  }'

# Search by organism and resolution
curl -s -X POST "https://search.rcsb.org/rcsbsearch/v2/query" \
  -H "Content-Type: application/json" \
  -d '{
    "query": {
      "type": "group",
      "logical_operator": "and",
      "nodes": [
        {
          "type": "terminal",
          "service": "text",
          "parameters": {
            "attribute": "rcsb_entity_source_organism.ncbi_scientific_name",
            "operator": "exact_match",
            "value": "Homo sapiens"
          }
        },
        {
          "type": "terminal",
          "service": "text",
          "parameters": {
            "attribute": "rcsb_entry_info.resolution_combined",
            "operator": "less",
            "value": 2.0
          }
        }
      ]
    },
    "return_type": "entry",
    "request_options": { "paginate": { "start": 0, "rows": 10 } }
  }'

# Search by sequence similarity (BLAST-like)
curl -s -X POST "https://search.rcsb.org/rcsbsearch/v2/query" \
  -H "Content-Type: application/json" \
  -d '{
    "query": {
      "type": "terminal",
      "service": "sequence",
      "parameters": {
        "evalue_cutoff": 0.001,
        "identity_cutoff": 0.9,
        "sequence_type": "protein",
        "value": "MVLSPADKTNVKAAWGKVGAHAGEYGAEALERMFLSFPTTKTYFPHFDLSH"
      }
    },
    "return_type": "polymer_entity",
    "request_options": { "paginate": { "start": 0, "rows": 10 } }
  }'

Read the full file on GitHub · 128 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. 2mo ago First seen · 128 lines · 80 tokens per session scan A 86a4e167dcd5

Subscribe to this mod's changes

pdb-structure is a skill published in the GitHub repository beita6969/ScienceClaw (1,034 stars, last pushed 7d ago), licensed MIT. It adds 80 tokens to every session and 1,291 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

pdb-structure compared with skills from other repositories

pdb-structure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pdb-structurebeita6969/ScienceClawSkill1.0k7d agoMITA80Claude Code, Codex
biopythonsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
scanpysynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A68Claude Code, Codex
structure-predictionsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A42Claude Code, Codex
biomcpgenomoncology/biomcpSkill68719d agoMITA70Claude Code
biomcp-researchgenomoncology/biomcpSkill68719d agoMITA36Claude Code
biological-expertpersonamanagmentlayer/pclSkill461mo agoApache-2.0A59Claude Code