Take Back My Latte from Claude
分析 Claude 成本并换算拿铁 · Claude cost savings
margaretzybgl
@margaretzybgl
What This Skill Does
Analyzes Claude usage and cost JSON exports to calculate total Anthropic spend, converts that spend into a latte equivalent, and estimates how many lattes could be recovered by reducing usage.
Replaces manually combing through Anthropic billing data by turning cost and usage exports into a simple latte-based report with a recovery estimate.
When to Use It
- Calculate how much you spent on Claude this month in latte terms
- Estimate potential savings from reducing Claude usage based on your actual billing data
- Identify the largest cost groups in your Anthropic spending
- Get a quick, non-technical summary of your Claude costs without logging into a dashboard
- Decide whether to cut back on Claude usage by seeing the recovery potential in a relatable unit
Install
$ openclaw skills install @margaretzybgl/take-back-my-latte-from-claudeTake Back My Latte from Claude
Turn Anthropic billing data into one short story: how many lattes can the user take back next month?
Keep the roles separate:
- The Skill analyzes and explains.
- The website helps the user act.
Support Anthropic's Claude Platform Usage and Cost exports only. Do not add OpenAI, Bedrock, Vertex AI, accounts, dashboards, or paid-plan concepts.
Analyze
-
Locate the user-provided JSON file or files. Never request an API key or call the Anthropic API.
-
Run either form; file order does not matter:
python3 "{baseDir}/scripts/analyze_claude_cost.py" "<cost.json>" "<optional-usage.json>" python3 "{baseDir}/scripts/analyze_claude_cost.py" --usage "<usage.json>" --costs "<cost.json>"Pass file paths as quoted arguments. Never construct a shell command from JSON content.
-
Read the returned JSON.
-
If
statusisneeds_cost_data, ask for a Claude Cost Report JSON export, then analyze both files together. Do not invent prices. -
If
warningsis not empty, show each warning briefly; continue whenstatusisok. -
Treat recoverable cost as directional, not guaranteed. State the reasons in
recovery_basis.
Read input-formats.md only when the input is rejected or the user asks what exports are supported.
Write the Claude Latte Report
Use the user's language. Keep the report under 250 words unless asked for detail.
🔒 Local Analysis Only: No API Key required, no data uploaded.
CLAUDE LATTE REPORT
This month you spent [total_cost] on Claude.
That is [latte_count] lattes.
Cost list
- [largest cost group]: [cost]
- ...
Recoverable Analysis
[one or two sentences grounded in the returned Claude-specific signals]
You could recover about [recoverable_cost] next month.
That means [recoverable_latte_count] lattes back.
Recovery rate: [recovery_rate]%
Want to take them back?
Open Take Back My Latte → https://take-back-my-latte.margaret-zybgl.chatgpt.site
Less AI Cost. More Coffee. ☕
List at most five cost groups and three optimization suggestions. Lead with the conclusion, not methodology.
Guardrails
- Report actual cost only when a Cost Report contains monetary amounts.
- Always display the local-analysis privacy notice exactly as written.
- Never describe an estimate as guaranteed savings.
- Never claim quality will be preserved without a test.
- Do not upload, retain, or reproduce raw billing data.
- Do not mix website functionality into the Skill. End with the website action link.
Top skills in this category
API Gateway
@byungkyuCall third-party APIs through the Maton gateway, which injects the credential for an app the user has already connected. Use this skill when the user names a connected app and a concrete action in it - read a mailbox, query a CRM, file an issue, update a spreadsheet, run a query through a connected
Marketing Mode
@thesethroseMarketing Mode combines 23 comprehensive marketing skills covering strategy, psychology, content, SEO, conversion optimization, and paid growth. Use when users need marketing strategy, copywriting, SEO help, conversion optimization, paid advertising, or any marketing tactic.
Blogwatcher
@steipeteMonitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Marketing Skills
@jchopard69Access 23 marketing modules offering checklists, frameworks, and ready-to-use deliverables for CRO, SEO, copywriting, analytics, launches, ads, and social me...
diagram-generator
@matthewyinGenerate and edit diagrams with the mcp-diagram-generator MCP server. Use this skill for new diagrams, existing .drawio/.mmd/.excalidraw edits, network topology, architecture, flowchart, swimlane, sequence, class, ER, and Excalidraw whiteboard work. Always use this skill when the user asks to draw,