by:plan-campaign

by:plan-campaign is a command for Claude Code from 001TMF/blatant-why. It costs 16 tokens per session (4,159 once invoked), scanned A, original, MIT.

A guided command for deciding how a biological design campaign should be set up before computation begins.

In plain words
What is it for?
Use it to plan a campaign around a PDB ID, a UniProt protein identifier, or a plain-language target description.
Why use it?
It records choices about the target, design approach, computing resources, building materials, and success measures before work starts.

Command for Claude Code

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 commands/001tmf/blatant-why/plan-campaign
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:plan-campaign

README.md
[![agentmods](https://agentmods.dev/badge/commands/001tmf/blatant-why/plan-campaign.svg)](https://agentmods.dev/commands/001tmf/blatant-why/plan-campaign)
Your own site
<a href="https://agentmods.dev/commands/001tmf/blatant-why/plan-campaign"><img src="https://agentmods.dev/badge/commands/001tmf/blatant-why/plan-campaign.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,159 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 $0.00016 $0.04159
Opus 5 $0.00008 $0.02080
Sonnet 5 $0.00003 $0.00832
Haiku 4.5 $0.00002 $0.00416

Measured 5d ago against content hash d0d5ab89749f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

by:plan-campaign 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 5d 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/commands/by/plan-campaign.md · 396 lines

How it starts

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

/plan-campaign — Pre-Campaign Discussion

Capture design preferences through a focused discussion before launching a campaign. This ensures the right modality, epitope strategy, compute tier, scaffolds, and success criteria are locked in before any compute runs.

Instructions

Step 0: Read model profile

MODEL_PROFILE=$(cat .by/config.json 2>/dev/null | grep -o '"model_profile"[[:space:]]*:[[:space:]]*"[^"]*"' | grep -o '"[^"]*"$' | tr -d '"' || echo "balanced")

Model lookup for this command (runs in main session, no agent spawn):

Agent quality balanced budget
main session opus sonnet sonnet

Model lookup for research agents (spawned via Task):

Agent quality balanced budget
researchers (x4) opus sonnet haiku
synthesizer (x1) opus sonnet sonnet

Step 1: Parse target input

Determine the input type from the user's argument:

  • PDB ID: 4-character alphanumeric (e.g., 1ABC, 7XYZ)
  • UniProt accession: alphanumeric with pattern like P12345 or Q9UHD2
  • Free text: treat as a target name or description for search

Record the parsed target identifier for use in Step 2.

Step 2: Quick target lookup (MUST use Agent tool — keeps MCP calls hidden)

You MUST use the Agent tool to research the target. This is NOT optional. When you call MCP tools directly, Claude Code shows raw JSON to the user which looks terrible. The Agent tool runs in background and returns only the summary.

DO THIS:

Agent(
  prompt="Research the protein target '[target]'.

  1. Call mcp__by-uniprot__uniprot_search with query '[target] human' to get accession, name, length
  2. Call mcp__by-pdb__pdb_search with query '[target]' to get PDB structures
  3. Call mcp__by-sabdab__sabdab_search_by_antigen with antigen_name '[target]' for known binders

  Return ONLY this exact format (no JSON, no tool output, just this text):
  Target: [full name] ([organism]) — [length] aa | UniProt: [accession]
  Structures: [N] PDB entries (best: [PDB ID] at [resolution]Å)
  Known binders: [N] antibodies/nanobodies in SAbDab
  ",
  description="Research [target]"
)

Read the full file on GitHub · 396 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. 5d ago First seen · 396 lines · 16 tokens per session scan A d0d5ab89749f

Subscribe to this mod's changes

by:plan-campaign is a command published in the GitHub repository 001TMF/blatant-why (114 stars, last pushed 19d ago), licensed MIT. It adds 16 tokens to every session and 4,159 once invoked, about $0.0001 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.