Logo van Complexa Target

Complexa Target

Organisatie
NVIDIA-BioNeMo
complexa-target

Gebruik deze skill wanneer de gebruiker een Proteina-Complexa-ontwerpdoel voor een pipeline wil toevoegen, registreren, bewerken, weergeven of valideren: een eiwitbinder (standaard), ligandbinder of AME-/enzymsteiger. Aanwijzingen zijn onder meer: "add a target", "define a new target for binder design", "register a hotspot", "set up a PDL1 binder target", "ligand binder pocket", "SMILES target", "AME task", "enzyme motif", "M0024_1nzy", "complexa target add", "complexa target show", "configure target X", "what targets are available", "where do hotspots live", "what does target_input mean", "chain-spec syntax", "binder length range" en vragen over `configs/targets/{,ligand_}targets_dict.yaml` en `configs/design_tasks/ame_dict_v2.yaml`. Omvat ook `complexa validate target`. Dit is de enige skill die de drie targets-dictbestanden aanpast.

Add to TypingMind

Overzicht

UitgeverNVIDIA-BioNeMo
Repositorybionemo-agent-toolkit
Skillnaamcomplexa-target
Sterren
495
Forks
77
Meegeleverde bestanden
3
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 3

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door NVIDIA-BioNeMo op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Complexa Target in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit/tree/main/open-models-skills/proteina-complexa/complexa-target
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit.git /tmp/bionemo-agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/bionemo-agent-toolkit/open-models-skills/proteina-complexa/complexa-target .claude/skills/complexa-target
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Complexa Target in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Complexa Target automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Complexa Target niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

complexa-target

Add or edit a design target in Proteina-Complexa. Targets live in three YAML files, one per complexa design pipeline:

  • configs/targets/targets_dict.yaml — protein binder (default pipeline)
  • configs/targets/ligand_targets_dict.yaml — ligand binder
  • configs/design_tasks/ame_dict_v2.yaml — AME / enzyme scaffolding

The complexa target CLI only manages the first two. AME tasks use an extended schema (the same core fields as ligand targets plus contig_atoms for hand-curated per-residue motif atom selections) and are file-edit-only.

Preferred path: edit the YAML directly

complexa target add is a thin wrapper around "load YAML → build dict → append a block" (see src/proteinfoundation/cli/target_manager.py:add_target_cli and append_target_to_dict). For agentic use, just edit the targets dict directly — the schema is short, the existing entries are great copy templates, and you skip 14 CLI flags / SMILES shell-escaping. Use the CLI only if you explicitly want its YAML auto-quoter or its overwrite-prompt safety.

The skill therefore presents both paths:

StepDirect file edit (preferred)CLI
Look at existing targetsRead configs/targets/{,ligand_}targets_dict.yaml (or configs/design_tasks/ame_dict_v2.yaml for AME)complexa target list (protein/ligand only)
Look at one targetRead the dict and grep for the keycomplexa target show NAME
Add a new targetAppend a YAML block (Step 3a)complexa target add ... (Step 3b)
Verify the PDB resolves on disk— (no shortcut, this checks Hydra defaults)complexa validate target CONFIG --target NAME

complexa target only sees the two protein-style dicts (targets_dict.yaml and ligand_targets_dict.yaml). For AME tasks (which use a different schema), file-edit is the only path — see Step 1 below.

What this skill enables

  • Register a protein target (chain + residue range + hotspots) in configs/targets/targets_dict.yaml.
  • Register a ligand target (PDB pocket + 3-letter code + SMILES) in configs/targets/ligand_targets_dict.yaml.
  • Resolve the right AME task name (e.g. M0024_1nzy, M0096_1chm) for the AME pipeline — these are not added via complexa target add (see Step 1).
  • Verify a target resolves to a real PDB on disk with complexa validate target.
  • Emit a replayable artifact (target_definition.yaml) for downstream design runs.

Step 1: Decide the target type

Targets live in three different files, one per complexa design pipeline. Pick the file by working out which pipeline the user will run, then add the entry to that file. Each file is consumed by exactly one pipeline.

User intentPipelineTargets dict fileThis skill?
Bind a protein surface (PD-L1, IFNAR2, TNF-α, …) — defaultconfigs/search_binder_local_pipeline.yamlconfigs/targets/targets_dict.yamlYes — Step 2 (protein)
Bind a small-molecule pocket (FAD, SAM, OQO, …)configs/search_ligand_binder_local_pipeline.yamlconfigs/targets/ligand_targets_dict.yamlYes — Step 2 (ligand)
AME / enzyme scaffolding (motif + ligand, M####_<pdb> names)configs/search_ame_local_pipeline.yamlconfigs/design_tasks/ame_dict_v2.yamlPartial — see "AME tasks" below

AME tasks (enzyme pipeline)

Similar story — AME tasks live in configs/design_tasks/ame_dict_v2.yaml under motif_target_dict_cfg: with their own schema (source, target_filename, ligand, contig_atoms, binder_length, use_bonds_from_file). The contig_atoms string encodes per-residue motif atom selections like "A64: [O, C]; A86: [CB, CA, N, C]; ..." — these are hand-curated, so adding a new AME task is a file edit, not a CLI invocation. Browse the file, copy a similar entry as a template, and pass ++generation.task_name=<NAME> to complexa design configs/search_ame_local_pipeline.yaml.

Step 2: Gather required info

Use AskUserQuestion to collect — do not guess these. Required fields differ for protein vs ligand.

Protein target

FieldQuestionExampleRequired
name"Target name (used as the dict key and task_name)?"02_PDL1, MyTarget_v1yes
source"Source directory under $DATA_PATH/target_data/?"bindcraft_targets, custom_targetsyes (or target_path)
target_filename"PDB filename (no .pdb extension)?"PD-L1, IFNAR2yes (or target_path)
target_input"Chain + residue range — see reference for grammar."A1-115, A1-50,B1-50yes
hotspot_residues"Hotspot residues (interface contact residues)?"["A33", "A95", "A102"]optional, recommended
binder_length"Binder length range [min, max] or single [length]?"[80, 150], [100]optional (default [60, 120])
pdb_id"Reference PDB ID (optional, metadata only)?""2lag"optional

Ligand target — protein fields above (minus target_input), plus:

FieldQuestionExampleRequired
ligand"3-letter PDB ligand residue code?"FAD, OQO, SAMyes (presence marks target as ligand)
smiles"SMILES string for the ligand?""O=C2C3=Nc1cc(c(...)..."recommended
ligand_only"Generate pocket around ligand only (no protein-protein interface)?"true / falseoptional (default true)
use_bonds_from_file"Use bond info from the input PDB/CIF?"true / falseoptional (default true)
target_inputnot required for ligand targets—no

Check for name collisions by reading the dict (rg '^ NEW_NAME:' configs/targets/targets_dict.yaml) or running complexa target list -v --ligand / --protein.

Step 3a: Append the YAML block directly (preferred)

Open configs/targets/targets_dict.yaml (or ligand_targets_dict.yaml for ligand targets), find a similar existing entry as a style template, and append the new block under target_dict_cfg:. Two-space indent, single blank line between entries.

Protein template

yaml
  02_PDL1:
    source: bindcraft_targets
    target_filename: PD-L1
    target_input: "A1-115"
    hotspot_residues: ["A37", "A39", "A49", "A98"]
    binder_length: [64, 155]
    pdb_id: "4z18"

Rules to match the existing file style (mirrors what complexa target add would emit):

  • Quote chain/residue ranges ("A1-115", "A33") and any SMILES — flow-style strings get tripped up by : and brackets otherwise.
  • Use flow-style lists (["A33", "A95"], [64, 155]) — that's what the on-disk dump produces.
  • target_input, source, target_filename are required for protein. target_path (absolute path) can replace source + target_filename if the PDB lives outside $DATA_PATH/target_data/.

Ligand template

yaml
  41_7BKC_LIGAND:
    source: ligand_targets
    target_filename: 7BKC_ligand_centered
    hotspot_residues: [null]
    binder_length: [100]
    pdb_id: 7BKC
    ligand: 'FAD'
    ligand_only: True
    SMILES: "O=C2C3=Nc1cc(c(cc1N(C3=NC(=O)N2)CC(O)C(O)C(O)COP(=O)(O)OP(=O)(O)OCC6OC(n5cnc4c(ncnc45)N)C(O)C6O)C)C"
    use_bonds_from_file: True

The presence of the ligand: key flips the target into ligand mode — there is no separate is_ligand flag. target_input is not required for ligands.

After saving, skip to Step 4 to verify.

Step 3b: CLI alternative (complexa target add)

Use the CLI when you want its automatic chain/residue quoting, the overwrite-confirm prompt, or to wire target creation into a non-Python script. Prefer non-interactive mode for agentic use (-i / --editor opens an editor and blocks).

Confirmed flags (from src/proteinfoundation/cli/target_cli.py)

FlagTypeApplies toNotes
name (positional)strbothdict key
--dict PATHpathbothoverride target dict path
-i, --interactiveflagbothopen $EDITOR
-e, --editor NAMEstrbothcode, nano, vim, cursor, ...
--source NAMEstrbothdirectory under $DATA_PATH/target_data/
--target-filename NAMEstrbothPDB stem (no .pdb)
--target-path PATHstrbothfull path; overrides source+filename
--target-input SPECstrproteinchain/residue range, e.g. A1-115
--hotspot-residues R [R ...]listbothe.g. A33 A95
--binder-length N [N ...]int listboth[min, max] or [length]
--pdb-id IDstrbothmetadata only
--ligand CODEstrligandpresence marks ligand target
--ligand-onlyflagligandpocket-only mode
--smiles STRstrligandSMILES for the ligand
--use-bonds-from-fileflagliganduse PDB bonds
-f, --forceflagbothoverwrite existing without prompt

Protein example

bash
complexa target add 02_PDL1 \
  --source bindcraft_targets \
  --target-filename PD-L1 \
  --target-input A1-115 \
  --hotspot-residues A37 A39 A49 A98 \
  --binder-length 64 155 \
  --pdb-id 4z18

Ligand example

bash
complexa target add 41_7BKC_LIGAND \
  --source ligand_targets \
  --target-filename 7BKC_ligand_centered \
  --pdb-id 7BKC \
  --ligand FAD \
  --ligand-only \
  --use-bonds-from-file \
  --smiles "O=C2C3=Nc1cc(c(cc1N(C3=NC(=O)N2)CC(O)C(O)C(O)COP(=O)(O)OP(=O)(O)OCC6OC(n5cnc4c(ncnc45)N)C(O)C6O)C)C" \
  --binder-length 100

Why these defaults: --source defaults to custom_targets (protein) or ligand_targets (ligand) and --target-filename defaults to name, so be explicit when the PDB stem differs from the target name. The dict gets ligand_only: true and use_bonds_from_file: true by default for ligand targets — pass the flags to be explicit, or omit to accept defaults.

Step 4: Verify

Run two checks, in order. Stop and fix on the first failure.

bash
# 1. Confirm the entry landed and looks right.
#    Direct read works just as well: `rg -A 7 '^  02_PDL1:' configs/targets/targets_dict.yaml`
complexa target show 02_PDL1

# 2. Resolve the PDB path and validate it exists on disk.
#    No shortcut for this — it traverses Hydra defaults to find the target dict.
complexa validate target configs/search_protein_local_pipeline.yaml --target 02_PDL1

complexa validate target (from src/proteinfoundation/cli/validate.py::validate_target) checks:

  • DATA_PATH is set and target_data/ exists.
  • The target name resolves in target_dict_cfg.
  • Either target_path exists, or $DATA_PATH/target_data/<source>/<target_filename>.pdb exists.
  • target_input, hotspot_residues, binder_length are reported back so a human can sanity-check them.

For ligand targets, point --target at a ligand pipeline config (e.g. a ligand binder search config).

Step 5: Emit artifact

Save a replayable record under ./target_<name>/:

bash
mkdir -p target_02_PDL1
complexa target show 02_PDL1 > target_02_PDL1/target_show.txt

Then write the appended YAML snippet (the lines complexa target add wrote under target_dict_cfg:) to target_02_PDL1/target_definition.yaml using the Write tool. The artifact lets the user diff target definitions across runs and re-create the entry on another checkout via complexa target add ... --force.

Hardware requirements

None for target definition — this is a YAML edit, not a training/inference step. Disk impact is a few KB appended to the targets dict (plus an automatic .yaml.bak backup written by save_targets_dict).

For the downstream design / evaluate runs that consume the target, defer to complexa-design and _shared/reference/hardware.md.

Troubleshooting

SymptomCauseFix
Target PDB file: File not found from validate target<source>/<target_filename>.pdb does not exist under $DATA_PATH/target_data/Confirm the PDB stem and source dir. Use --target-path /full/path.pdb if the file lives outside target_data/.
"Target 'X' already exists! Overwrite? (y/N)"Name collision in dictEither pick a new name, or pass -f / --force to overwrite.
Hotspot residue not in PDBWrong chain or residue numberOpen the PDB, re-check chain letters (case-sensitive) and residue indices. Hotspots use the format <CHAIN><RESNUM> — see reference.
Chain not foundtarget_input references a chain that does not exist in the PDBInspect the PDB with grep "^ATOM" target.pdb | awk '{print $5}' | sort -u.
Ligand code missing from PDBThe 3-letter ligand code does not appear as a HETATM residue name in the fileOpen the PDB and check HETATM lines; you may need a _ligand_centered variant of the PDB.
SMILES parse failure downstreamBad SMILES stringValidate with rdkit.Chem.MolFromSmiles(smiles) before adding. Quote SMILES in shell to escape brackets and parens.
Target name with leading digit breaks Hydra interpolationYAML treats 02_PDL1 as a string fine; some override syntaxes need quotingUse ++generation.task_name=02_PDL1; quote if the shell strips characters.
target_input appears ignored for a ligand targetBy design — ligand targets do not use target_input; pocket is defined by the ligandLeave it unset for ligand targets.

Reference

  • reference/target_schema.md — every field, chain-spec grammar, AME task-name grammar, three worked examples.
  • configs/targets/targets_dict.yaml — live protein entries (copy a known-good one as a template).
  • configs/targets/ligand_targets_dict.yaml — live ligand entries.
  • configs/design_tasks/ame_dict_v2.yaml — AME task definitions (file-edit only, not exposed via complexa target CLI).
  • src/proteinfoundation/cli/target_cli.py — argparse source of truth.
  • src/proteinfoundation/cli/target_manager.py — add_target_cli, list_targets, show_target, schema in TARGET_FIELDS.
  • src/proteinfoundation/cli/validate.py — validate_target implementation.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Complexa Target?

Gebruik deze skill wanneer de gebruiker een Proteina-Complexa-ontwerpdoel voor een pipeline wil toevoegen, registreren, bewerken, weergeven of valideren: een eiwitbinder (standaard), ligandbinder of AME-/enzymsteiger. Aanwijzingen zijn onder meer: "add a target", "define a new target for binder design", "register a hotspot", "set up a PDL1 binder target", "ligand binder pocket", "SMILES target", "AME task", "enzyme motif", "M0024_1nzy", "complexa target add", "complexa target show", "configure target X", "what targets are available", "where do hotspots live", "what does target_input mean",...

Waarom Complexa Target gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Complexa Target bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Complexa Target in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/NVIDIA-BioNeMo/bionemo-agent-toolkit/tree/main/open-models-skills/proteina-complexa/complexa-target. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Complexa Target gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Complexa Target gebruiken?

Zoveel als je wilt. Je kunt Complexa Target gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Complexa Target gratis?

Deze skill is door NVIDIA-BioNeMo op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇