Caveman Evidence Review

Caveman Evidence Review

Guides a coding agent through a read-only review of LLM cost, latency and routing evidence from Caveman Cloud, keeping measured and inferred figures separate.

Skill files1 file
SKILL.md143 lines
1
---
2
name: caveman-evidence-review
3
description: >
4
Read-only review of Caveman Cloud evidence: cost, Cave Score, workflows,
5
traces, latency, errors, routing, savings. Use when asked what Caveman found
6
or where LLM spend goes.
7
---
8
9
# Review Caveman evidence
10
11
Act as a read-only operator. Build conclusions from current Caveman data, not
12
from repository guesses. Never start, approve, cancel, or roll back an
13
experiment from this skill.
14
15
## Hard rules
16
17
1. Keep these buckets separate:
18
- measured provider-complete list-price cost;
19
- `inferred` daily headroom;
20
- `verified` ledger savings;
21
- evidence cost.
22
Never add or relabel them.
23
2. Do not fetch prompt, completion, tool, or artifact payloads unless the user
24
explicitly asks for payload review. Metadata, spans, timing, models, token
25
counts, status, and optimizer attribution are enough for the default review.
26
3. Scope every read to the project selected by Caveman context. Never supply an
27
organization id.
28
4. Empty results are evidence of no current signal, not zero cost or zero risk.
29
5. Cite trace ids and exact time windows used. Do not claim a cause from an
30
aggregate alone.
31
32
## Step 1 — Load context
33
34
Prefer MCP:
35
36
```text
37
caveman_context {}
38
```
39
40
CLI fallback:
41
42
```bash
43
caveman cloud whoami
44
caveman cloud projects list
45
```
46
47
Stop if login or project selection is missing. Ask the user to run
48
`caveman login` or select a project; never guess.
49
50
## Step 2 — Establish baseline
51
52
Use `caveman_report` for:
53
54
- `overview`
55
- `costs`
56
- `score`
57
- `workflows`
58
- `verified_savings`
59
60
Then use `caveman_plan` for ranked daily headroom. If question is narrow, skip
61
unrelated reports. Read shortest set that can answer it.
62
63
CLI fallback:
64
65
```bash
66
caveman cloud costs
67
caveman cloud score
68
caveman cloud plan --json
69
```
70
71
State report window and basis before interpreting direction.
72
73
## Step 3 — Test the leading explanation with traces
74
75
Use `caveman_trace_search`. Choose a bounded window and closed filters:
76
workflow, agent, model, provider, error code, runtime mode, cache status,
77
optimization id, status class, token/cost/latency bounds, compression, or
78
monitor verdict.
79
80
Useful groupings:
81
82
- `workflow` — find jobs driving cost or failures;
83
- `model` — compare model mix;
84
- `session` — isolate retry or loop behavior;
85
- ungrouped — identify exact traces.
86
87
Compare a suspect cohort with a control cohort or earlier bounded window.
88
Do not infer causality from one expensive trace.
89
90
CLI fallback:
91
92
```bash
93
caveman cloud traces search \
94
--workflow <slug> \
95
--from <RFC3339> \
96
--to <RFC3339> \
97
--sort total_cost_usd \
98
--dir desc \
99
--limit 25
100
```
101
102
## Step 4 — Inspect representative traces
103
104
Call `caveman_trace_get` for a small number of high-signal trace ids. Inspect
105
request and span metadata, latency, status, token counts, cache state, applied
106
optimizers, and model route. Keep payload retrieval off.
107
108
CLI fallback:
109
110
```bash
111
caveman cloud traces show <trace-id> --spans
112
```
113
114
## Step 5 — Report
115
116
Use this shape:
117
118
```text
119
## Caveman evidence review
120
121
Scope: <project> · <from> to <to>
122
Measured cost: <value and basis>
123
Verified savings: <ledger value, kept separate>
124
Inferred headroom: <per-day band, kept separate>
125
126
Findings:
127
1. <finding> — <aggregate evidence> — traces <ids>
128
2. <finding> — <aggregate evidence> — traces <ids>
129
130
Unproven:
131
- <plausible explanation lacking a control, trace, or eval>
132
133
Next read-only check:
134
- <one bounded query>
135
136
Possible action:
137
- <proposal only; use caveman-manage for read-only lifecycle review and safety gate>
138
```
139
140
If data is missing, name missing signal and stop at strongest supported
141
statement. Never turn a catalog subtotal into an invoice or an experiment result
142
into verified savings.
143

© Julius Brussee · Apache 2.0 · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

1 view
Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…