Token Check

Use when the user asks about token usage, session cost, or wants to check optimization effectiveness.

majiayu000 Updated 567 repo stars

File contents

Analyze the current Claude Code session for token efficiency:

Check These

  1. Context loaded: What CLAUDE.md, rules, and skills are currently loaded?
  2. MCP servers: How many tool definitions are in context?
  3. Conversation length: How many turns deep are we?
  4. File reads: Have we read the same file multiple times?

Suggest

  • Whether to /compact the conversation
  • Whether to /clear and start fresh
  • Which MCP servers to disable if unused
  • Whether CLAUDE.md is too large
  • Whether rules files should use path-scoping

Output

Session Health Report
─────────────────────
Context usage: [estimate]
Conversation turns: [count]
Suggested action: [compact / clear / continue]
Optimization tips: [specific suggestions]

majiayu000/claude-skill-registry-data/tree/main/ai-llm/token-check commit 509cf9551f

Frequently asked questions

npx skillmds@latest add majiayu000/token-check