# Token Check

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

- Skill: `majiayu000/token-check` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/token-check`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/token-check/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/token-check

---


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]
```

<!-- Skill by Huzefa Nalkheda Wala | claude-code-optimizer -->

