Skip to content
Back to skills

Maxxfactory Usage

ASecurity

Show how many tokens went through the AI coding harnesses (Claude Code, Codex, pi, opencode, Grok, Antigravity, ...), in total and per harness, for today, the last 7 days and the last 30 days, read from the logs the CLIs keep locally. Use when the user asks "/maxxfactory-usage", "how many tokens did we use", "token usage per harness", "token consumption today / this week / this month". For quota left and reset times, use /maxxfactory-status.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agents

Works with

  • claude code
  • terminal
  • cli

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add iCarossio/maxxfactory --skill maxxfactory-usage --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maxxfactory Usage?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Maxxfactory Usage
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/icarossio-maxxfactory-usage/badge)](https://www.skillsdirectory.com/skills/icarossio-maxxfactory-usage)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: maxxfactory-usage
description: Show how many tokens went through the AI coding harnesses (Claude Code, Codex, pi, opencode, Grok, Antigravity, ...), in total and per harness, for today, the last 7 days and the last 30 days, read from the logs the CLIs keep locally. Use when the user asks "/maxxfactory-usage", "how many tokens did we use", "token usage per harness", "token consumption today / this week / this month". For quota left and reset times, use /maxxfactory-status.
---

# Autopilot: usage

**Caveman, always.** Your first action: invoke the `caveman` skill and keep it for the whole session (again after a resume or compaction). If it is not installed, follow its rules anyway: answer first, no ceremony, numbers verbatim.

`bin/<x>` is the `bin` directory next to this SKILL.md (`~/.claude/skills/maxxfactory-usage/bin/<x>` after `install.sh`).

## Command

`bin/tokens --summary`

```
harness        today      7 days     30 days
claude          237M       5.14B       12.2B
codex           214M       3.83B       6.74B
...
TOTAL          1.19B       13.2B       24.8B
```

One row per harness, sorted by the 30-day total, then the TOTAL row. Windows end today and include it. Nothing is run, no quota is spent; the first run indexes the logs (a few seconds), later runs use the cache.

Options, only when asked: `--by account` (one row per login: `codex`, `codex-b`, ...), `--json`, `--cli claude,codex` (only those harnesses).

## How to report

Print the table as is, then one line: the harness with the largest 7-day share and its percentage. Nothing else unless asked.

On request only: `bin/tokens --period 7d|12w|12m|5y` (terminal chart per day, week, month or year; `--models` splits per model id) or `bin/tokens --html ./tokens.html` (self-contained page with the charts).

## Reading the numbers

Total = input (cached part included) + output, as each CLI logged it, not an invoice. Vibe keeps no local count, so it never appears.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.