agent-cost-report
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Use when the user is hitting Claude usage limits, burning through tokens fast, running a long conversation, or asks how to use Claude Code more efficiently. Triggers on phrases like "hit my limit", "running out of tokens", "usage limit", "save tokens", "reduce usage", "am I
Claude Code
$ npx -y skills add dubibubii/usage-limit-reducer --skill usage-limit-reducer --agent claude-code
Codex
$ npx skills add dubibubii/usage-limit-reducer --skill usage-limit-reducer -a codex -y
Cursor
$ npx skills add dubibubii/usage-limit-reducer --skill usage-limit-reducer -a cursor -y
Gemini CLI
$ npx skills add dubibubii/usage-limit-reducer --skill usage-limit-reducer -a gemini-cli -y
GitHub Copilot
$ npx skills add dubibubii/usage-limit-reducer --skill usage-limit-reducer -a github-copilot -y
OpenCode
$ npx skills add dubibubii/usage-limit-reducer --skill usage-limit-reducer -a opencode -y
Windsurf
$ npx skills add dubibubii/usage-limit-reducer --skill usage-limit-reducer -a windsurf -y
name: usage-limit-reducer description: Use when the user is hitting Claude usage limits, burning through tokens fast, running a long conversation, or asks how to use Claude Code more efficiently. Triggers on phrases like "hit my limit", "running out of tokens", "usage limit", "save tokens", "reduce usage", "am I wasting tokens", "this chat is getting long", "which model should I use". Diagnoses the current session, runs a real token-usage report from local JSONL logs, and applies Dubi's 11 rules for reducing Claude usage.
Apply Dubi's 11 rules for cutting Claude token usage. Claude re-reads the entire conversation every turn, so 98.5% of tokens often go to re-reading history instead of generating responses. This skill diagnoses where the user's tokens are going and applies the rules that actually move the needle.
Do the steps in order. Skip any step that clearly doesn't apply, but don't skip all of them — the value is in matching rules to what the user is actually doing.
Rule #4: "you can't fix what you can't measure." Claude Code already writes every token, model, and timestamp to `~/.claude/projects/<project>/<session>.jsonl`. Run the bundled script to show the breakdown (use the absolute path to `scripts/usage-report.py` inside this skill's directory):
python3 <SKILL_DIR>/scripts/usage-report.py --days 7
Flags: `--days N` (default 7), `--project <substring>` to scope by cwd, `--json` for machine-readable output. Share the headline numbers with the user — cache-hit % and model mix are the two that matter most. A low cache-hit % (under ~60%) means too many fresh chats or cache-busting edits; high Opus share for routine work means Rule #8 applies.
Before advising, check three things:
1. **Conversation length.** If this session already has many turns, rule #2 applies directly. Suggest `/compact` (summarize in place) or `/clear` then paste a one-paragraph summary as the first message of the new chat. 2. **CLAUDE.md presence.** Check the project root for `CLAUDE.md` and `~/.claude/CLAUDE.md`. If missing, rule #6 applies — offer to create one with the user's role, style, and project conventions so every new session doesn't burn 3–5 messages on setup. 3. **Model in use.** If the user is on Opus for trivial tasks (grammar, formatting, short answers, quick renames), rule #8 applies — recommend `/model claude-haiku-4-5` for those and keep Opus for deep work.
Pick the 2–4 rules most relevant to what the user is doing right now. Don't dump all 11 on them. For each rule you pick, say (a) what to do, (b) why it works, (c) the concrete next action.
| # | Rule | Claude Code action | |---|------|--------------------| | 1 | Don't follow up to correct — restart with a fixed prompt | When Claude misunderstands, `/clear` and re-prompt instead of piling on corrections | | 2 | Fresh chat every 15–20 turns | `/compact` to summarize in place, or `/clear` + paste summary | | 3 | Batch questions into one message | Combine related asks into one prompt; Claude often answers better with full picture | | 4 | Track actual token usage | Run the script in Step 1 | | 5 | Reuse recurring context | Put it in `CLAUDE.md`, a skill, or `.context/` — not re-pasted each session | | 6 | Set up memory / user preferences | Create or update `CLAUDE.md`; use the memory system under `~/.claude/projects/*/memory/` | | 7 | Turn off features you don't use | Audit `~/.claude/settings.json` for unused MCP servers, hooks, permissions | | 8 | Use Haiku for simple tasks | `/model claude-haiku-4-5` for grammar, drafts, formatting, quick lookups | | 9 | Spread work across the day | 5-hour rolling window — split into 2–3 sessions instead of one marathon | | 10 | Work off-peak | Peak is 5–11am PT / 8am–2pm ET weekdays; evenings and weekends stretch your plan | | 11 | Enable Overage as a safety net | Settings → Usage on Pro/Max plans — pay-as-you-go kicks in at the limit |
End with a short, ordered list of what to do *now*, based on the diagnosis. Examples:
Don't recite every rule. Don't lecture. Match the advice to what the session actually shows.
A Claude Code skill that stops you from burning through your usage limit. Claude re-reads the entire conversation on every turn. One developer measured it: 98.5% of his tokens went to re-reading history, only 1.5% to generating responses.
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…