Logo de Boltz

Boltz

Organização
K-Dense-AI
boltz

Cofold protein-ligand, protein-protein, and nucleic-acid complexes with Boltz-2, and predict binding affinity with its trained affinity head. Use this skill to build Boltz input YAML, run structure prediction with MSAs, pocket constraints, templates, and modified residues, screen compound libraries by cofolding, and interpret confidence scores (pLDDT, pTM, ipTM, PDE) and affinity output (binder probability and log10 IC50). Also trigger on Boltz, Boltz-1, Boltz-2, cofolding, boltz predict, affinity_pred_value, affinity_probability_binary, ipTM, or open-weights AlphaFold3 alternatives.

Visão geral

Publicado porK-Dense-AI
Repositóriodrug-discovery-agent-skills
Nome da habilidadeboltz
Estrelas
51
Forks
5
Arquivos incluídos
6
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 6

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por K-Dense-AI no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Boltz no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/boltz
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills.git /tmp/drug-discovery-agent-skills
mkdir -p .claude/skills
cp -r /tmp/drug-discovery-agent-skills/skills/boltz .claude/skills/boltz
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Boltz em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Boltz automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Boltz não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Boltz-2

An open-weights cofolding model in the AlphaFold3 family, plus something AlphaFold3 does not have: a trained binding-affinity head. Give it a protein sequence and a ligand SMILES and it returns a complex structure, per-interface confidence, and a predicted potency — with weights licensed for commercial use.

Repo: github.com/jwohlwend/boltz Checked against: boltz 2.2.1 (PyPI), Python ≥3.10 <3.13.

Read references/yaml-schema.md before writing an input, references/confidence-and-affinity.md before believing an output, and references/running.md for install, GPU sizing, flags, and errors.

When to reach for this

SituationUse
No experimental structure, and you need a ligand in the pocketBoltz — folding and docking in one step
Experimental structure exists, defined site, need to rank thousandsautodock-vina
Experimental structure exists, need a pose without a boxdiffdock
Need a defensible free energy for a congeneric seriesAlchemical FEP, not this
No GPUtamarind runs Boltz as a service

The loop

bash
# 1. write the input
python skills/boltz/scripts/make_boltz_yaml.py \
    --protein-fasta target.fasta \
    --ligand-smiles "Cc1ccc(cc1Nc1nccc(n1)c1cccnc1)NC(=O)c1ccc(CN2CCN(C)CC2)cc1" \
    --affinity --out complex.yaml

# 2. predict (external, needs a GPU)
boltz predict complex.yaml --out_dir predictions/ --use_msa_server \
    --use_potentials --diffusion_samples 5

# 3. read the results with the units converted
python skills/boltz/scripts/collect_results.py predictions/
name  sample  confidence_score  iptm  ligand_iptm  binder_probability  pIC50  IC50_uM  dG_kcal_mol
lig1  0       0.84              0.82  0.79         0.93                8.10   0.0079   -11.05
lig2  0       0.51              0.42  0.31         0.21                4.60   25.1189  -6.27

make_boltz_yaml.py catches at write time the four things that otherwise fail after the GPU has already spun up: non-amino-acid characters in a sequence, an affinity binder that is not a ligand chain, --pocket with no ligand, and an out-of-range max_distance. It also quotes SMILES — an unquoted # (an alkyne) starts a YAML comment and silently truncates the molecule.

The affinity number, and its sign

affinity_pred_value is log10 of an IC50 in micromolar. It runs the opposite way to everything else in the field: −3 is a nanomolar binder, +2 is a decoy.

pIC50 = 6 - value        IC50 = 10**value  µM        ΔG = -1.364 × pIC50  kcal/mol

collect_results.py emits pIC50, IC50_uM, and dG_kcal_mol so the sign cannot be misread downstream. Report those, never the raw value.

There are two affinity outputs and they answer different questions:

  • affinity_probability_binary — probability the ligand binds at all. This is the hit-discovery output; use it to triage a screen.
  • affinity_pred_value — relative potency. Only meaningful between active molecules, for hit-to-lead and lead optimisation. Applying it to inactives is a category error.

The two ensemble members are reported separately in the JSON; collect_results.py turns their disagreement into an ensemble_spread column, which is the cheapest uncertainty estimate on offer. More than one log unit of spread means the number should not be quoted alone.

Read ipTM before anything else

complex_plddt high and iptm low is the classic trap: both partners folded correctly, and their arrangement is a guess. For a binding question, the interface score is the score.

ipTM / ligand_ipTMReading
> 0.8Confident interface; the pose is usable
0.6 – 0.8Plausible; check it against known site residues
< 0.6The model does not believe its own interface — an affinity computed on it is meaningless

collect_results.py --min-iptm 0.6 filters, and warns about what it dropped. Note that pde and ipde are in Angstrom, so for those alone lower is better.

Constrain the pocket when you know it

Without a pocket constraint, Boltz decides where the ligand goes — usually right for a well-defined site, less so for a shallow or multi-site protein.

bash
python skills/boltz/scripts/make_boltz_yaml.py --protein-fasta target.fasta \
    --ligand-ccd SAH --pocket A:790,A:797,A:855 --pocket-distance 6 --out cofactor.yaml

--pocket-force makes it a hard constraint rather than a bias. Use it only when you are sure: forcing a wrong pocket produces a confident wrong answer, which is worse than an unconstrained one.

Screening a library

bash
python skills/boltz/scripts/screen_library.py --protein-fasta target.fasta \
    --smiles library.smi --out-dir screen/ --affinity --msa-path target.a3m

boltz predict screen/ --out_dir screen/predictions --use_potentials --diffusion_samples 5
python skills/boltz/scripts/collect_results.py screen/predictions --min-iptm 0.6 --out hits.tsv

One YAML per ligand, plus a manifest. Precompute the MSA and pass --msa-path — every input shares the same protein, and rebuilding its MSA N times is the single largest waste in a screen. The script says so if you forget.

It also flags compounds above the affinity head's 128-atom limit (--skip-oversized drops them); past that limit Boltz returns a number that means nothing.

Scale honestly: a few minutes per ligand on a 24 GB GPU with a precomputed MSA. This is a hundreds-to-low-thousands method. Filter a large library with autodock-vina or medchem first and bring the survivors here.

What it is, and is not

The affinity head is trained on measured bioactivity, so it behaves like a very good structure-aware QSAR model, not a physics calculation. It reflects the chemistry and target classes in its training data; a novel scaffold against an under-studied target is extrapolation, and there is no thermodynamic cycle to check it against.

Treat agreement with an orthogonal method as the evidence — a docking score from autodock-vina, measured analogues from chembl, or a stability check in molecular-dynamics. Report the release, the ipTM, and the pIC50 with its ensemble spread.

Composing with the rest of the bundle

  • uniprot-rcsb → here: the sequence, and a template CIF if an apo structure exists.
  • binding-site-analysis → before: which site to focus on, and whether it is druggable.
  • chembl → here: known actives against the target, to calibrate what the affinity head says about chemistry you already have data for.
  • medchem / rdkit → before: triage and standardise the library.
  • autodock-vina → alongside: an orthogonal score on the same compounds.
  • molecular-dynamics → after: does the predicted pose survive 10 ns?
  • tamarind → instead: hosted Boltz when there is no local GPU.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Boltz faz?

Cofold protein-ligand, protein-protein, and nucleic-acid complexes with Boltz-2, and predict binding affinity with its trained affinity head. Use this skill to build Boltz input YAML, run structure prediction with MSAs, pocket constraints, templates, and modified residues, screen compound libraries by cofolding, and interpret confidence scores (pLDDT, pTM, ipTM, PDE) and affinity output (binder probability and log10 IC50). Also trigger on Boltz, Boltz-1, Boltz-2, cofolding, boltz predict, affinity_pred_value, affinity_probability_binary, ipTM, or open-weights AlphaFold3 alternatives.

Por que usar Boltz no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Boltz é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Boltz no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/boltz. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Boltz?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Boltz?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Boltz com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Boltz é gratuita?

Sim. A habilidade é publicada no GitHub por K-Dense-AI sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇