Catalog
JuliusBrussee/caveman-evidence-review

JuliusBrussee

caveman-evidence-review

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.

NewUpdated Sep 9, 2026

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:

caveman_context {}

CLI fallback:

caveman cloud whoami
caveman 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:

caveman cloud costs
caveman cloud score
caveman 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:

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:

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

Step 5 — Report

Use this shape:

## 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.

Files1
1 files · 1.4 KB

Select a file to preview

Overall Score

84/100

Grade

B

Good

Grades are signals, not a certification. Always review a skill yourself before use.

Safety

88

Quality

82

Clarity

86

Completeness

78

Summary

A read-only operator skill for analyzing Caveman Cloud evidence: cost, Cave Score, workflows, traces, latency, errors, and LLM spend attribution. The skill guides an agent through loading project context, establishing baselines with structured reports, searching and inspecting traces with bounded queries, and delivering scoped evidence reports while enforcing hard rules around data interpretation.

Detected Capabilities

mcp-callcli-executiondata-readreport-generationstructured-query

Trigger Keywords

Phrases that agents use to match this skill to user intent.

investigate llm spendanalyze caveman costsreview trace evidencefind expensive workflowsdiagnose retry loops

Risk Signals

INFO

CLI fallback commands execute Caveman CLI with project-scoped queries

Step 1–4, CLI fallback blocks
INFO

MCP calls assume caveman_context, caveman_report, caveman_plan, caveman_trace_search, caveman_trace_get are available

Throughout steps 1–4
INFO

No write operations, no secrets access, no destructive commands

All content

Use Cases

  • Investigate where LLM API spend is concentrated across workflows and models
  • Compare cost cohorts and identify expensive traces within a bounded time window
  • Diagnose retry loops, cache misses, and model routing behavior from trace metadata
  • Review verified savings from experiments against measured provider costs
  • Analyze error patterns and latency distributions without guessing from repository state

Quality Notes

  • Strong enforcement of hard rules (rules 1–5) prevents misinterpretation of cost buckets and guardrails against causality claims from single traces
  • Clear step progression from context loading to trace inspection to scoped reporting reduces agent decision-making burden
  • Explicit curation of trace fields to retrieve (metadata, spans, timing, models, token counts, status) avoids unnecessary payload fetches and keeps operations efficient
  • Report template enforces proper scoping (project, time window) and separation of concerns (measured, verified, inferred costs) — prevents accidental conflation of categories
  • Detailed trace filtering options (workflow, model, provider, error code, cache status, optimization id, bounds) enable precise hypothesis testing
  • Fallback CLI commands are well-formed and aligned with MCP steps, providing clear escape hatch if tools unavailable
  • Limitation: does not cover how to recover from missing login or project selection beyond stopping and asking user — no error recovery logic for partial authentication
Model: claude-haiku-4-5-20251001Analyzed: Sep 9, 2026

Reviews

Add this skill to your library to leave a review.

No reviews yet

Be the first to share your experience.

Version History

  1. v2.0

    Contract changed: description

    ✦ AINarrows skill activation scope: removes cost-change diagnostics, quality analysis, workflow triage, compression, and analytics review.

    triggering2026-09-09

    LATEST
  2. v1.0

    2026-08-17

    View This VersionInitial version

Use JuliusBrussee/caveman-evidence-review in your dev environment

Command Palette

Search for a command to run...