claudecodex

tokenwise

TokenWise for Claude Code

2,295 on GitHubv0.3.0MITupdated today
/

Plugin tokenwise from marketplace tokenwise in HKUDS/TokenWise. Commands read from the repo's manifest — today.

This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.

What it installs

Slash commands (2)

  • /tokenwise:learn

    Learn TokenWise filters from your sessions, in the background

  • /tokenwise:rules

    Show, switch off or on, or roll back the filters TokenWise learned

MCP servers (1)

  • tokenwise

    runs: tokenwise mcp --host claude

Hooks (7)

  • PreToolUse

    tokenwise hook claude

  • PreToolUse

    tokenwise hook claude

  • PostToolUse

    tokenwise hook claude

  • PreCompact

    tokenwise hook claude

  • SessionStart

    if command -v tokenwise >/dev/null 2>&1; then tokenwise hook claude; else echo '{"systemMessage":"TokenWise: the tokenwise command is not on PATH, so the plugin does nothing yet. Install it: https://g

  • SessionStart

    tokenwise hook claude

  • Stop

    tokenwise hook claude

View source on GitHub

Similar plugins

Appends two or three short follow-up questions after a substantive answer to help users check key facts, probe the reasoning, and notice missing context

19 skills

anthropics/skills 202,427

Token usage tracking, model cost attribution per agent, budget alerts, and optimization recommendations

24 skills · 1 command · 1 agent · hooks

ruvnet/ruflo 82,672

Skill: add headroom-ai compress() to a Python or TypeScript app to cut LLM input tokens (tool outputs, logs, JSON, chat history). No API key.

1 skill

headroomlabs-ai/headroom 81,164

mem0

claudecodex

Cross-session memory and token savings for coding agents.

6 skills · 1 agent · 1 MCP server · hooks

mem0ai/mem0 69,641

context7

claudecodex

Up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your coding agent's context.

1 MCP server

upstash/context7 65,660

Perform AI code review on Git diffs — supports workspace changes, branch ranges, and single commits with concurrent per-file analysis, codebase search, and deep context-aware review.

2 commands

alibaba/open-code-review 57,286

Maintain tokenwise?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex pluginslisted