cost-advise
What it does
This skill reads your past AI coding session logs and points out where money may be wasted. It is for people who use AI coding tools and want to lower their bills.
When to use it
- ✓When you ask why your AI usage costs have been high.
- ✓When you want to know how to cut AI spending without losing quality.
- ✓When you want evidence-based tips from your recent sessions.
Skill link
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-cost-tracker/skills/cost-advise/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Why is my AI coding bill so high, and how can I lower it?”
5 new skills a week. 1 minute to read.
How it works
Your AI runs a script over your local usage logs for the last several days. It lists findings, such as low reuse of saved context or expensive models for simple helpers, each with a possible saving.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Cost Advise
node ${CLAUDE_PLUGIN_ROOT}/scripts/advise.mjs --since 7d
Rules for presenting findings
- Savings are what-if repricings of the same tokens at another rate. They say nothing about quality; tell the user to spot-check before switching a model.
- A finding with
saving n/ahas no defensible number (no measured delta exists). Do not invent one. - Do not change settings, models or CLAUDE.md on the user's behalf; present the action and let them choose.
- Prefer the largest controllable lever first: cache discipline, then model tier for sub-agents, then reasoning effort, then context size.
- Pair with
cost-ledgerfor the totals andcost-sessionto drill into one expensive session.
FAQ
Will it change my settings for me?
No. It shows the suggested actions and lets you decide. It does not change models, settings or project memory files on your behalf.
Are the savings guaranteed?
No. They are estimates from re-pricing the same tokens at another rate, so check the quality before you switch models.
Which tools does it read logs from?
It reads the logs written by Claude Code and Codex on your own computer.
Details
Original description by the author
Optimisation findings from your own Claude Code and Codex logs — low cache hit ratio, 1-hour cache writes that did not pay back, sub-agents on a top-tier model, Codex reasoning share, bloated sessions — each with evidence and a what-if saving. Use when asked how to cut spend or why it is high.
repo: ruvnet/ruflo
Popularity
- GitHub stars
- 81k
- Ranking position
- #1590
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-adaptive-coordinator
81kHelps your agent split and rebalance a group of AI agents as the workload changes, choosing a layout that fits the task.
agent-agent
81kTeaches your agent to turn a big goal into an ordered plan of actions, and to replan when conditions change.
agent-agentic-payments
81kHelps your agent manage spending mandates for AI shopping, with spend caps, time windows, merchant rules and signed approvals.
agent-analyze-code-quality
81kHelps your agent review code for quality, finding code smells, technical debt and refactoring ideas without changing the files.
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.