Registry / mohitagw15856

mohitagw15856/pm-claude-skills/token-cost

Measure before optimizing — estimate token counts locally with stated heuristics, price them at your model's rates, and quantify before/after savings, because token optimization without measurement is vibes. Use when asked how many tokens is this, what does this context cost per call, is this optimization worth it, or compare these two versions' cost. Produces the estimate with both heuristics shown, the cost math at your prices across your call volume, and the before/after comparison that decid

Agent skill · version 84.0.1-main.1794513788.ge0009a3 · from mohitagw15856/pm-claude-skills

Install

npx yarkr-cli add skill:mohitagw15856/pm-claude-skills/token-cost

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:mohitagw15856/pm-claude-skills/token-cost
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:mohitagw15856/pm-claude-skills/token-cost

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:mohitagw15856/pm-claude-skills/token-cost

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.