Skip to content
Agentmart
Submit a tool

bayesian-optimization-tools

Bayesian optimization workflow guide for experiment suggestion, condition tuning, and closed-loop parameter search with Gaussian-process surrogates.

Skill by DrugClaw

IndexedApache-2.0★ 87
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/drugclaw-bayesian-optimization-tools

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Bayesian optimization workflow guide for experiment suggestion, condition tuning, and closed-loop parameter search with Gaussian-process surrogates. Use when the user asks which experiment to try next, how to tune reaction or assay conditions, or how to balance exploration versus exploitation over a bounded numeric search space.

Use cases: research, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/bayesian-optimization-tools

What's inside

Skill name
bayesian-optimization-tools
Description
Bayesian optimization workflow guide for experiment suggestion, condition tuning, and closed-loop parameter search with Gaussian-process surrogates. Use when the user asks which experiment to try next, how to tune reaction or assay conditions, or how to balance exploration versus exploitation over a bounded numeric search space.
License
Apache-2.0
Instructions
85 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • bayesian_optimize.py · templates/

SKILL.md (first lines)

# Bayesian Optimization Tools

Use this skill when the user wants the runtime to recommend the next experiment or parameter set instead of only summarizing past results.

Typical triggers:
- suggest the next assay or reaction condition to try
- tune temperature, pH, concentration, or incubation parameters under limited budget
- optimize model or simulation hyperparameters when evaluations are expensive
- build a closed-loop experiment table from prior results and explicit bounds

## Environment Check

```bash
which python3 || true
python3 - <<'PY'
mods = ["numpy", "sklearn"]
for name in mods:
    try:
        __import__(name)
        print(f"{name}: ok")
    except Exception as exc:
        print(f"{name}: missing ({exc})")
PY
```

Do not claim a suggestion run completed if `numpy` or `scikit-learn` is missing.

## Bundled Asset

- `templates/bayesian_optimize.py`

## Preferred Workflow

1. Confirm the objective column and whether the user wants to maximize or minimize it.
2. Confirm the numeric search-space bounds for every parameter.
3. Start from a saved history table or inline JSON records.
4. Export ranked suggestions plus a summary JSON so the next round is reproducible.
5. Treat the output as an experiment-prioritization proposal, not proof that the optimum has been found.

## Quick Start

```bash
python3 templates/bayesian_optimize.py \
  --input experiments.csv \
  --objective-column yield \
  --param-column temperature \
  --param-column ph \
  --bound temperature:20:80 \
  --bound ph:5.5:8.5 \
  --direction maximize \
  --output optimization/next_conditions.csv \
  --summary optimization/next_conditions.json
```

Inline JSON example:

```bash
python3 templates/bayesian_optimize.py \
  --history-json '[{"temperature": 20, "ph": 7.0, "yield": 0.52}, {"temperature": 35, "ph": 6.5, "yield": 0.68}]' \
  --objective-column yield \
  --bound temperature:20:60 \
  --bound ph:5.5:8.0 \
  --direction maximize \
  --suggestions 3 \
  --output optimization/suggestions.csv \
  --summary optimization/suggestions.json
```

## Output Expectations

Good answers should mention:
- the exact objective column and optimization direction
- which parameter bounds were used
- the acquisition policy and exploration weight
- the best observed point so far
- how many ranked suggestions were written
- where the CSV and summary JSON were saved

## Related Skills

For regression or hypothesis testing on finished experiments, activate `stat-modeling-tools`.
For study-planning artifacts or reproducibility checklists, activate `scientific-workflow-tools`.
For chemistry, omics, or docking analyses that generate the objective values, activate the corresponding domain skill.

From DrugClaw/DrugClaw, Apache-2.0.

More from DrugClaw/DrugClaw

Signals

Stars
87
Forks
8
Open issues
1
Last commit (this folder)
Mar 11, 2026 (7 months ago)
Last release
Mar 13, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DrugClaw

Cite this page

bayesian-optimization-tools skill. Agent Mart. https://agentmart.dev/skills/drugclaw-bayesian-optimization-tools (last updated 2026-10-24)