Model usage linux

From aAAaqwq/AGI-Super-Team · View interactive version

Model usage linux is an AI agent skill from the GitHub repository aAAaqwq/AGI-Super-Team. 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.

How to use this skill

Skill file

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:

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.