Agent skill

token-check

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

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/token-check

SKILL.md

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]

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results