boltzgen
BoltzGen is an all-atom diffusion model that generates antibody, nanobody, and de novo miniprotein backbones conditioned on a…
Closing the design feedback loop requires understanding **why** designs fail, not just **that** they fail. This skill compares the distribution of every continuous feature between PASS and FAIL designs using non-parametric statistics, ranks features by discriminating power, and
$ npx -y skills add 001TMF/blatant-why --skill by-failure-diagnosis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/by-failure-diagnosisContext preview
The summary Claude sees to decide when to auto-load this skill.
Closing the design feedback loop requires understanding **why** designs fail, not just **that** they fail. This skill compares the distribution of every continuous feature between PASS and FAIL designs using non-parametric statistics, ranks features by discriminating power, and
id: "skill_21cae38a6ba64f28a898ac1c9e2cecff" name: "by-failure-diagnosis" display-name: "BY Failure Diagnosis" short-description: "Statistical post-mortem for low-yield design campaigns — runs Mann-Whitney U tests across continuous features (ipSAE, ipTM, pLDDT, RMSD, liabilities, CDR3 length, hydrophobic fraction, net charge) to identify which metrics most strongly discriminate PASS from FAIL. Use when a campaign pass rate drops below 20% and at least 30 designs have been scored." category: "diagnosis" keywords: "failure diagnosis, mann-whitney, statistical test, pass rate, discriminating features, threshold tuning, campaign post-mortem, effect size, BH correction, design feedback loop" version: "1.0" last-updated: "2026-05-20" mcp_tools: ["mcp__by-screening__screen_diagnose_failures"]
Closing the design feedback loop requires understanding **why** designs fail, not just **that** they fail. This skill compares the distribution of every continuous feature between PASS and FAIL designs using non-parametric statistics, ranks features by discriminating power, and translates the result into concrete threshold or campaign-parameter changes for the next iteration.
It is the bridge between **screening** (which produces PASS/FAIL labels) and **campaign optimization** (which adjusts parameters for the next round).
---
Use this skill when:
Don't use this skill when:
---
The most common invocation: run the MCP tool against a campaign's screening output.
import json
# Load campaign screening results (one dict per design)
with open("campaigns/<target>/<campaign_id>/screening_results.json") as fh:
designs = json.load(fh)
# Call the MCP tool with the array serialized as JSON
result = mcp__by-screening__screen_diagnose_failures(
scores_json=json.dumps(designs),
pass_key="status",
pass_value="PASS",
)
# Parse and present
diag = json.loads(result)
print(diag["formatted"]) # human-readable table
print(diag["recommendations"]) # top-3 actionable suggestions✅ **VERIFICATION:** Expect output like `Failure Diagnosis (12/80 passed, 15% rate)` followed by a table sorted by p-value, with effect sizes and recommendations.
For ad-hoc CSV-based diagnosis (no MCP server required), use the included scripts:
python3 scripts/diagnose_from_csv.py --input designs.csv --status-col status python3 scripts/plot_distributions.py --input designs.csv --output diagnostics.pdf --top-n 5
---
| Software | Version | License | Commercial Use | Installation | |----------|---------|---------|----------------|--------------| | Python | ≥3.10 | PSF | ✅ Permitted | system | | scipy | ≥1.11 | BSD-3 | ✅ Permitted | `pip install scipy` | | numpy | ≥1.24 | BSD-3 | ✅ Permitted | `pip install numpy` | | pandas | ≥2.0 | BSD-3 | ✅ Permitted | `pip install pandas` | | matplotlib | ≥3.7 | PSF-based | ✅ Permitted | `pip install matplotlib` (only for `plot_distributions.py`) | | proteus_cli | bundled | proprietary | internal | included with BY |
**License Compliance:** All third-party packages permit commercial use in AI applications.
**System requirements:** No GPU needed. Diagnosis runs CPU-only in seconds for up to 10,000 designs. No internet required.
---
**Required:**
**Alternative inputs:**
**Optional:**
See [references/failure-patterns.md](references/failure-patterns.md) for which features matter for which failure modes.
---
**Primary results (JSON object from MCP tool):**
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,…
Multi-round design campaigns generate scored designs at every iteration. This skill turns that scoring history into actionable…
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`).…