001tmf/blatant-why/by-design-workflow
Claude Code and agent skill by 001tmf/blatant-why
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install 001tmf/blatant-why/by-design-workflowSKILL.md
BY Design Workflow — Master Orchestration Skill
by-design-workflow is the routing brain of BY. It does not run any engine itself. Instead, it answers four questions before any GPU compute is committed:
- Which engine? — Protenix (fold), PXDesign (de novo binder), or BoltzGen (antibody / nanobody / fallback binder).
- Which preset / protocol / tier? — Preview vs Standard vs Production vs Exploratory;
nanobody-anythingvsantibody-anythingvsprotein-anything; PXDesignpreviewvsextended. - Which compute target? —
local(default),hpc(RunPod / Modal / SLURM viaby-deploy-compute), ortamarind(cloud fallback). - Accept or re-run? — given the screening output, do the designs clear the quality bar, or does the campaign need a second pass with new hotspots, a new modality, or a different scaffold?
This skill encodes the canonical decision tree, the modality → tool mapping, the preset comparison, the quality thresholds, and the accept-vs-re-run heuristics that other skills depend on. It is the connective tissue between by-research / by-campaign-manager (upstream) and the three tool wrappers protenix, pxdesign, boltzgen (downstream).
When to Use This Skill
Use this skill when you have:
- ✅ A new design project starting — research is done, but the tool / preset / compute target has not been chosen yet
- ✅ An ambiguous modality — user said "I want a binder against X" without specifying antibody vs nanobody vs de novo
- ✅ A target description but no plan — PDB ID or sequence in hand, need a campaign sized end-to-end
- ✅ A screening result and a decision to make — designs are scored, should we lab-submit, re-run with new hotspots, or escalate?
- ✅ A compute-target conflict — local GPU OOMs on a 1500-residue target, decide HPC vs Tamarind vs target cropping
- ✅ A novel target with no clear preset — need to pick between Standard and Exploratory tiers based on prior-art density
- ✅ A multi-target sweep request — orchestrate the same protocol over N targets and decide whether to batch or serialize
Do NOT use this skill when:
- ❌ You only need to run one engine right now — invoke the engine's skill directly (
protenix,pxdesign, orboltzgen). This skill is the planner, not a substitute for invoking the tool. - ❌ You are scoring or filtering existing designs — that is
by-scoring+by-screening. - ❌ You are managing campaign state / checkpoints / budget — that is
by-campaign-manager. - ❌ You need a PDB lookup, UniProt entry, or SAbDab query — call the database MCP server directly or use
by-database. - ❌ You are diagnosing a failed campaign in detail — that is
by-failure-diagnosis→by-causal-reasoning. - ❌ You want to skip the modality clarification step — never trust a guessed modality. Always ask if the user has not specified.
🚨 CRITICAL: Never trust the routing decision without checking .by/config.json for the compute target. If compute.fallback_allowed is false, the choice between local / HPC / Tamarind is the user's, not yours. See references/tool-selection-matrix.md and the by-deploy-compute skill.
Inputs
Required:
- Target description — exactly one of:
- PDB ID (e.g.,
"7S4S") — most preferred; gives structure + chains + residue numbering - UniProt accession (e.g.,
"P01375") — sequence + features; structure inferred via Protenix if no PDB exists - Bare sequence (FASTA) — least preferred; cannot resolve isoforms or residue numbering, requires Protenix fold first
- Modality preference (if known):
VHH/scFv/Fab/de_novo_binder/unknown. Ifunknown, the skill ASKS — never guesses.
Optional:
- Hotspot residues (
label_seq_idintegers, per-chain) — ifby-researchorby-epitope-analysisalready produced them, pass them through unchanged - Budget / timeline constraint — e.g.,
"under $500 cloud spend","results by Friday". Drives tier and compute-target choice. - Compute target preference —
local/hpc/tamarind/auto. Defaultlocal. Read.by/config.jsonfirst; explicit user override only on this turn. - Existing campaign plan —
campaign_plan.mdfromby-campaign-manager. If present, use it instead of re-deciding from scratch. - Prior-art context —
design_recommendation.jsonfromby-research. If present, modality, scaffolds, and tier are already chosen; this skill validates and dispatches. - Acceptance criteria override — non-default thresholds for ipSAE / ipTM / pLDDT / CA-RMSD (rarely used; default thresholds live in
references/quality-thresholds.md).
See references/tool-selection-matrix.md for how each input combination maps to a routing decision.
Outputs
This skill writes routing artifacts, not design data. Place them under the active campaign directory at campaigns/{target}/campaign_{date}_{id}/routing/.
| File | Format | Purpose | Consumer | |
|---|---|---|---|---|
routing_decision.json | JSON | Engine + preset + compute target + rationale | by-campaign-manager, the engine skill | |
handoff_package.json | JSON | Bundle of inputs the engine skill needs (target file, hotspots, YAML config skeleton) | protenix / pxdesign / boltzgen skill | |
pass_rate_forecast.json | JSON | Expected pass rate range + minimum-viable design count | by-campaign-manager (budgeting) | |
accept_or_rerun.json | JSON | After a campaign round: verdict (ACCEPT / RERUN / SWITCH_TOOL / ESCALATE) + reasoning | by-campaign-manager, the user |
Key shape — `routing_decision.json`:
Key shape — `accept_or_rerun.json`:
Clarification Questions
⚠️ CRITICAL: ASK THIS FIRST — never proceed without an unambiguous target + modality. Guessing burns compute.
- Target + modality (ASK THIS FIRST) — What is the target (PDB ID or sequence), and what modality do you want — antibody (scFv / Fab), nanobody (VHH), de novo protein binder, or structure-only (no design, just folding)? If the user says "binder" without qualifier, ask the modality question explicitly.
- Compute target — Local GPU (default), HPC (RunPod / Modal / SLURM), or Tamarind cloud? Read
.by/config.jsonfirst; only ask if the file is missing orcompute.fallback_allowedistrueand the user has not specified. - Tier and budget — Preview (feasibility, ~5–500 designs), Standard (~5K designs), Production (~20K), or Exploratory (~50K, novel targets)? If the user gave a dollar budget or deadline, derive the tier from
references/preset-comparison.md. - Hotspots / epitope — Already known (from
by-researchorby-epitope-analysis)? Or do we need to do epitope analysis first? For de novo binders without hotspots, PXDesign will run a hotspot-free preview but pass rates drop ~3×. - Scaffold preference — For antibody / nanobody runs: caplacizumab default for VHH, adalimumab default for scFv. Multiple scaffolds increase diversity but multiply design count. See
references/tool-selection-matrix.mdfor the full list. - Acceptance criteria — Default thresholds (
ipSAE > 0.3,ipTM > 0.5,pLDDT > 70,CA-RMSD < 3.5 Å)? Or stricter (ipSAE > 0.5, etc.) for high-stakes targets? Defaults live inreferences/quality-thresholds.md. - Re-run policy — If first-round pass rate is below 10%, what is the user's tolerance for re-running with adjusted hotspots vs switching tools vs escalating to wet lab? Default is two re-runs, then switch tool, then escalate.
Decision Tree
This is the canonical routing logic. Walk it top-to-bottom; the first matching branch wins. Full matrix (with rationale per cell) is in references/tool-selection-matrix.md.
Resolved routing — quick lookup
| Modality | Engine | Protocol / Preset | Default Tier | Pass Rate (median) | Default Compute | |
|---|---|---|---|---|---|---|
| VHH (nanobody) | BoltzGen | nanobody-anything | Standard | 25% | local GPU | |
| scFv / Fab / IgG | BoltzGen | antibody-anything | Standard | 20% | local GPU | |
| De novo binder (well-studied) | PXDesign | extended | Standard | 30-50% | local GPU | |
| De novo binder (feasibility) | PXDesign | preview | Preview | 10-30% | local GPU | |
| De novo binder (fallback) | BoltzGen | protein-anything | Standard | 15% | local GPU | |
| Structure prediction | Protenix | base_default | n/a | n/a | local GPU | |
| Multi-seed ensemble fold | Protenix | base_default, 5 seeds | n/a | n/a | local GPU |
For full matrix (rows: VHH / scFv / Fab / de novo / ligand-binding / structure-only; columns: tool / preset / hotspot guidance / pass rate / compute), see references/tool-selection-matrix.md.
Quick Start
A typical "design a binder against TNF-alpha" request, end-to-end:
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingtemplates/.claude/skills/by-design-workflow/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/001tmf/blatant-why/by-design-workflow)