hayfever

Toksec — Development skill for Claude Code

Development community

Live tokens/sec meters for coding-agent CLIs.

How to install Toksec

This entry records only its repository, not the path inside it, so there is no exact command to give. Open hayfever/toksec and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Toksec does

Live tokens/sec meters for coding-agent CLIs.

Alternatives in Development

  • Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
  • Herdrm — Native macOS console for herdr — all your coding agents and their live terminals, across devices 635 ★
  • Phistory — Phistory automatically archives versioned system prompt snapshots from agent CLIs like Claude Code, Codex, Ope 560 ★

README

⚡ toksec

Live **tokens/second** meters for coding-agent CLIs. One self-contained file per harness, zero dependencies, no background daemons. Install a file, get a generation-speed readout where you already look.

[![tests](https://github.com/hayfever/toksec/actions/workflows/tests.yml/badge.svg)](https://github.com/hayfever/toksec/actions/workflows/tests.yml) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)

Install

No clone needed.

Harness One-liner
Claude Code curl -fsSL https://raw.githubusercontent.com/hayfever/toksec/main/install.sh | bash -s -- claude
OpenCode curl -fsSL https://raw.githubusercontent.com/hayfever/toksec/main/install.sh | bash -s -- opencode
Pi pi install https://github.com/hayfever/toksec
Oh My Pi (OMP) omp plugin marketplace add hayfever/toksec && omp plugin install --scope user toksec@toksec
Everything at once curl -fsSL https://raw.githubusercontent.com/hayfever/toksec/main/install.sh | bash -s -- all

The installer is conservative: it never overwrites an existing `statusLine` or `opencode.json` plugin entry — it prints the manual snippet instead, and leaves a `.bak` beside any config it edits.

Manual install (clone + copy)
git clone https://github.com/hayfever/toksec && cd toksec
  • Claude Code — cp claude/statusline.mjs ~/.claude/toksec.mjs && chmod +x ~/.claude/toksec.mjs, then add to ~/.claude/settings.json:
    { "statusLine": { "type": "command", "command": "~/.claude/toksec.mjs", "refreshInterval": 2 } }
  • OpenCode — cp opencode/toksec.mjs /.opencode/plugins/toksec.mjs, or add the absolute path to the plugin array in ~/.config/opencode/opencode.json.
  • Pi — cp pi/toksec.ts ~/.pi/agent/extensions/toksec.ts, then /reload.
  • Oh My Pi — cp omp/toksec.ts ~/.omp/agent/extensions/toksec.ts, then /reload.

Updating

| Install r