-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcost-leak-audit.html
More file actions
616 lines (549 loc) · 21.2 KB
/
Copy pathcost-leak-audit.html
File metadata and controls
616 lines (549 loc) · 21.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AI Agent Cost Leak Audit | Agent Ops Command Center</title>
<meta name="description" content="Free AI-agent cost leak audit for estimating cleanup time, direct spend, preventable leaks, break-even weeks, and order intent for Agent Ops Command Center.">
<meta property="og:title" content="AI Agent Cost Leak Audit">
<meta property="og:description" content="Estimate where Codex, Claude Code, Cursor, or local-agent work leaks cleanup time and whether a $29 operating workspace pays back.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://ivelly42.github.io/agent-ops-command-center/cost-leak-audit.html">
<meta property="og:image" content="https://ivelly42.github.io/agent-ops-command-center/og.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://ivelly42.github.io/agent-ops-command-center/og.png">
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "AI Agent Cost Leak Audit",
"applicationCategory": "BusinessApplication",
"operatingSystem": "Any",
"url": "https://ivelly42.github.io/agent-ops-command-center/cost-leak-audit.html",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"isPartOf": {
"@type": "Product",
"name": "Agent Ops Command Center",
"offers": {
"@type": "Offer",
"price": "29",
"priceCurrency": "USD",
"availability": "https://schema.org/PreOrder",
"url": "https://github.com/ivelly42/agent-ops-command-center/issues/new?template=payment-ready.yml"
}
}
}
</script>
<style>
:root {
color-scheme: light;
--ink: #151515;
--muted: #5f5a52;
--line: #d8d3ca;
--paper: #fbfaf7;
--panel: #ffffff;
--accent: #0f766e;
--gold: #b45309;
--risk: #b91c1c;
--soft: #f7f5f0;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: var(--ink);
background: var(--paper);
}
header, main, footer {
width: min(1180px, calc(100% - 40px));
margin: 0 auto;
}
header {
min-height: 72px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; }
nav {
display: flex;
flex-wrap: wrap;
gap: 16px;
font-size: 14px;
}
a {
color: inherit;
text-decoration: none;
}
.hero {
padding: 64px 0 42px;
display: grid;
grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
gap: 48px;
align-items: center;
}
.eyebrow {
color: var(--accent);
font-size: 14px;
font-weight: 800;
margin-bottom: 14px;
}
h1 {
font-size: clamp(42px, 7vw, 76px);
line-height: 0.98;
margin: 0 0 20px;
letter-spacing: 0;
}
.lead {
color: var(--muted);
font-size: 20px;
line-height: 1.5;
margin: 0;
max-width: 760px;
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 24px;
}
.button {
min-height: 44px;
display: inline-flex;
align-items: center;
justify-content: center;
border: 1px solid var(--ink);
border-radius: 8px;
padding: 0 16px;
font-weight: 800;
background: transparent;
color: inherit;
font: inherit;
cursor: pointer;
}
.button.primary {
background: var(--ink);
color: #fff;
}
.audit-card {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 8px;
padding: 24px;
box-shadow: 0 24px 80px rgba(21, 21, 21, 0.12);
}
.number {
font-size: 72px;
line-height: 0.95;
font-weight: 900;
margin-bottom: 10px;
}
.metric-label {
color: var(--muted);
font-size: 18px;
line-height: 1.45;
margin-bottom: 20px;
}
.mini-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
}
.mini {
border: 1px solid var(--line);
background: var(--soft);
border-radius: 8px;
padding: 14px;
}
.mini strong {
display: block;
font-size: 24px;
margin-bottom: 4px;
}
.mini span {
color: var(--muted);
font-size: 13px;
}
section {
padding: 34px 0;
border-top: 1px solid var(--line);
}
.section-head {
display: flex;
justify-content: space-between;
gap: 24px;
align-items: end;
margin-bottom: 18px;
}
h2 {
font-size: clamp(28px, 4vw, 46px);
margin: 0;
letter-spacing: 0;
}
.section-head p {
color: var(--muted);
line-height: 1.5;
max-width: 560px;
margin: 0;
}
.inputs, .leaks, .grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}
.input, .leak, .item {
background: var(--panel);
border: 1px solid var(--line);
border-radius: 8px;
padding: 18px;
}
.input label, .leak label {
display: flex;
justify-content: space-between;
gap: 16px;
font-weight: 800;
margin-bottom: 8px;
}
.input label span, .leak label span {
color: var(--muted);
}
.input p, .leak p, .item p {
color: var(--muted);
line-height: 1.45;
margin: 0 0 12px;
}
.item h3 {
margin: 0 0 10px;
font-size: 20px;
}
input[type="range"] {
width: 100%;
accent-color: var(--accent);
}
textarea {
width: 100%;
min-height: 280px;
border: 1px solid var(--line);
border-radius: 8px;
background: #fff;
color: var(--ink);
font: 13px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
padding: 14px;
resize: vertical;
}
.notice {
border-left: 4px solid var(--gold);
background: var(--panel);
color: var(--muted);
padding: 18px 20px;
line-height: 1.55;
}
.status {
color: var(--accent);
font-weight: 800;
margin-top: 12px;
min-height: 22px;
}
footer {
color: var(--muted);
padding: 36px 0 48px;
}
@media (max-width: 980px) {
.hero, .inputs, .leaks, .grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 720px) {
header {
align-items: flex-start;
flex-direction: column;
gap: 14px;
padding: 18px 0;
}
.hero {
padding-top: 44px;
}
.section-head {
display: block;
}
.section-head p {
margin-top: 10px;
}
.mini-grid {
grid-template-columns: 1fr;
}
}
</style>
</head>
<body>
<header>
<a class="brand" href="index.html">Agent Ops Command Center</a>
<nav aria-label="Primary">
<a href="index.html">Home</a>
<a href="buy.html">Buy</a>
<a href="workflow-picker.html">Picker</a>
<a href="notion-import-builder.html">Import</a>
<a href="ops-maturity-check.html">Maturity</a>
<a href="cost-leak-audit.html">Cost</a>
<a href="buyer-decision-matrix.html">Decision</a>
<a href="purchase-approval-brief.html">Approval</a>
<a href="buyer-intake.html">Intake</a>
<a href="run-log-builder.html">Builder</a>
<a href="sample-dashboard.html">Sample</a>
<a href="roi-calculator.html">ROI</a>
<a href="pricing.html">Pricing</a>
<a href="checkout-readiness.html">Checkout</a>
<a href="order-intent.html">Intent</a>
</nav>
</header>
<main>
<div class="hero">
<div>
<div class="eyebrow">Free AI-agent cost leak audit</div>
<h1>Find the agent work that keeps charging you twice.</h1>
<p class="lead">Estimate cleanup time, preventable token spend, repeated verification gaps, and handoff loss before requesting the $29 Agent Ops Command Center pack.</p>
<div class="actions">
<a class="button primary" href="order-intent.html">Prepare order intent</a>
<a class="button" href="roi-calculator.html">ROI calculator</a>
<a class="button" href="ops-maturity-check.html">Maturity check</a>
<a class="button" href="https://github.com/ivelly42/agent-ops-command-center/releases/tag/v5.42-preview">Preview release</a>
</div>
</div>
<aside class="audit-card" aria-label="Cost leak estimate">
<div class="number" id="weeklyLeak">$43</div>
<div class="metric-label" id="fitLabel">Likely fit. One avoided cleanup loop can repay the pack quickly.</div>
<div class="mini-grid">
<div class="mini">
<strong id="monthlyLeak">$170</strong>
<span>estimated monthly leak</span>
</div>
<div class="mini">
<strong id="breakEven">0.7w</strong>
<span>weeks to break even</span>
</div>
<div class="mini">
<strong id="leakScore">16/35</strong>
<span>leak severity</span>
</div>
<div class="mini">
<strong>$29</strong>
<span>target pack price</span>
</div>
</div>
</aside>
</div>
<section>
<div class="section-head">
<h2>Cost Inputs</h2>
<p>Use conservative numbers. This page estimates recoverable waste; it does not count as revenue or payment proof.</p>
</div>
<div class="inputs" id="inputs"></div>
</section>
<section>
<div class="section-head">
<h2>Leak Severity</h2>
<p>Move each leak from 0 to 5. High severity means repeated cleanup, wasted model calls, or review time that the full pack is designed to prevent.</p>
</div>
<div class="leaks" id="leaks"></div>
</section>
<section>
<div class="section-head">
<h2>Audit Report</h2>
<p>Copy this into an order-intent issue, buyer approval note, or internal review before paying for the full workspace.</p>
</div>
<textarea id="report" readonly></textarea>
<div class="actions">
<button class="button primary" type="button" id="copyReport">Copy audit</button>
<a class="button" id="orderLink" href="order-intent.html">Use in order intent</a>
<a class="button" href="ai-agent-cost-leak-audit.md">Markdown audit</a>
<a class="button" href="cost-tracker-template.md">Cost tracker</a>
</div>
<div class="status" id="copyStatus" aria-live="polite"></div>
</section>
<section>
<div class="section-head">
<h2>Pack Surfaces That Close Leaks</h2>
<p>The paid workspace turns the leak categories into repeatable tables, gates, and review loops.</p>
</div>
<div class="grid">
<article class="item">
<h3>Before The Run</h3>
<p>Scope freeze, run brief, model routing matrix, and prompt regression tests reduce avoidable retries.</p>
</article>
<article class="item">
<h3>During Review</h3>
<p>Verification ledger, acceptance test suite, and done checklist make completion claims evidence-backed.</p>
</article>
<article class="item">
<h3>After Handoff</h3>
<p>Run log, failure modes database, incident report, cost tracker, and weekly review stop repeat leaks.</p>
</article>
</div>
</section>
<section>
<h2>Revenue Rule</h2>
<div class="notice">
This audit estimates cost savings only. It does not create checkout, prove payment, publish the paid ZIP, or count as revenue. Gross revenue is counted only from checkout, receipt, payout, or seller-dashboard evidence.
</div>
<div class="actions">
<a class="button primary" href="order-intent.html">Prepare order intent</a>
<a class="button" href="pricing.html">Pricing</a>
<a class="button" href="metrics/status.json">Demand metrics</a>
</div>
</section>
</main>
<footer>
Free cost leak audit. Private paid ZIP. Revenue only after payment proof.
</footer>
<script>
const price = 29;
const inputDefs = [
["runsPerWeek", "Agent runs per week", "Meaningful Codex, Claude Code, Cursor, or local-agent runs.", 1, 20, 1, 4, ""],
["leakedRuns", "Runs with cleanup", "Runs that need retries, manual repair, or extra review.", 0, 20, 1, 2, ""],
["cleanupMinutes", "Cleanup minutes", "Average extra human minutes per leaked run.", 5, 180, 5, 25, "m"],
["hourlyValue", "Hourly value", "Conservative value of builder or reviewer time.", 10, 200, 5, 45, "$"],
["directSpend", "Weekly tool spend", "Estimated preventable premium-model or tool spend.", 0, 150, 5, 10, "$"],
["preventable", "Preventable share", "How much of the leak a better operating system can plausibly remove.", 10, 90, 5, 50, "%"]
];
const leakDefs = [
["promptAmbiguity", "Prompt ambiguity", "Same task retried because the prompt lacked scope, proof, or stop conditions."],
["wrongModel", "Wrong model choice", "Premium model used for low-risk work or cheap model used where review cost rises."],
["weakVerification", "Weak verification", "Completion claims rely on summaries instead of commands, screenshots, URLs, or digests."],
["missingContext", "Missing context", "Agent re-reads, re-asks, or reconstructs facts already known elsewhere."],
["scopeDrift", "Scope drift", "Unrelated files, product areas, or refactors enter the run without explicit approval."],
["repeatedFailure", "Repeated failure", "The same symptom returns because no reusable prevention rule was recorded."],
["lostHandoff", "Lost handoff", "New session or reviewer cannot resume without reconstructing the chat."]
];
const inputs = document.getElementById("inputs");
const leaks = document.getElementById("leaks");
const weeklyLeak = document.getElementById("weeklyLeak");
const monthlyLeak = document.getElementById("monthlyLeak");
const breakEven = document.getElementById("breakEven");
const leakScore = document.getElementById("leakScore");
const fitLabel = document.getElementById("fitLabel");
const report = document.getElementById("report");
const orderLink = document.getElementById("orderLink");
const status = document.getElementById("copyStatus");
inputs.innerHTML = inputDefs.map(([id, title, description, min, max, step, value, suffix]) => `
<article class="input">
<label for="${id}">${title} <span id="${id}_value">${formatValue(value, suffix)}</span></label>
<p>${description}</p>
<input id="${id}" type="range" min="${min}" max="${max}" step="${step}" value="${value}">
</article>
`).join("");
leaks.innerHTML = leakDefs.map(([id, title, description]) => `
<article class="leak">
<label for="${id}">${title} <span id="${id}_value">2</span></label>
<p>${description}</p>
<input id="${id}" type="range" min="0" max="5" step="1" value="${id === "weakVerification" || id === "lostHandoff" ? 3 : 2}">
</article>
`).join("");
function formatMoney(value) {
return `$${Math.round(value).toLocaleString("en-US")}`;
}
function formatValue(value, suffix) {
if (suffix === "$") return `$${value}`;
if (suffix) return `${value}${suffix}`;
return String(value);
}
function values() {
return Object.fromEntries(inputDefs.map(([id]) => [id, Number(document.getElementById(id).value)]));
}
function leakValues() {
return leakDefs.map(([id, title]) => ({
id,
title,
value: Number(document.getElementById(id).value)
}));
}
function labelFor(weekly, score) {
if (weekly >= price || score >= 18) return "Likely fit. One avoided cleanup loop can repay the pack quickly.";
if (weekly >= price / 2 || score >= 12) return "Conditional fit. Buy if these leaks repeat for more than two weeks.";
return "Light fit. Use the free tools first unless review failures keep repeating.";
}
function render() {
const v = values();
const leakItems = leakValues();
const cleanupValue = v.leakedRuns * (v.cleanupMinutes / 60) * v.hourlyValue;
const preventableSpend = v.directSpend * (v.preventable / 100);
const weekly = Math.max(0, cleanupValue + preventableSpend);
const monthly = weekly * 4;
const breakEvenWeeks = weekly > 0 ? price / weekly : Infinity;
const score = leakItems.reduce((sum, item) => sum + item.value, 0);
const topLeaks = leakItems.filter((item) => item.value >= 3).map((item) => item.title);
for (const [id, , , , , , , suffix] of inputDefs) {
document.getElementById(`${id}_value`).textContent = formatValue(v[id], suffix);
}
for (const item of leakItems) {
document.getElementById(`${item.id}_value`).textContent = item.value;
}
weeklyLeak.textContent = formatMoney(weekly);
monthlyLeak.textContent = formatMoney(monthly);
breakEven.textContent = Number.isFinite(breakEvenWeeks) ? `${breakEvenWeeks.toFixed(1)}w` : "n/a";
leakScore.textContent = `${score}/35`;
fitLabel.textContent = labelFor(weekly, score);
report.value = [
"# AI Agent Cost Leak Audit",
"",
`Estimated weekly leak: ${formatMoney(weekly)}`,
`Estimated monthly leak: ${formatMoney(monthly)}`,
`Break-even time for $29 pack: ${Number.isFinite(breakEvenWeeks) ? `${breakEvenWeeks.toFixed(1)} weeks` : "not available"}`,
`Leak severity score: ${score}/35`,
`Recommendation: ${labelFor(weekly, score)}`,
"",
"Cost assumptions:",
`- Agent runs per week: ${v.runsPerWeek}`,
`- Runs with cleanup: ${v.leakedRuns}`,
`- Cleanup minutes per leaked run: ${v.cleanupMinutes}`,
`- Hourly value: $${v.hourlyValue}`,
`- Weekly direct tool spend: $${v.directSpend}`,
`- Preventable share: ${v.preventable}%`,
"",
`Top leaks: ${topLeaks.length ? topLeaks.join(", ") : "None marked 3-5"}`,
"",
"Leak detail:",
...leakItems.map((item) => `- ${item.title}: ${item.value}/5`),
"",
"Suggested next action:",
weekly >= price || score >= 18
? "Use the run log builder for the next agent run, then prepare order intent for the full workspace."
: "Use the free maturity check, cost tracker, and run log builder first; request the full workspace if leaks repeat.",
"",
"Cost leak audit: https://ivelly42.github.io/agent-ops-command-center/cost-leak-audit.html",
"ROI calculator: https://ivelly42.github.io/agent-ops-command-center/roi-calculator.html",
"Order intent: https://ivelly42.github.io/agent-ops-command-center/order-intent.html",
"Pricing: https://ivelly42.github.io/agent-ops-command-center/pricing.html",
"",
"Revenue rule: cost savings and buyer intent are not paid revenue."
].join("\n");
const params = new URLSearchParams({
buyer: "Cost leak audit user",
tools: "Codex, Claude Code, Cursor, local agents",
problem: `${formatMoney(weekly)} estimated weekly leak. Top leaks: ${topLeaks.join(", ") || "not specified"}.`
});
orderLink.href = `order-intent.html?${params.toString()}`;
}
for (const [id] of inputDefs) {
document.getElementById(id).addEventListener("input", render);
}
for (const [id] of leakDefs) {
document.getElementById(id).addEventListener("input", render);
}
document.getElementById("copyReport").addEventListener("click", async () => {
try {
await navigator.clipboard.writeText(report.value);
status.textContent = "Cost leak audit copied.";
} catch {
report.select();
status.textContent = "Select and copy the cost leak audit.";
}
});
render();
</script>
</body>
</html>