binding-affinity

binding-affinity is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 33 tokens per session (2,788 once invoked), scanned A, original, Apache-2.0.

A computational method for estimating how strongly a protein and a small molecule may bind, using machine-learning-style scores and physics-based rescoring. The results are estimates, not laboratory measurements.

In plain words
What is it for?
Estimating binding affinity from docked poses, rescoring complexes, combining scoring methods, and screening compound libraries.
Why use it?
It helps rank compounds for testing while making clear that predicted binding strength is uncertain and should not support clinical claims.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is python ../pocket-detection/scripts/detect.py \.

Good fit Estimating binding affinity from docked poses, rescoring complexes, combining scoring methods, and screening compound libraries.

Compare 6 skills from other repositories ↓
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 4,233 stars · on GitHub · openscience.sh

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience
agentmods
npx agentmods add skills/synthetic-sciences/openscience/binding-affinity

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 binding-affinity

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/binding-affinity/github.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/binding-affinity)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/binding-affinity"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/binding-affinity/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 binding-affinity

Your own site · 80×15
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/binding-affinity"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/binding-affinity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,788 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 warn 7 Sept 2026
SkillSpector: 1 finding, 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 analysis-evasion · line 1
    Suspicious Unicode normalization or mixed-script content
    Fix: Review the flagged content for security risks. Ensure no credentials, secrets, or sensitive data are exposed.
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.00033 $0.02788
Opus 5.5 $0.00013 $0.01115
Sonnet 5.5 $0.00007 $0.00558
Haiku 4.5 $0.00003 $0.00279

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

Security

Grade A, and why

binding-affinity 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/batch.py, scripts/consensus.py, scripts/output_guard.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.

backend/cli/skills/chemistry/binding-affinity/SKILL.md · 300 lines

How it starts

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

Binding Affinity Prediction

Overview

This skill predicts protein-ligand binding affinity from docked poses — converting structural information into estimated ΔG (kcal/mol), pKd, and Kd (nM). It complements the molecular-docking skill's interaction analysis (score.py) which counts contacts but does NOT predict binding strength in energy units.

Key capabilities:

  • Empirical scoring: descriptor + contact-based affinity prediction using RDKit and BioPython
  • Ligand energy inspection: explicitly selected RDKit heuristic; it does not calculate receptor-dependent binding energy
  • Full MM/GBSA: use a separately validated external method; the bundled script does not implement it
  • Consensus scoring: combine multiple scoring methods with rank-based normalization
  • Batch virtual screening: efficiently score large compound libraries

Validation Warning

All predictions from this skill are computational estimates, NOT experimentally validated measurements.

  • Empirical scoring (predict.py): typical error is 1-2 log units pKd (~10-100x in Kd)
  • The bundled ligand heuristic cannot establish binding affinity or receptor-dependent ranking
  • Use for prioritizing compounds for experimental testing, not for making clinical claims

The scripts include uncertainty ranges and confidence flags to help calibrate expectations.

Output Integrity

Script outputs are RAW computational estimates. The agent MUST NOT:

  • Apply "calibration" or scaling to raw pKd/Kd values
  • Adjust values to match known experimental data
  • Add fields like "calibrated_pKd" not produced by the script
  • Present approximate methods (simplified MM/GBSA) as full implementations

The raw output IS the prediction. Report it exactly as produced.

Successful script outputs are logged to _script_manifest.jsonl. A failed rescoring run may retain a JSON artifact with explicit failed records and exits nonzero; it does not write a success manifest entry. Verify the exit status and record status before using a score.

Read the full file on GitHub · 300 lines

Files

What ships with it

6 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. 1mo ago Changed · +4 lines · -5 tokens per session f84ec53e84ff
  2. 1mo ago First seen · 296 lines · 38 tokens per session scan A 1567d5359e00

Subscribe to this mod's changes

binding-affinity is a skill published in the GitHub repository synthetic-sciences/openscience (4,233 stars, last pushed 2d ago), licensed Apache-2.0. It adds 33 tokens to every session and 2,788 once invoked, about $0.0001 per session on Opus 5.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

system-prompts

Write system prompts, tool docs, and agent definitions. Project tag conventions + RFC 2119 keywords + dense compression. Use when authoring or editing any prompt the model reads.

can1357/oh-my-pi · 40 tokens

tool-prompt-optimization

Optimize the description prompts an AI agent reads to learn its built-in tools (the .md files under prompts/tools/). Two halves: (1) measure how much of a prompt is already inferable from the tool's JSON parameter schema + name, to prune redundancy with evidence; (2) house authoring rules for what belongs in a tool…

can1357/oh-my-pi · 0 tokens

admet_genetic

ADMET-guided genetic molecule optimization workflow from seed SMILES; use when the agent needs to build or run an RDKit/SA-Score/ADMET-AI GA pipeline for molecule optimization, enforce molecule lineage logs, render optimization-history HTML dashboards, and write candidate triage reports.

PKU-YuanGroup/OpenAI4S · 63 tokens

gno

Search local documents, files, notes, and knowledge bases. Index directories, search with BM25/vector/hybrid, get AI answers with citations. Use when user wants to search files, find documents, query notes, look up information in local folders, index a directory, set up document search, build a knowledge base, needs…

gmickel/gno · 86 tokens

journal

A mirror for emotional truth. Use when the user wants to journal, reflect, or "tell me the truth about how I feel." Goes for the feeling beneath the event, names avoidance, and refuses easy answers — not a cheerful prompt list.

lvndry/jazz · 51 tokens

knowledge-model-and-provider-runtime-provider-resilience-admission-and-observability

A codebase guide for handling unreliable AI provider requests across agents and sessions, including retries, circuit breakers, fair queues, stalled streams, cache tracking, and health checks.

echoVic/blade-code · 184 tokens