Skip to content
Back to skills

Cost Report

ASecurity

Generate detailed cost reports with charts and breakdowns. Shows daily/weekly/monthly spend, per-tool costs, per-branch costs, and trends. Use when user says 'cost report', 'spending report', 'usage report', 'show costs', 'branch costs', or '/cost-report'.

  • 36 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
toolsbashnodegit

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add Manavarya09/cost-guardian --skill cost-report --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cost Report?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cost Report
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/manavarya09-cost-report/badge)](https://www.skillsdirectory.com/skills/manavarya09-cost-report)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cost-report
description: "Generate detailed cost reports with charts and breakdowns. Shows daily/weekly/monthly spend, per-tool costs, per-branch costs, and trends. Use when user says 'cost report', 'spending report', 'usage report', 'show costs', 'branch costs', or '/cost-report'."
argument-hint: "[session|daily|weekly|monthly|branch]"
allowed-tools: Bash
---

# Cost Report

Generate formatted cost reports with ASCII charts.

## Commands

### `/cost-report` or `/cost-report session`
Show current session report (enhanced with model breakdown and top expensive calls):
```bash
node "${CLAUDE_SKILL_DIR}/../../scripts/reporter.js" session "${CLAUDE_SESSION_ID}"
```

### `/cost-report daily`
Show last 7 days with day-of-week labels, averages, and projected monthly:
```bash
node "${CLAUDE_SKILL_DIR}/../../scripts/reporter.js" daily 7
```

### `/cost-report weekly`
Show last 4 weeks (28 days):
```bash
node "${CLAUDE_SKILL_DIR}/../../scripts/reporter.js" daily 28
```

### `/cost-report monthly`
Show last 30 days:
```bash
node "${CLAUDE_SKILL_DIR}/../../scripts/reporter.js" daily 30
```

### `/cost-report branch`
Show cost per git branch (last 30 days):
```bash
node "${CLAUDE_SKILL_DIR}/../../scripts/reporter.js" branch 30
```

### `/cost-report branch <days>`
Show branch costs for a custom period:
```bash
node "${CLAUDE_SKILL_DIR}/../../scripts/reporter.js" branch <DAYS>
```

## Display Rules
- Show the ASCII output exactly as returned — do not reformat it
- The box-drawing characters are intentional, preserve them
- Add brief commentary only if there's a notable trend or budget concern
- If no data exists yet, tell the user that tracking starts automatically
- For branch reports, mention that branch tracking requires working in a git repo

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.