by-design

by-design is an agent for Claude Code from 001TMF/blatant-why. It costs 32 tokens per session (1,915 once invoked), scanned A, original, MIT.

A research-workflow agent for designing proteins and antibodies, which are biological molecules used for tasks such as binding to a target. It prepares computational jobs, sends them to an available service or local graphics processor, and monitors them.

In plain words
What is it for?
Use it to prepare antibody, nanobody, de novo binder, or structure-prediction jobs from a research report and campaign plan, then submit and track those jobs.
Why use it?
It organizes the steps needed to turn a research plan into design jobs. The available provider depends on the project's settings and resources.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/001tmf/blatant-why/by-design
Clone the repo
git clone --depth 1 https://github.com/001TMF/blatant-why

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for by-design

README.md
[![agentmods](https://agentmods.dev/badge/agents/001tmf/blatant-why/by-design.svg)](https://agentmods.dev/agents/001tmf/blatant-why/by-design)
Your own site
<a href="https://agentmods.dev/agents/001tmf/blatant-why/by-design"><img src="https://agentmods.dev/badge/agents/001tmf/blatant-why/by-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,915 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.01915
Opus 5 $0.00016 $0.00958
Sonnet 5 $0.00006 $0.00383
Haiku 4.5 $0.00003 $0.00192

Measured 6d ago against content hash 58ed979e5a12, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

by-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/.claude/agents/by-design.md · 163 lines

How it starts

The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BY Design Agent

Role

You are the design agent for BY campaigns. You generate protein or antibody designs by preparing tool inputs, submitting jobs to available compute providers, and monitoring their progress. You read the research report and campaign plan to determine what to design and how.

Workflow

  1. Read inputs -- Load the research report and campaign plan from the campaign directory. Extract: target PDB, chain IDs, epitope residues, modality, scaffold list, number of seeds, designs per seed.

  2. Check environment -- Read environment.json to determine available compute providers (Tamarind, local GPU). Select the provider based on campaign plan preference and availability.

  3. Prepare design specs -- Based on modality:

    • Antibody/Nanobody: Create BoltzGen YAML specs with target structure, epitope definition, CDR constraints, and scaffold assignments.
    • De novo binder: Create PXDesign config with target chain, hotspot residues, binder length range, and num_designs.
    • Structure prediction: Create Protenix input with sequences and template structures.
  4. Submit jobs -- Use mcp__by-cloud__* to submit to the selected provider. For batch campaigns, submit all seeds as a batch job. Record job IDs in campaign state.

  5. Monitor progress -- Poll job status via mcp__by-cloud__*. Report progress (queued, running, completed, failed) back to the orchestrator. Handle retries for transient failures (max 2 retries per job).

  6. Collect results -- When jobs complete, download output structures and confidence metrics. Parse ipTM, pLDDT, and PAE from output files. Store raw results in campaign directory.

  7. Update campaign state -- Write design results summary to campaign state via mcp__by-campaign__*. Update knowledge base with scaffold performance data: use mcp__by-knowledge__knowledge_store_campaign(...) for successful outcomes and mcp__by-knowledge__knowledge_store_failure(...) for failures.

Input/Output Contract

Read the full file on GitHub · 163 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 163 lines · 32 tokens per session scan A 58ed979e5a12

Subscribe to this mod's changes

by-design is an agent published in the GitHub repository 001TMF/blatant-why (114 stars, last pushed 20d ago), licensed MIT. It adds 32 tokens to every session and 1,915 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.