Skip to content
Agentmart
Submit a tool

cost-report

Token and cost analysis per run, suite, and config.

Skill by sourcegraph

IndexedApache-2.0★ 37
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sourcegraph-cost-report

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Token and cost analysis per run, suite, and config. Shows most expensive tasks and config cost comparison. Triggers on cost report, how much did it cost, token usage, spending.

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/cost-report

What's inside

Skill name
cost-report
Description
Token and cost analysis per run, suite, and config. Shows most expensive tasks and config cost comparison. Triggers on cost report, how much did it cost, token usage, spending.
License
Apache-2.0
Instructions
38 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Cost Report

Analyze token usage and estimated cost across benchmark runs.

## Steps

### 1. Run cost analysis

```bash
cd ~/CodeScaleBench && python3 scripts/cost_report.py
```

### 2. Present findings

The table output shows:
- Total cost, tokens, and wall-clock hours
- Per suite/config breakdown with average cost per task
- Config cost comparison (is SG_full significantly more expensive than baseline?)
- Top 10 most expensive individual tasks

## Variants

### Filter to one suite
```bash
python3 scripts/cost_report.py --suite csb_sdlc_pytorch
```

### Filter to one config
```bash
python3 scripts/cost_report.py --config sourcegraph_full
```

### JSON output
```bash
python3 scripts/cost_report.py --format json
```

From sourcegraph/CodeScaleBench, Apache-2.0.

More from sourcegraph/CodeScaleBench

Signals

Stars
37
Forks
5
Open issues
0
Last commit (this folder)
Mar 17, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sourcegraph

Cite this page

cost-report skill. Agent Mart. https://agentmart.dev/skills/sourcegraph-cost-report (last updated 2026-10-24)