bayesian-optimization

bayesian-optimization is a skill for Claude Code, Codex from AllanWessels/Bratan. It costs 94 tokens per session (821 once invoked), scanned A, original, no licence file.

A method for tuning a small number of numeric settings by using earlier test results to choose the next tests. It is intended for cases where each evaluation is expensive.

In plain words
What is it for?
Use it to tune settings such as chunk size, result counts, reranking limits, or generation temperature when evaluation calls are costly.
Why use it?
It reduces the evaluations spent searching for good settings compared with trying combinations randomly or in a fixed grid.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit Use it to tune settings such as chunk size, result counts, reranking limits, or generation temperature when evaluation calls are costly.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/allanwessels/bratan/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 AllanWessels/Bratan --skill bayesian-optimization
Clone the repo
git clone --depth 1 https://github.com/AllanWessels/Bratan

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/allanwessels/bratan/bayesian-optimization/github.svg)](https://agentmods.dev/skills/allanwessels/bratan/bayesian-optimization)
Your own site
<a href="https://agentmods.dev/skills/allanwessels/bratan/bayesian-optimization"><img src="https://agentmods.dev/badge/skills/allanwessels/bratan/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/allanwessels/bratan/bayesian-optimization"><img src="https://agentmods.dev/badge/skills/allanwessels/bratan/bayesian-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 821 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 unknown 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.00094 $0.00821
Opus 5.5 $0.00038 $0.00328
Sonnet 5.5 $0.00019 $0.00164
Haiku 4.5 $0.00009 $0.00082

Measured 2mo ago against content hash a42cf9eed619, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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/bayesian-optimization/SKILL.md · 78 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 2mo ago First seen · 78 lines · 94 tokens per session scan A a42cf9eed619

Subscribe to this mod's changes

bayesian-optimization is a skill published in the GitHub repository AllanWessels/Bratan (2 stars, last pushed 3mo ago), with no licence file. It adds 94 tokens to every session and 821 once invoked, about $0.0004 per session on Opus 5.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

llm-runtime

Integrate, stream, and orchestrate frontier LLM APIs with robust structured outputs, tool call schemas, prompt caching, and resilient backoff handling. Use when implementing AI agent runtimes, tool-calling loops, streaming SSE endpoints, or optimizing token usage and model latency.

WrongStack/WrongStack · 59 tokens

ai-infrastructure-replicate

Replicate SDK patterns for TypeScript/Node.js -- client setup, predictions, streaming, webhooks, file handling, model versioning, deployments, and training.

agents-inc/skills · 39 tokens

ai-orchestration-langchain

LangChain.js patterns for building LLM applications — chat models, LCEL chains, prompt templates, structured output, agents, tools, RAG, streaming, and LangSmith tracing.

agents-inc/skills · 43 tokens

ai-provider-anthropic-sdk

Official Anthropic SDK patterns for TypeScript/Node.js — client setup, Messages API, streaming, tool use, vision, extended thinking, structured outputs, prompt caching, batch API, and production best practices.

agents-inc/skills · 48 tokens

ai-provider-cohere-sdk

Official Cohere TypeScript SDK patterns -- CohereClientV2, chat, embeddings, rerank, RAG with citations, tool use, streaming, and model selection.

agents-inc/skills · 40 tokens

ai-provider-google-gemini-sdk

Official TypeScript SDK for Google Gemini — client setup, text generation, multimodal input, function calling, structured output, streaming, embeddings, context caching, and chat sessions.

agents-inc/skills · 42 tokens