Inspect Caveman Cloud's experiment lifecycle and block unsafe execution. Use when asked to start, approve, cancel, promote or roll back a Caveman experiment.
Written by Caveman and published in JuliusBrussee/caveman under the Apache-2.0 license. Treq shows it unchanged except for heading levels and links to files on GitHub.
Treat every lifecycle change as a production control action. Read current state and results, then report one supported recommendation or block. Current agent MCP is intentionally read-only: control-api does not yet enforce a complete lifecycle transition table and evidence gate atomically.
verified_savings. Only active real
traffic plus provider-causal, provider-complete ledger evidence can do that.<action>:<experiment_id> strings are agent-generatable and are not proof of
human intent.cave_snake_code.Prefer MCP:
caveman_context {}
caveman_experiment_get {"action":"get","experiment_id":"<id>"}
caveman_experiment_get {"action":"results","experiment_id":"<id>"}
Use {"action":"list"} when the user has not named an id.
CLI fallback:
caveman cloud experiments list
caveman cloud experiments show <id>
caveman cloud experiments results <id>
Stop if login, project, experiment, or results are unavailable.
Report:
Absence is not a pass. If a required field is absent, state
evidence incomplete and do not propose approval.
Allowed actions:
start — only from a startable draft or queued state with configured graders;approve — only with complete passing evidence and a safety class the
current role may approve;cancel — stop a non-active experiment the user no longer wants;rollback — revert an active or harmful change through the server's linked
policy path. Current deployments may reject this honestly with
cave_not_implemented; never describe that response as a rollback.Show recommendation and id:
Proposed action: approve experiment 7f...
Reason: candidate passed quality and every configured guardrail.
Execution: blocked until server-authoritative lifecycle and evidence gates ship.
Do not treat earlier generic statements such as "manage it" or "do what is best" as mutation approval.
Do not emit or run an executable lifecycle command. Explain that current server does not yet enforce every evidence/state transition atomically. CLI and MCP agent surfaces therefore expose experiment reads only.
If operator says they executed command, read detail and results again. Report server-observed post-state, audit or result response, and any policy-delivery status returned. Never infer success from operator intent alone.
Use this close:
Action: <action> <experiment-id>
Before: <state>
Server response: <status and cave_snake_code if any>
After: <re-read state>
Basis: experiment evidence only. Verified savings unchanged unless the signed
ledger independently records active, provider-causal real-traffic savings.
Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /caveman-manage in Claude Code or $caveman-manage in Codex.
The description says when to use it:
Use when asked to start, approve, cancel, promote or roll back a Caveman experiment.
Copy the caveman-manage folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.
git clone --depth 1 https://github.com/JuliusBrussee/caveman.git /tmp/JuliusBrussee-caveman
mkdir -p .claude/skills
cp -r /tmp/JuliusBrussee-caveman/skills/caveman-manage .claude/skills/
Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if caveman-manage does not appear.
git clone --depth 1 https://github.com/JuliusBrussee/caveman.git /tmp/JuliusBrussee-caveman
mkdir -p .agents/skills
cp -r /tmp/JuliusBrussee-caveman/skills/caveman-manage .agents/skills/
Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for caveman-manage and choose Install….
Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.
caveman-manage ships one file, SKILL.md, shown above.