boltzgen
BoltzGen is an all-atom diffusion model that generates antibody, nanobody, and de novo miniprotein backbones conditioned on a…
Persistent structured memory that turns isolated campaigns into a learning system. Each campaign writes outcomes, top designs, and failure modes into a JSON-backed graph so the next campaign benefits from prior art without re-running compute.
$ npx -y skills add 001TMF/blatant-why --skill by-knowledge --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/by-knowledgeContext preview
The summary Claude sees to decide when to auto-load this skill.
Persistent structured memory that turns isolated campaigns into a learning system. Each campaign writes outcomes, top designs, and failure modes into a JSON-backed graph so the next campaign benefits from prior art without re-running compute.
id: "skill_1074c69b6e034130bea9cd82aa22cfe2" name: "by-knowledge" display-name: "BY Knowledge Graph" short-description: "Persistent structured memory across campaigns — record and recall targets, scaffolds, designs, screening results, and failure patterns. Use when starting a new campaign, recording outcomes after screening, diagnosing repeated failures, or recommending parameters based on prior art." category: "persistence" keywords: "knowledge graph, persistent memory, campaign history, scaffold rankings, failure patterns, cross-campaign learning, NDJSON, entity, relationship" version: "1.0" last-updated: "2026-05-20" mcp_tools: ["mcp__by-knowledge__knowledge_store_campaign", "mcp__by-knowledge__knowledge_query_similar", "mcp__by-knowledge__knowledge_scaffold_rankings", "mcp__by-knowledge__knowledge_store_failure", "mcp__by-knowledge__knowledge_get_recommendations", "mcp__by-knowledge__knowledge_consolidate"]
Persistent structured memory that turns isolated campaigns into a learning system. Each campaign writes outcomes, top designs, and failure modes into a JSON-backed graph so the next campaign benefits from prior art without re-running compute.
The store is intentionally minimal: append-only JSON files, no server process, no embeddings — keyword overlap is enough for the scale we operate at (hundreds to low thousands of campaigns). Six MCP tools wrap the storage layer so every agent in the BY suite reads and writes through the same contract.
---
Use this skill when:
Don't use this skill for:
The graph is a long-lived asset. Be selective on writes; aggressive on queries.
---
# 1. Query prior art at campaign start
result = mcp__by_knowledge__knowledge_query_similar(
target_description="TNF-alpha cytokine homotrimer autoimmune",
modality="VHH",
top_k=5,
)
# 2. Record outcomes at campaign end (top 10-20 designs, not all of them)
mcp__by_knowledge__knowledge_store_campaign(
target="TNF-alpha",
modality="VHH",
parameters={"scaffold": "caplacizumab", "seeds": 4, "temperature": 0.7},
outcomes={
"hit_rate": 0.23,
"best_ipsae": 0.78,
"best_iptm": 0.85,
"screening_pass_rate": 0.18,
},
notes="Iter-2 hotspot refinement converged on Y56/R113",
designs=[
{"design_id": "tnf_001", "scaffold": "caplacizumab", "ipsae": 0.78, "iptm": 0.85, "status": "PASS"},
# ... up to ~20 top designs
],
)Expected runtime: <100 ms per call (no network, no DB engine). Storage is local JSON; first call seeds `~/.by/knowledge/` if missing.
---
| Software | Version | License | Commercial Use | Installation | |----------|---------|---------|----------------|--------------| | Python | >= 3.11 | PSF | ✅ Permitted | Pre-installed in BY env | | `mcp` SDK | >= 1.0.0 | MIT | ✅ Permitted | `pip install mcp` | | `jsonschema` (optional, for migration) | >= 4.0 | MIT | ✅ Permitted | `pip install jsonschema` |
No database, no server process, no compute. The MCP server starts cold in under one second. License Compliance: All packages permit commercial use.
**Storage directory resolution** (priority order): 1. `KNOWLEDGE_DIR` environment variable (explicit override) 2. `$BY_PROJECT_ROOT/.by/knowledge/` (project-local) 3. `~/.by/knowledge/` (home directory fallback)
---
**Required for `knowledge_store_campaign`:**
**Optional:**
**Required for `knowledge_store_failure`:**
See [references/graph-schema.md](references/graph-schema.md) for the full JSON Schema of every entity and relationship type.
---
All write tools return a JSON envelope:
{
"status": "stored",
"id": "campaign_a1b2c3d4e5f6",
"document": "Campaign targeting TNF-alpha using VHH modality. Scaffold: caplacizumab. Hit rate: 0.23. Best ipSAE: 0.78.",
"metadata": { /* echoed back for confirmation */ }
}All read tools return result lists with similarity scores:
{
"results": [
{
"id": "campaign_a1b2c3d4e5f6",
"similarity": 0.83,
"document": "Campaign targeting TNF-alpha...",
"metadata": { "target": "...", "outcomes": {...}, "parameters": {...} }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`).…