sulfierry/mcp/by-campaign-optimizer

Claude Code and agent skill by sulfierry/mcp

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install sulfierry/mcp/by-campaign-optimizer

SKILL.md

The same SKILL.md was published earlier as sulfierry/mcp/by-campaign-optimizer.

Skill: BY Campaign Optimizer (Active Learning)

Suggest optimised parameters for the next design round using data-driven active learning. Trains a lightweight random-forest regressor on all scored designs in a campaign and returns feature importances, threshold refinements, and diversity/alpha suggestions.


When to Use

  • After a design round completes and scores are recorded.
  • When deciding how to configure the next round of a multi-round campaign.
  • When the campaign has 10 or more scored designs (the ML threshold).

How It Works

  1. Data collection -- Gathers all *_scores.json files under the campaign

directory.

  1. Feature extraction -- Extracts ipSAE, ipTM, pLDDT, RMSD, liabilities,

and CDR3 length from each scored design.

  1. Random forest -- Fits a RandomForestRegressor (100 trees, max depth 5)

predicting ipSAE as the optimisation target.

  1. Top-quartile analysis -- Identifies feature ranges shared by the best 25%

of designs and derives threshold recommendations.

  1. Output -- Returns an OptimizationResult with source, recommended

parameters, feature importances, confidence level, and a human-readable explanation.

Fallback Behaviour

When fewer than 10 scored designs exist, or scikit-learn is not installed, the optimizer falls back to rule-based recommendations (source: "rule_based"). Install the ML extras to enable active learning:

pip install by-agent[ml]

MCP Tool

`campaign_suggest_next_round` -- call via the by-campaign MCP server.

ArgumentDefaultDescription
campaign_dir(required)Path to campaign directory
min_designs10Minimum scored designs for ML

Python API

python
from proteus_cli.campaign.active_learning import (
has_enough_data,
suggest_from_campaign,
OptimizationResult,
)
if has_enough_data("campaigns/tnfa/campaign_20260323_001"):
result = suggest_from_campaign("campaigns/tnfa/campaign_20260323_001")
print(result.source) # "active_learning"
print(result.recommended_parameters) # {"min_ipsae": 0.42, ...}
print(result.feature_importances) # [("ipsae", 0.35), ...]

Reference

Inspired by EVOLVEpro (Science, 2024) -- few-shot active learning using protein language model embeddings. This implementation uses hand-crafted structural and developability features instead of PLM embeddings, making it lightweight and dependency-free (apart from scikit-learn).

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Grok Build (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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sulfierry/mcp/by-campaign-optimizer/badge)](https://verified-skill.com/skills/sulfierry/mcp/by-campaign-optimizer)

Something wrong with this skill or its page? Tell us.