agentsclimarketplace

Model usage linux

Skill aAAaqwq/AGI-Super-Team/skills/model-usage-linux

14 AI executives powered by legendary minds (Musk/Buffett/Simons/Feynman) — deploy your virtual C-Suite in one git clone.

Install
npx -y skills add aAAaqwq/AGI-Super-Team --skill model-usage-linux

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its author says it does

Copied from the file, not written here

Track OpenClaw AI token usage and cost per model on Linux by parsing session JSONL files. Use when asked about: token usage, API cost, how much has been spent, which model was used most, usage summary, billing, cost breakdown. Linux replacement for the macOS-only model-usage/CodexBar skill.

SKILL.md

0.9 KB, as published. Nobody here has run it

Model Usage (Linux)

Parse OpenClaw session files to summarize token usage and cost per model.

Quick start

python3 {baseDir}/scripts/usage.py

Options

# JSON output
python3 {baseDir}/scripts/usage.py --format json

# Custom sessions dir
python3 {baseDir}/scripts/usage.py --sessions-dir ~/.openclaw/agents/main/sessions

Output

Shows per-model breakdown:

  • Turns (assistant replies)
  • Input / output tokens
  • Cache read / write tokens
  • Cost in USD

Sessions live at: ~/.openclaw/agents/main/sessions/*.jsonl

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.