agentleFS
vikas8520-codervikas8520-coder/nerve/skills/cli-cost-usage/SKILL.md

cli-cost-usage

Skill0 starsChanged 3 months agoMITView on GitHub

View cost breakdowns, token usage, and call logs from the CLI. Filter by provider, model, or date range. Export usage reports and inspect per-connection spending.

  • Installs packages

4 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

View cost breakdowns, token usage, and call logs from the CLI. Filter by provider, model, or date range. Export usage reports and inspect per-connection spending.

Quick install

npm install -g nerve   # or: npx nerve
nerve --version

Subcommands

cost

Flags:

  • --period <range>
  • --since <date>
  • --until <date>
  • --group-by <field>
  • --api-key <key>
  • --limit <n>

Example:

nerve cost

pricing

Example:

nerve pricing

pricing sync

Flags:

  • --provider <p>
  • --force

Example:

nerve pricing sync

pricing list

Flags:

  • --provider <p>
  • --model <m>
  • --limit <n>

Example:

nerve pricing list

pricing get <model>

Example:

nerve pricing get <model>

pricing defaults

Example:

nerve pricing defaults

pricing show

Example:

nerve pricing show

pricing set

Flags:

  • --input <p>
  • --output <p>
  • --cache-read <p>
  • --cache-write <p>

Example:

nerve pricing set

pricing diff

Flags:

  • --model <m>

Example:

nerve pricing diff

usage

Example:

nerve usage

usage analytics

Flags:

  • --period <range>
  • --provider <id>

Example:

nerve usage analytics

usage budget

Example:

nerve usage budget

usage list

Example:

nerve usage list

usage get [scope]

Example:

nerve usage get [scope]

usage set <amount>

Flags:

  • --scope <s>
  • --period <p>

Example:

nerve usage set <amount>

usage reset [scope]

Example:

nerve usage reset [scope]

usage quota

Flags:

  • --provider <id>
  • --check

Example:

nerve usage quota

usage logs

Flags:

  • --limit <n>
  • --search <q>
  • --since <ts>
  • --follow
  • --api-key <k>

Example:

nerve usage logs

usage utilization

Flags:

  • --api-key <k>

Example:

nerve usage utilization

usage history

Flags:

  • --limit <n>

Example:

nerve usage history

usage proxy-logs

Flags:

  • --limit <n>

Example:

nerve usage proxy-logs

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.