Skip to content

/token-card

Render a token-usage stat card from local agent session logs and commit it to the repo. Invokes the token-card skill.

BOOST
From plugin
ecc
277k112 skills71 agents112 commands8 hooks
+1
Install
> /plugin marketplace add affaan-m/ECC
> /plugin install ecc@ecc

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/token-card

Context preview

What this command does when you run it.

Render a token-usage stat card from local agent session logs and commit it to the repo. Invokes the token-card skill.

Command definition

token-card.md
description: Render a token-usage stat card from local agent session logs and commit it to the repo. Invokes the token-card skill.
argument-hint: "[--out PATH] [--theme auto|light|dark] [--dry-run]"

Token Card

Thin compatibility shim. The workflow lives in the **token-card** skill (`skills/token-card/SKILL.md`), which is the canonical surface; this command exists so the slash-command harnesses can reach it.

Usage

/token-card                       # write the configured output (./tokenchit.svg by default)
/token-card --out docs/usage.svg  # write somewhere else
/token-card --theme dark
/token-card --dry-run             # report what would be written, write nothing

What it does

Renders an SVG card of this machine's AI coding agent usage — tokens, equivalent cost, streak, per-agent split — from local Claude Code, Codex, Gemini CLI and OpenCode session logs, and writes it into the working tree as a file the README can reference.

Follow the skill for the full workflow, including the confirmation required before the first registry download, the pinned CLI version, and the dry-run rules.

Ships withecc

Your agent can write code, but ECC gives it a coordinated engineering system and toolbox: it plans before it builds, verifies changes with tests, reviews its own work from a fresh context, remembers what matters, and turns repeated wins into reusable skills

Get the whole plugin, auto-invoked

Other commands on ecc.