From token-optimizer
Opens Token Optimizer dashboard showing context usage trends, quality scores, session history, and skill management. Collects latest data and launches in browser.
npx claudepluginhub alexgreensh/token-optimizer --plugin token-optimizerThis skill uses the workspace's default tool permissions.
Opens an up-to-date dashboard showing your context usage trends, quality scores, session history, and skill management.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Opens an up-to-date dashboard showing your context usage trends, quality scores, session history, and skill management.
MEASURE_PY=""
for f in "$HOME/.claude/skills/token-optimizer/scripts/measure.py" \
"$HOME/.claude/plugins/cache"/*/token-optimizer/*/skills/token-optimizer/scripts/measure.py; do
[ -f "$f" ] && MEASURE_PY="$f" && break
done
[ -z "$MEASURE_PY" ] && { echo "[Error] measure.py not found. Is Token Optimizer installed?"; exit 1; }
python3 "$MEASURE_PY" collect --quiet && python3 "$MEASURE_PY" dashboard
This collects the latest session data into the trends database, regenerates the dashboard HTML, and opens it in your default browser.
python3 "$MEASURE_PY" daemon-status 2>/dev/nullURL: http://localhost:24842/token-optimizer (bookmarkable, auto-updates), then mention the file fallback File: ~/.claude/_backups/token-optimizer/dashboard.html.File: ~/.claude/_backups/token-optimizer/dashboard.html, then suggest: "Want a bookmarkable URL? Run python3 $MEASURE_PY setup-daemon (macOS and Windows)."