cglab-public

Agenfk Calc Tokens — Development skill for Claude Code

Development community

Calculate and log token usage for the current session.

How to install Agenfk Calc Tokens

Installs to ~/.claude/skills/cglab-public-agenfk-agenfk-calc-tokens/SKILL.md

Terminal
mkdir -p ~/.claude/skills/cglab-public-agenfk-agenfk-calc-tokens && curl -fsSL https://raw.githubusercontent.com/cglab-public/agenfk/HEAD/commands/agenfk-calc-tokens.md -o ~/.claude/skills/cglab-public-agenfk-agenfk-calc-tokens/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Agenfk Calc Tokens does


description: Calculate and log token usage for the current session

Use the `agenfk` CLI for all workflow operations (CLI-only is the default; read with `--json` for machine-readable output). If `mcp__agenfk__*` tools are present (installed with `--with-mcp`), the equivalent MCP tool is interchangeable.

Inspect the token usage recorded for the current session. Token usage is captured automatically by the server-side ingestion worker — agents do not need to (and cannot) self-report tok

Alternatives in Development

  • Claude Usage — A local dashboard for tracking your Claude Code token usage, costs, and session history 864 ★
  • Tare — Diagnose Claude Code usage — where tokens went and why 256 ★
  • Claude Code Leaderboard — This CLI automatically monitors your token usage and posts your stats to the leaderboard after each Claude Cod 191 ★

Full documentation available on GitHub

View Source Repository