StopTimizer
OfficialCount tokens precisely for major models.
AuthorShipFail
Version1.0.0
Installs0
System Documentation
What problem does it solve?
StopTimizer counts tokens for GPT, Claude, and Gemini using official tokenizers as source of truth.
Core Features & Use Cases
- Accurate tokenization across GPT family and Claude.
- JSON and space-delimited outputs for flexible automation.
- Use cases include STOP protocol validation, prompt design, and cost budgeting in AI workflows.
Quick Start
Use stoptimizer.ts to count tokens for your input text: deno run --allow-net <url>/stoptimizer.ts "hello world" By default, it returns space-delimited counts for all supported models. Use --json for a JSON object, or --model to query a single model.
Dependency Matrix
Required Modules
gpt-tokenizer@anthropic-ai/tokenizer
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: StopTimizer Download link: https://github.com/ShipFail/promptware/archive/main.zip#stoptimizer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.