boltzgen
BoltzGen is an all-atom diffusion model that generates antibody, nanobody, and de novo miniprotein backbones conditioned on a…
Multi-round design campaigns generate scored designs at every iteration. This skill turns that scoring history into actionable parameter changes for the next round — training a lightweight Random Forest on the designs you already have, ranking which features actually
$ npx -y skills add 001TMF/blatant-why --skill by-campaign-optimizer --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/by-campaign-optimizerContext preview
The summary Claude sees to decide when to auto-load this skill.
Multi-round design campaigns generate scored designs at every iteration. This skill turns that scoring history into actionable parameter changes for the next round — training a lightweight Random Forest on the designs you already have, ranking which features actually
id: "skill_6cd1e0f4c6864ff89ff64d873441900f" name: "by-campaign-optimizer" display-name: "BY Campaign Optimizer (Active Learning)" short-description: "Trains a Random Forest on scored designs from prior rounds and proposes parameter adjustments for the next round. Use when a multi-round campaign has at least 10 scored designs and you need data-driven suggestions for thresholds, design counts, and feature targets." category: "optimization" keywords: "active learning, random forest, optimizer, campaign, multi-round, parameter tuning, feature importance, acquisition function, scikit-learn" version: "1.0" last-updated: "2026-05-20"
Multi-round design campaigns generate scored designs at every iteration. This skill turns that scoring history into actionable parameter changes for the next round — training a lightweight Random Forest on the designs you already have, ranking which features actually discriminate good from bad, and proposing thresholds and design counts that target the most promising regions of feature space.
The optimizer is the **iteration loop**: it runs *after* the diagnosis step (`by-failure-diagnosis`) has identified which features matter, and decides what parameters to push or relax for the next round. Diagnosis answers "what went wrong?"; this skill answers "what should we try next?".
---
✅ **Use this skill when:**
concrete threshold values
❌ **Do NOT use this skill when:**
`by-campaign-manager` instead
`by-design-workflow` to set initial parameters
target structure) → run `by-failure-diagnosis` first to confirm the signal is real
(the diagnostic counterpart to this optimizer)
---
from proteus_cli.campaign.active_learning import (
has_enough_data,
suggest_from_campaign,
)
campaign_dir = "campaigns/tnfa/campaign_20260520_001"
if has_enough_data(campaign_dir):
result = suggest_from_campaign(campaign_dir)
print(f"Source: {result.source}") # "active_learning"
print(f"Confidence: {result.confidence}") # "high" if >30 designs
print(f"Top feature: {result.feature_importances[0]}")
print(f"Recommendations: {result.recommended_parameters}")Or via the CLI scripts shipped with this skill:
# Step 1: train RF, write optimizer_output.json
python scripts/optimize_from_csv.py \
--scores campaign/round_1/scores.csv \
--output campaign/round_1/optimizer_output.json
# Step 2: write next-round YAML config
python scripts/propose_next_round.py \
--optimizer-output campaign/round_1/optimizer_output.json \
--previous-config campaign/round_1/config.yaml \
--output campaign/round_2/config.yaml---
| Package | Version | License | Commercial Use | Install | |---------|---------|---------|----------------|---------| | scikit-learn | ≥1.3 | BSD-3-Clause | ✅ Permitted | `pip install scikit-learn` | | pandas | ≥2.0 | BSD-3-Clause | ✅ Permitted | `pip install pandas` | | numpy | ≥1.24 | BSD-3-Clause | ✅ Permitted | `pip install numpy` | | PyYAML | ≥6.0 | MIT | ✅ Permitted | `pip install pyyaml` |
Or install the ML extras bundle:
pip install by-agent[ml]
**License Compliance:** All packages permit commercial use in AI applications.
---
**Required:**
`ipsae` (or `ipsae_min`), `iptm`, `plddt`, `rmsd`, `liabilities`, `cdr3_length`, `net_charge`, `hydrophobic_fraction`
**Optional:**
See [references/active-learning.md](references/active-learning.md) for sample-size guidance and [references/random-forest-approach.md](references/random-forest-approach.md) for feature-engineering details.
---
**Primary results:**
exploration regions, confidence level, and a human-readable explanation
**Next-round config:**
updated `num_designs`, and feature targets carried over from the optimizer
**Diagnostic fields in `optimizer_output.json`:**
---
**⚠️ CRITICAL: ASK THIS FIRST.** Always confirm the user has at l
AI-powered biologics design campaign agent — multi-agent orchestration with BoltzGen, PXDesign, Protenix, and 200+ cloud tools. Antibodies, nanobodies, de novo binders, and beyond.
BoltzGen is an all-atom diffusion model that generates antibody, nanobody, and de novo miniprotein backbones conditioned on a…
Plan, execute, monitor, and assess protein/antibody design campaigns. This skill governs how to size a campaign, track run state,…
Most "AI scientist" demos fake reasoning by chaining LLM calls and calling the chain a hypothesis. This skill does the opposite:…
Use the BY MCP database tools to query PDB, UniProt, and SAbDab for target characterization, antibody scaffold selection, and…
BY is a **local-first** agent. The default compute provider is `"local"` (see `.by/config.json` → `compute.default_provider`).…
`by-design-workflow` is the **routing brain** of BY. It does not run any engine itself. Instead, it answers four questions before…