bayesian-optimization

bayesian-optimization is a skill for Claude Code, Codex from SFETNI/Deep-Matter-Chem-Skills. It costs 4 tokens per session (13,290 once invoked), scanned A, original, MIT.

A method for choosing which materials or chemistry experiments and computer calculations to run next. It uses earlier results and uncertainty estimates to find good results with fewer expensive evaluations.

In plain words
What is it for?
Use it to plan experiments or simulations for properties such as band gap, formation energy, reaction rate, or synthesis yield. It also supports multiple goals, limited accuracy levels, restrictions, and parallel batches.
Why use it?
Laboratory tests and detailed simulations can be costly, so trying every option is impractical. It helps balance testing promising options with exploring less-known ones.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan experiments or simulations for properties such as band gap, formation energy, reaction rate, or synthesis yield. It also supports multiple goals, limited accuracy levels, restrictions, and parallel batches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sfetni/deep-matter-chem-skills/bayesian-optimization
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SFETNI/Deep-Matter-Chem-Skills --skill bayesian-optimization
Clone the repo
git clone --depth 1 https://github.com/SFETNI/Deep-Matter-Chem-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bayesian-optimization

README.md
[![agentmods](https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/bayesian-optimization/github.svg)](https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/bayesian-optimization)
Your own site
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/bayesian-optimization"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/bayesian-optimization/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bayesian-optimization

Your own site · 80×15
<a href="https://agentmods.dev/skills/sfetni/deep-matter-chem-skills/bayesian-optimization"><img src="https://agentmods.dev/badge/skills/sfetni/deep-matter-chem-skills/bayesian-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,290 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00004 $0.13290
Opus 5 $0.00002 $0.06645
Sonnet 5 $0.00001 $0.02658
Haiku 4.5 $0.00000 $0.01329

Measured 10d ago against content hash 61e45247fda6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

bayesian-optimization scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/surrogate-active-learning/bayesian-optimization/SKILL.md · 947 lines

How it starts

The opening of the file, as written. The whole thing — 947 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bayesian Optimization for Materials and Chemistry

Description

This skill covers Bayesian optimization (BO) for materials discovery and chemistry design: surrogate model construction, acquisition function selection and optimization, batch and constrained BO, multi-objective Pareto-front search, multi-fidelity optimization, and integration with high-throughput DFT, experimental workflows, and active learning loops. It uses BoTorch and Ax as the primary frameworks. Invoke this skill when sequentially selecting experiments or calculations to optimize an expensive objective — band gap, formation energy, synthesis yield, reaction rate, or any property accessible via DFT, simulation, or laboratory measurement — especially when the budget is small (tens to low hundreds of evaluations) and uncertainty-guided exploration matters.

Domain Context

Bayesian optimization is a sequential decision-making strategy for optimizing an expensive black-box function f(x) using as few evaluations as possible. It maintains a probabilistic surrogate model p(f | data) — typically a Gaussian process — and selects the next evaluation point by maximizing an acquisition function α(x) that balances exploration (high uncertainty) and exploitation (high predicted value). After each evaluation, the surrogate is updated and the process repeats.

Why BO for materials: Materials property spaces are high-dimensional, discontinuous, combinatorially large, and expensive to evaluate. A DFT calculation costs minutes to days; a synthesis-and-characterization cycle costs weeks. Random or grid search wastes budget on obviously poor candidates. BO uses all past evaluations to build a model of the objective landscape and targets the most promising regions. In practice, BO routinely outperforms random search on materials benchmarks at budgets of 20–200 evaluations, though the advantage shrinks as budget grows. [EXPERT REVIEW NEEDED: the relative advantage of BO over random search is problem-specific and sometimes smaller than reported in clean benchmarks; noisy experimental settings often reduce the margin]

Read the full file on GitHub · 947 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 947 lines · 4 tokens per session scan A 61e45247fda6

Subscribe to this mod's changes

bayesian-optimization is a skill published in the GitHub repository SFETNI/Deep-Matter-Chem-Skills (6 stars, last pushed 1mo ago), licensed MIT. It adds 4 tokens to every session and 13,290 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

smiles-validation

Strict SMILES validation, structural comparison, and modification verification. Catches invalid LLM-generated molecules.

synthetic-sciences/openscience · 24 tokens

patsnap-solution-engine

Patsnap TRIZ Concept Solution Engine MCP for AI agents. Generates innovation or product cost-reduction concepts through asynchronous TRIZ and TRIZ/DFMA workflows. Use for engineering problem solving, concept alternatives, cost-reduction analysis, task-progress retrieval, and selected-solution details.

patsnap/mcp · 64 tokens

patsnap-biological-modality

Biological sequence and modality intelligence via Patsnap MCP.

patsnap/mcp · 19 tokens

patsnap-current-awareness

Patsnap Current Awareness MCP for AI agents. Tracking system for pharmaceutical industry dynamics and cutting-edge news, covering global medical news search and in-depth news detail mining.

patsnap/mcp · 39 tokens

patsnap-regulatory-guidelines

Patsnap Regulatory & Guidelines MCP for AI agents. Evidence query tool for regulatory policies and clinical norms, covering semantic evidence retrieval for clinical guidelines and FDA drug labels.

patsnap/mcp · 41 tokens