Agent skill
bayesian-optimizer
Install this agent skill to your Project
npx add-skill https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bayesian-optimizer
SKILL.md
name: 'bayesian-optimizer' description: 'Bayesian Optimize' measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes. allowed-tools:
- read_file
- run_shell_command
Bayesian Optimization (Self-Driving Lab)
The Bayesian Optimizer allows agents to efficiently explore a parameter space to maximize a target metric (yield, purity, binding affinity) with minimal experiments. It uses Gaussian Processes to model uncertainty and the Upper Confidence Bound (UCB) acquisition function.
When to Use This Skill
- When experiments are expensive or time-consuming.
- To autonomously tune hyperparameters for a machine learning model.
- To optimize reaction conditions (temperature, pH, concentration).
Core Capabilities
- Next Step Proposal: Suggests the next best experiment parameters.
- Surrogate Modeling: Predicts outcomes for untested parameters.
- Exploration/Exploitation: Balances trying new things vs. refining known good results.
Workflow
- Input: History of past experiments (params -> results) and bounds.
- Process: Fits a Gaussian Process to the data.
- Output: Returns the parameters for the next experiment.
Example Usage
User: "Given these past results, what temperature and pH should I try next?"
Agent Action:
python3 Skills/Mathematics/Probability_Statistics/bayesian_optimization.py \
--history "[[20, 7.0, 0.5], [25, 6.5, 0.6]]" \
--bounds "[[10, 40], [5, 9]]" \
--output next_experiment.json
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
vcf-annotator
Annotate VCF variants with VEP, ClinVar, gnomAD frequencies, and ancestry-aware context. Generates prioritised variant reports.
chemist-analyst
Analyzes events through chemistry lens using molecular structure, reaction mechanisms, thermodynamics, kinetics, and analytical techniques (spectroscopy, chromatography, mass spectrometry). Provides insights on chemical processes, material properties, reaction pathways, synthesis, and analytical methods. Use when: Chemical reactions, material analysis, synthesis planning, process optimization, environmental chemistry. Evaluates: Molecular structure, reaction mechanisms, yield, selectivity, safety, environmental impact.
bio-alignment-io
Read, write, and convert multiple sequence alignment files using Biopython Bio.AlignIO. Supports Clustal, PHYLIP, Stockholm, FASTA, Nexus, and other alignment formats for phylogenetics and conservation analysis. Use when reading, writing, or converting alignment file formats.
sleep-analyzer
分析睡眠数据、识别睡眠模式、评估睡眠质量,并提供个性化睡眠改善建议。支持与其他健康数据的关联分析。
metabolomics-workbench-database
Access NIH Metabolomics Workbench via REST API (4,200+ studies). Query metabolites, RefMet nomenclature, MS/NMR data, m/z searches, study metadata, for metabolomics and biomarker discovery.
bio-hi-c-analysis-matrix-operations
Balance, normalize, and transform Hi-C contact matrices using cooler and cooltools. Apply iterative correction (ICE), compute expected values, and generate observed/expected matrices. Use when normalizing or transforming Hi-C matrices.
Didn't find tool you were looking for?