Install
openclaw skills install synboBayesian optimization for chemical reactions using the synbo package. This skill provides Python scripts to set up reaction spaces, build descriptors, run optimization, download recommended conditions, and upload results.
openclaw skills install synboBayesian optimization for chemical reactions using the synbo package. This skill provides Python scripts to set up reaction spaces, build descriptors, run optimization, download recommended conditions, and upload results.
Before executing ANY Bayesian Optimization (synbo) tasks, you MUST sequentially verify the following 5 prerequisites. Do NOT proceed with the optimization process until ALL criteria are met:
1. Find Conda Environment and synbo package
synbo_env conda environment exists. If not, create it; if it exists, activate it.synbo package is installed in synbo_env. If not, run pip install synbo2. Working Directory (project_wd) & Project Name (project_name)
config.json located in the skill's directory. If both project_wd and project_name are found, display the project name to the user (e.g., "Found existing project: [Project Name]") and use them.config.json file with this format: {"project_wd": "xxx", "project_name": "xxx"}.save_dir for all subsequent outputs.3. Reaction Space
project_wd/rxn_space directory.project_wd/rxn_space directory. Please provide the standard reaction space data." Do not proceed until provided.4. Condition Descriptors
project_wd/descriptors directory.project_wd/descriptors directory. Please provide the standard Condition Descriptors, OR let me know if you would like me to automatically generate them for you."5. Optimization Metrics
optimization_settings.json) exists directly within the project_wd directory.optimization_settings.json in the project_wd. The JSON file MUST strictly adhere to the following structure:{
"reagent_types": ["reagent1", "reagent2", "condition1", "condition2"],
"opt_metrics": ["target1", "target2"],
"opt_direct_info": [
{
"opt_direct": "max",
"opt_range": [0, 100],
"metric_weight": 1.0
},
{
"opt_direct": "min",
"opt_range": [0, 100],
"metric_weight": 1.0
}
]
}
Execution Block:
You are strictly forbidden from executing any initialization (initialize), optimization (optimize), or other synbo tasks until Steps 1 through 4 are fully verified and resolved.
When the user is required to provide the reaction space data, they may submit it via one of two methods:
Naming Conventions:
It is highly recommended that the user assigns a specific name to each molecule. If no names are provided, you must automatically assign names using a sequential format based on the reagent type: {reagent_type}-1, {reagent_type}-2, etc.
Data Storage Rules:
Regardless of the user's submission method, all reaction space data must be formatted and saved strictly into the project_wd/rxn_space directory.
{reagent_type}.csv.SMILES (for the SMILES strings) and name (for the molecule names).see [reference/get_desc.md](reference/get_desc.md)
see [reference/initialize.md](reference/initialize.md)
see [reference/optimize.md](reference/optimize.md)