beaker-setup

beaker-setup is a skill for Claude Code, Codex from rilixai/beaker-skill. It costs 136 tokens per session (8,719 once invoked), scanned A, original, MIT.

A setup workflow for adapting a Python repository for Beaker agent optimization while keeping the application's normal runtime unchanged.

In plain words
What is it for?
Use it to find the application entry point, create a Beaker optimization specification, perform a local structural check, and prepare the project for an optional remote run.
Why use it?
It helps connect the real agent task, model call, candidate code, scorer, and labeled examples without changing the repository's tests.

Skill for Claude CodeCodex

Part of the beaker plugin — 2 skills shipped together

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.

agentmods
npx agentmods add skills/rilixai/beaker-skill/beaker-setup
Any agent
npx skills add rilixai/beaker-skill --skill beaker-setup
Clone the repo
git clone --depth 1 https://github.com/rilixai/beaker-skill

Made for: Claude Code, Codex.

Or install beaker, the plugin that ships this one along with the rest of its 2 skills.

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 beaker-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/rilixai/beaker-skill/beaker-setup.svg)](https://agentmods.dev/skills/rilixai/beaker-skill/beaker-setup)
Your own site
<a href="https://agentmods.dev/skills/rilixai/beaker-skill/beaker-setup"><img src="https://agentmods.dev/badge/skills/rilixai/beaker-skill/beaker-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,719 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00136 $0.08719
Opus 5 $0.00068 $0.04359
Sonnet 5 $0.00027 $0.01744
Haiku 4.5 $0.00014 $0.00872

Measured today against content hash 5115398a99cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

beaker-setup 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 today.

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/beaker-setup/SKILL.md · 638 lines

How it starts

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

Beaker setup

Turn the repository's real LLM or agent task into a repository optimization spec. Find the application entrypoint, candidate source, model call, scorer, and labeled data before completing the integration. Finish with a passing local structural smoke check when real labeled examples are available; launch remotely only when the developer requests it.

Load the installed skill first

When the developer asks to install or update this skill, finish that command before loading and following the newly installed copy. Never install or update the skill in parallel with loading it. If this session loaded an older copy before replacement, reload the installed skill; when the agent host cannot refresh skills in place, start a new agent session instead of continuing with stale instructions. A user who already has the requested version installed can load it normally without reinstalling it.

Version check

This skill (0.4.9) is written for beaker-sdk 0.4.9. The skill and the SDK are released in lockstep with the same version number, so any difference between them means one side is stale. Before the happy path, run beaker --version (or uvx --from 'beaker-sdk>=0.4.9' beaker --version while Beaker is not yet installed in the project). If the installed CLI is older than 0.4.9, or does not recognize --version, upgrade beaker-sdk through the project's development-dependency workflow before continuing; older CLIs may lack commands or flags this skill relies on. If the CLI is newer than 0.4.9, this skill is stale: run npx skills update beaker-setup and npx skills update beaker-usage, then reload the skill as described above. Do not work around a mismatch by guessing at CLI behavior.

Happy path

Follow this order. The rest of this skill is constraints and recovery.

  1. beaker auth status (run beaker login only if it fails), then beaker agent list --json. Use uvx --from beaker-sdk beaker ... until the project dependency is installed.
  2. Identify the package or service being optimized, not the Git root: in a monorepo that is the directory holding the task's own pyproject.toml.
  3. Select that project's existing Beaker config, or enter the project root and run beaker init.
  4. Check the generated spec.source_dir right away: it must be the project's Git-root-relative directory, for example services/invoices, and "." only when the project is the Git root. Fix it immediately if it disagrees; do not wait for a migration hint.
  5. Install the beaker-sdk dependency command beaker init printed, in the project's development/tooling dependency group.
  6. After initial discovery, ask all currently known unresolved decisions together, such as which metric to optimize, the labeled-data source, quick-start versus full dataset size, agent name, judge model, or required credentials. Do not wait for discovery to be exhaustive, and continue independent discovery and implementation while the developer responds. Batching is best effort: if later discovery reveals another required decision, ask it then rather than guessing or delaying current work.
  7. Replace every TODO(beaker) in the spec and wire the real model call.
  8. beaker agent setup "<Agent Name>" (add --spec-id <id> when the config has several specs). Setup records the agent key in agent_key in the selected YAML. A name the developer supplied is approval; do not ask again.
  9. Relay newly discovered GitHub, labeled-data, and credential actions as soon as beaker onboarding status reports them; ask the developer to begin those actions immediately, then continue independent agent-owned work.
  10. Upload or select the labeled dataset, retain its immutable name@revision or artifact id, pass that same selector explicitly to smoke and launch, confirm required hosted environment values, and validate with beaker run smoke --strict. Do not commit an organization-specific dataset selector to YAML by default; a YAML dataset default is optional.
  11. Commit and push once, after the selected config and dataset are final, to beaker/<YYYYMMDD-HHMM>-<agent-name>.
  12. The first hosted run is a plain beaker run trigger (Beaker agent, dataset, optional --ref). Do not pass --optimization-model unless the developer explicitly asked to compare specific models. As soon as it starts, tell the developer that repository setup is finished, name the run state, and make clear that any remaining wait is for Beaker's hosted run rather than more integration work.
  13. Run beaker onboarding status after each completed step above, not after read-only probes.

Read the full file on GitHub · 638 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +6 lines 5115398a99cc
  2. yesterday Changed · +47 lines · +4 tokens per session e13c85a45ddd
  3. 4d ago First seen · 585 lines · 132 tokens per session scan A 4a9c4177a823

Subscribe to this mod's changes

beaker-setup is a skill published in the GitHub repository rilixai/beaker-skill (5 stars, last pushed today), licensed MIT. It adds 136 tokens to every session and 8,719 once invoked, about $0.0007 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens