Caveman Evidence Review

作者 juliusbrussee2e08b9177c07无许可证110K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Read-only review of Caveman Cloud evidence: cost, Cave Score, workflows, traces, latency, errors, routing, savings. Use when asked what Caveman found or where LLM spend goes.

AI 生成的概览

对 Caveman Cloud 证据进行只读审查,涵盖成本、Cave Score、工作流、追踪、延迟、错误与节省。

功能
指导对 Caveman Cloud 数据进行只读调查,可通过 MCP 工具或 CLI 回退方式获取概览、成本、评分、工作流、已验证节省和按日排序的余量。随后用有界追踪搜索检验主要解释,并查看少量代表性追踪的元数据、延迟、状态、令牌数、缓存状态和路由。产出结构化的证据审查,将实测成本、推断余量和已验证节省分开列示,引用追踪 id 和时间窗口,并列出未证实的解释和一项后续只读检查。
适用场景
当被问及 Caveman 发现了什么、LLM 支出流向何处,或 Caveman Cloud 项目中的成本、延迟或错误为何变化时使用。适用于必须限定在所选项目内且不获取载荷的只读证据审查。
运行要求
需要已登录并选定项目的 Caveman Cloud 访问权限,以及 Caveman MCP 工具(caveman_context、caveman_report、caveman_plan、caveman_trace_search、caveman_trace_get)或作为回退的 caveman CLI。需要访问 Caveman 服务的网络连接。该技能不附带脚本,仅为说明文档。

Review Caveman evidence

Act as a read-only operator. Build conclusions from current Caveman data, not from repository guesses. Never start, approve, cancel, or roll back an experiment from this skill.

Hard rules

  1. Keep these buckets separate:
    • measured provider-complete list-price cost;
    • inferred daily headroom;
    • verified ledger savings;
    • evidence cost. Never add or relabel them.
  2. Do not fetch prompt, completion, tool, or artifact payloads unless the user explicitly asks for payload review. Metadata, spans, timing, models, token counts, status, and optimizer attribution are enough for the default review.
  3. Scope every read to the project selected by Caveman context. Never supply an organization id.
  4. Empty results are evidence of no current signal, not zero cost or zero risk.
  5. Cite trace ids and exact time windows used. Do not claim a cause from an aggregate alone.

Step 1 — Load context

Prefer MCP:

text
caveman_context {}

CLI fallback:

bash
caveman cloud whoamicaveman cloud projects list

Stop if login or project selection is missing. Ask the user to run caveman login or select a project; never guess.

Step 2 — Establish baseline

Use caveman_report for:

  • overview
  • costs
  • score
  • workflows
  • verified_savings

Then use caveman_plan for ranked daily headroom. If question is narrow, skip unrelated reports. Read shortest set that can answer it.

CLI fallback:

bash
caveman cloud costscaveman cloud scorecaveman cloud plan --json

State report window and basis before interpreting direction.

Step 3 — Test the leading explanation with traces

Use caveman_trace_search. Choose a bounded window and closed filters: workflow, agent, model, provider, error code, runtime mode, cache status, optimization id, status class, token/cost/latency bounds, compression, or monitor verdict.

Useful groupings:

  • workflow — find jobs driving cost or failures;
  • model — compare model mix;
  • session — isolate retry or loop behavior;
  • ungrouped — identify exact traces.

Compare a suspect cohort with a control cohort or earlier bounded window. Do not infer causality from one expensive trace.

CLI fallback:

bash
caveman cloud traces search \  --workflow <slug> \  --from <RFC3339> \  --to <RFC3339> \  --sort total_cost_usd \  --dir desc \  --limit 25

Step 4 — Inspect representative traces

Call caveman_trace_get for a small number of high-signal trace ids. Inspect request and span metadata, latency, status, token counts, cache state, applied optimizers, and model route. Keep payload retrieval off.

CLI fallback:

bash
caveman cloud traces show <trace-id> --spans

Step 5 — Report

Use this shape:

text
## Caveman evidence review
Scope: <project> · <from> to <to>Measured cost: <value and basis>Verified savings: <ledger value, kept separate>Inferred headroom: <per-day band, kept separate>
Findings:1. <finding> — <aggregate evidence> — traces <ids>2. <finding> — <aggregate evidence> — traces <ids>
Unproven:- <plausible explanation lacking a control, trace, or eval>
Next read-only check:- <one bounded query>
Possible action:- <proposal only; use caveman-manage for read-only lifecycle review and safety gate>

If data is missing, name missing signal and stop at strongest supported statement. Never turn a catalog subtotal into an invoice or an experiment result into verified savings.

来源与署名

来源:juliusbrussee/caveman位于skills/caveman-evidence-review提交2e08b91

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架