TokenCount - Save 90% AI Tokens
🎉 Celebration Mode: Pro Features Unlocked
All Semantic Skim features are currently FREE for a limited time.
Join the JustinXai Labs launch celebration and experience 90%+ token reduction.
The Problem
AI coding assistants like Cursor and Claude have limited context windows. Every token counts. But your code is bloated with comments, whitespace, and documentation that matters to humans — not to AI.
The Solution
TokenCount dehydrates your selected code in seconds:
- Safe Dehydration — Protects Python indentation, preserves JS/TS syntax structure
- Comment Removal — Strips JSDoc and single-line comments automatically
- One-click Clipboard — Select code → right-click → Done. Compressed code is in your clipboard.
Live Demo
See the difference TokenCount makes with real code compression:

Features
| Feature |
Description |
| Semantic Skim Algorithm |
Advanced token reduction with 90%+ savings |
| JSDoc Removal |
Removes all /** ... */ block comments |
| Comment Strip |
Removes all // single-line comments |
| Indentation Safe |
Preserves leading whitespace (Python-safe) |
| Line Compression |
Removes trailing whitespace, filters empty lines |
| Stats Preview |
Shows exact token savings percentage |
Usage
- Select code in your editor
- Right-click → TokenGuard: Dehydrate for AI
- Paste into Cursor, Claude, or any AI assistant
Your code is now 40-60% smaller with zero semantic loss.
Keyboard Shortcut
Add to your keybindings.json:
{
"key": "ctrl+shift+d",
"command": "token-guard.dehydrate"
}
Requirements
Part of the JustinXai Matrix
Power up your AI workflow with the complete toolset:
| Tool |
Platform |
Description |
| TokenCount |
VSCode |
AI Code Skimmer - this extension |
| Cursor Context Clipper |
Chrome Extension |
Clip web content directly to Cursor AI |
Explore the full ecosystem: github.com/JustinXai
Changelog
1.2.1 - Launch Celebration (Current)
- 🎉 Celebration Mode: All Semantic Skim features are currently FREE
- Added JustinXai Labs Matrix integration
- Enhanced UI with celebration messaging
- Added JustinXai Labs social links
1.1.0 - Semantic Skim
- Introduced Semantic Skim algorithm
- Achieved 90% token reduction on complex codebases
- Improved Python indentation protection
1.0.0
- Initial release
- One-click code dehydration
- Python/JS/TS safe whitespace handling
- Clipboard integration
Follow the Journey
Stay updated with JustinXai Labs:

👉 https://x.com/norike0718
Made for developers who count tokens.