Agent SkillsJuliusBrussee/caveman › caveman-manage

caveman-manage

GitHub

管理 Caveman 实验生命周期,通过 MCP 读取状态与证据,评估安全性并生成操作建议。严格禁止直接执行变更,确保在服务器闸门上线前仅进行只读审查与推荐。

skills/caveman-manage/SKILL.md JuliusBrussee/caveman

Trigger Scenarios

请求启动、批准、取消、推广或回滚实验 询问实验证据支持的操作

Install

npx skills add JuliusBrussee/caveman --skill caveman-manage -g -y
More Options

Use without installing

npx skills use JuliusBrussee/caveman@caveman-manage

指定 Agent (Claude Code)

npx skills add JuliusBrussee/caveman --skill caveman-manage -a claude-code -g -y

安装 repo 全部 skill

npx skills add JuliusBrussee/caveman --all -g -y

预览 repo 内 skill

npx skills add JuliusBrussee/caveman --list

SKILL.md

Frontmatter
{
    "name": "caveman-manage",
    "description": "Inspect Caveman Cloud's eval-gated experiment lifecycle and block unsafe execution. Use when the user asks to start, approve, cancel, promote, or roll back a Caveman experiment, or asks what action an experiment's evidence supports. Read evidence first; do not execute lifecycle mutations until server-authoritative transition and evidence gates ship."
}

Manage eval-gated experiments

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.

Non-negotiable gates

  1. A request to review, inspect, explain, or recommend authorizes reads only.
  2. Never approve an experiment whose results are pending, whose required guardrails are absent, or whose evidence reports a breach.
  3. Never convert experiment lift into verified_savings. Only active real traffic plus provider-causal, provider-complete ledger evidence can do that.
  4. Never supply an organization id. Project and tenant scope come from the logged-in Caveman identity and server RBAC.
  5. Never execute a lifecycle mutation, even after user approval. Exact <action>:<experiment_id> strings are agent-generatable and are not proof of human intent.
  6. Unknown states and server errors fail closed. Report exact cave_snake_code.

Step 1 — Load project and experiment

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.

Step 2 — Evaluate evidence

Report:

  • current lifecycle state and safety class;
  • control and candidate sample sizes;
  • quality or eval result;
  • latency, error, cost, retry, drop, and escalation guardrails when present;
  • evidence cost;
  • rollback or hold reason;
  • whether result is pending, failed, promotable, or active.

Absence is not a pass. If a required field is absent, state evidence incomplete and do not propose approval.

Step 3 — Propose one action

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.

Step 4 — Block unsafe execution

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.

Step 5 — Re-read after external operator action

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.

Version History

  • 12aa8cc Current 2026-08-16 08:54

Same Skill Collection

plugins/caveman/skills/caveman-compress/SKILL.md
plugins/caveman/skills/caveman-stats/SKILL.md
plugins/caveman/skills/caveman/SKILL.md
skills/caveman-commit/SKILL.md
skills/caveman-compress/SKILL.md
skills/caveman-discover/SKILL.md
skills/caveman-evidence-review/SKILL.md
skills/caveman-explore/SKILL.md
skills/caveman-help/SKILL.md
skills/caveman-learn/SKILL.md
skills/caveman-optimize/SKILL.md
skills/caveman-review/SKILL.md
skills/caveman-setup/SKILL.md
skills/caveman-stats/SKILL.md
skills/caveman/SKILL.md
skills/investigate-first/SKILL.md
skills/lean-build/SKILL.md
skills/migration/SKILL.md
skills/safe-refactor/SKILL.md
skills/surgical-patch/SKILL.md
skills/verify-and-stop/SKILL.md
plugins/caveman/skills/cavecrew/SKILL.md
skills/cavecrew/SKILL.md

Metadata

Files
0
Version
12aa8cc
Hash
487554bc
Indexed
2026-08-16 08:54

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 22:28
浙ICP备14020137号-1 $mapa de visitantes$