usage-costs

Community

Instantly reveal AI token usage and cost insights.

Authornetanel-abergel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It eliminates the guesswork around how many AI tokens have been consumed and what monetary cost they represent across sessions, cron jobs, and sub‑agents.

Core Features & Use Cases

  • Live Session Report – Pull current token counts from openclaw status --deep for the main session and cached data.
  • Cron History Report – Summarize input and output tokens from recent cron run logs to calculate daily spend.
  • Weekly & Session Summaries – Aggregate token usage from token-history.jsonl to provide per‑day breakdowns and per‑session cost estimates.
  • Provider‑Specific Pricing – Apply model‑specific rates (e.g., Claude Sonnet) to convert token counts into USD values.

Quick Start

Ask the assistant: “How much did today cost?”

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: usage-costs
Download link: https://github.com/netanel-abergel/pa-skills/archive/main.zip#usage-costs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.