---
name: phi-pilot
description: "Run a small pilot on Dyno Phi before a binder design batch, the same number of designs for each generator against each hotspot set, priced with a dry run before anything runs, scored with the campaign's thresholds, and reported as a pass rate per combination. Use when a person asks to design binders against a target and has not chosen a generator or a site, or asks what a design campaign will cost. The tools are phi_load_target, phi_list_models, phi_design_binder, phi_job_status and phi_job_results."
license: MIT
access: general
metadata:
  author: dynotx
  version: "1.2"
  updated: "2026-10-18"
  models: "DYNOPSI1 GERMINAL PXDESIGN RFANTIBODY BOLTZGEN RFDIFFUSION3 BINDCRAFT"
  prompt: "true"
---

# Pilot before the batch

Use this skill when the person asks to design binders against a target and has not yet chosen a generator or a site. Generators differ in how many designs pass on the same target, and a hunt model holds a GPU until enough designs pass, so the same request can cost very different amounts depending on the choice.

## Before you start

- The target: a PDB id, a UniProt id, a URL or a file.
- The modality: miniprotein, VHH, antibody or peptide. If the person has not chosen, the `modality-selection` skill has the reasoning.
- Approval to spend credits comes after the price, never before.

## Steps

1. Load the target with `phi_load_target`. Read the chain summary: chain ids, lengths and the author numbering range. Hotspots are always author numbered.
2. Settle the modality with the person. Dyno recommends Dyno Psi-1 for miniproteins, Germinal and PXDesign for VHHs, RFantibody for antibodies and BoltzGen's peptide protocol for peptides. Call `phi_list_models` to see what the deployment offers.
3. Settle one to three hotspot sets (the `phi-hotspots` skill says how to write them). When the person names an epitope, add a second set, "anywhere in the domain", and a third, "near but not on" the named residues.
4. For each generator and each hotspot set, call `phi_design_binder` with `dry_run: true` and `n_designs: 50`. Report the prices as one table, a row per combination, before anything runs.
5. When the person approves the spend, submit the same calls with `dry_run: false`. Poll `phi_job_status` at the interval each response gives; a hunt model takes hours.
6. When the jobs finish, read `phi_job_results` for each and compute the pass rate at the campaign's thresholds. A metric a generator did not write is not evaluated and never counts as a pass.
7. Report the pass rate and the passing count per generator per site, nominate one combination, and propose the batch on it. Keep the pilot's results with the campaign so the next campaign on the same target starts from them.

## When it fails

- A cell fails: say which generator and site failed and why, keep the other cells, and offer to rerun that one with the change the error asks for.
- A 402 on submit: the organization has too few credits for the plan. Say what the plan needs and what is available, and offer a smaller pilot.

## Rules

- Never submit without showing the price first.
- Do not invent a metric a generator does not report.
- Prefer few designs across many combinations to many designs on one.
