drug-pocket-detection

drug-pocket-detection is a skill for Claude Code, Codex from learningmatter-mit/AtomisticSkills. It costs 111 tokens per session (4,057 once invoked), scanned A, original, MIT.

A protein-structure analysis tool that finds and ranks surface pockets where a drug-like molecule might bind. It reports each pocket’s location, size, lining residues, and estimated druggability.

In plain words
What is it for?
Use it to screen experimental or predicted protein structures, compare candidate binding pockets, and choose a pocket center for defining a docking box.
Why use it?
It narrows a large protein surface to the most promising binding sites before docking, which tests how molecules fit into a pocket. It does not perform docking itself.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/learningmatter-mit/atomisticskills/drug-pocket-detection
Any agent
npx skills add learningmatter-mit/AtomisticSkills --skill drug-pocket-detection
Clone the repo
git clone --depth 1 https://github.com/learningmatter-mit/AtomisticSkills

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 drug-pocket-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/drug-pocket-detection.svg)](https://agentmods.dev/skills/learningmatter-mit/atomisticskills/drug-pocket-detection)
Your own site
<a href="https://agentmods.dev/skills/learningmatter-mit/atomisticskills/drug-pocket-detection"><img src="https://agentmods.dev/badge/skills/learningmatter-mit/atomisticskills/drug-pocket-detection.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00111 $0.04057
Opus 5 $0.00056 $0.02028
Sonnet 5 $0.00022 $0.00811
Haiku 4.5 $0.00011 $0.00406

Measured 5d ago against content hash cd5906ac1d15, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

drug-pocket-detection 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.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/detect_pockets.py, scripts/pocket_to_box.py, scripts/visualize_pockets.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.

.agents/skills/drug-pocket-detection/SKILL.md · 241 lines

How it starts

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

drug-pocket-detection

Goal

Take a protein structure (experimental or predicted) and produce a ranked list of candidate ligandable pockets, each described by:

  • A unique pocket id and rank
  • A geometric center (x, y, z in Angstroms)
  • An estimated volume (A^3)
  • A druggability score (fpocket: logistic-regression model from Schmidtke & Barril 2010, layered on top of fpocket's own PLS-derived pocket score from Le Guilloux et al. 2009; P2Rank: a calibrated per-pocket ligandability probability)
  • The lining residues (chain, resnum, resname, one-letter)
  • Backend-specific raw metrics (hydrophobicity, polarity, alpha-sphere counts, etc.) preserved for provenance

This skill does not perform docking. Once you have selected a pocket, feed its center into drug-binding-site-definition to produce a docking box, then run drug-docking-vina.

Choosing a Backend

Backend When to use Strengths Weaknesses
fpocket (default) First pass on any structure; lightweight (no Java, no large model file) Fast; well-cited logistic-regression druggability score (Schmidtke & Barril 2010) layered on the underlying PLS pocket score (Le Guilloux et al. 2009); deterministic given the same parameters but slightly sensitive to floating-point details across builds Pure geometry; misses cryptic pockets that lack a clear cavity in the input conformation
P2Rank Independent ML pocket prediction, especially when geometry alone is ambiguous (shallow / surface pockets) or for predicted structures via the alphafold profile Often higher Top-1 accuracy on benchmarks (Krivak & Hoksza 2018); residue-aware ML; reports adjacent residues directly Heavier install (separate Java runtime + downloaded model); does not report pocket volume

Run both if a decision is load-bearing (e.g., you only get one shot at MD). Compare the top-3 of each; consensus picks are stronger.

Read the full file on GitHub · 241 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. 5d ago First seen · 241 lines · 111 tokens per session scan A cd5906ac1d15

Subscribe to this mod's changes

drug-pocket-detection is a skill published in the GitHub repository learningmatter-mit/AtomisticSkills (160 stars, last pushed 2d ago), licensed MIT. It adds 111 tokens to every session and 4,057 once invoked, about $0.0006 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.

Related

Other skills, from other repositories

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

deepchem

Molecular ML with diverse featurizers and pre-built datasets. Use for property prediction (ADMET, toxicity) with traditional ML or GNNs when you want extensive featurization options and MoleculeNet benchmarks. Best for quick experiments with pre-trained models, diverse molecular representations. For graph-first…

synthetic-sciences/openscience · 78 tokens

rdkit

Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom…

synthetic-sciences/openscience · 80 tokens

binding-affinity

Hybrid ML + physics binding affinity prediction. Empirical scoring, MM/GBSA rescoring, multi-method consensus, and batch virtual screening for protein-ligand complexes.

synthetic-sciences/openscience · 38 tokens

drug-design

End-to-end drug discovery pipeline orchestration. Deterministic Python script that auto-chains structure prediction, pocket detection, de novo design, docking, scoring, and ADMET filtering into reproducible workflows.

synthetic-sciences/openscience · 44 tokens

molecular-optimization

Iterative lead optimization with analyze-reason-generate-verify-evaluate loop. Paper-backed (MT-Mol, DrugR, MultiMol).

synthetic-sciences/openscience · 34 tokens