Claude Code usage

Claude Token Optimizer

A collection of high-efficiency, token-saving skills for Claude Code. Includes the Antigravity Protocol (structured planning & chunk replacements) and the Ultimate Protocol Simulator (zero-English, JSON-only compiler mode) to drastically reduce context window usage and improve coding speed.

121 stars 14 forksUsage & cost trackers Source

Install

From source
git clone https://github.com/KINGSTAR-OMEGA/claude-token-optimizer.git

From the README

🚀 Claude-Code-Enhancements

Custom Skills for the Claude Code CLI Agent to stop it from "thinking out loud", prevent context window bloat, and force professional engineering logic.Reduce Claude token usage by 60–80% while getting faster, cleaner outputs .

🧠 Why these skills?
Standard AI agents act like chatty assistants. They guess when a request is ambiguous, dump thousands of tokens of redundant code into your terminal, and delete things without confirming.

These custom .skill enhancements rectify that by introducing a structured, API-driven software development loop.

🛠️ The Protocols

1. Antigravity Protocol (V1 & V2.0)
The gold standard for daily coding.
*   Intent Rectification: If your request is vague, it stops and asks options instead of guessing.
*   Artifact-First Editing (V2.0): It stops terminal "yapping" by writing plans and long blocks to local .md files instead of printing to your chat window.
*   Persistent Memory: Saves architectural notes to prevent "session amnesia."

2. Ultimate Protocol Simulator
For maximum token efficiency in automated pipelines.
*   Zero-English Mode: Shuts off all conversational output.
*   JSON Only: Communicates status via minified JSON blocks.
*   Internal Sandbox: Runs local tests silently before reporting success.

📊 Performance & Selection Guide

Mode Selection Guide

Token Savings vs No Skill

*(See BENCHMARK.md for the raw logs of our 5-task stress test).*

The screenshot after i run some tests :

📥 Installation

1. Create a folder in your Claude skills directory:
   * Windows: C:\Users\YourName\.claude\skills\antigravity
   * Mac/Linux: ~/.claude/skills/antigravity
2. Download the SKILL.md file from the relevant folder in this repository.
3. Place it in the folder created above.
4. Open Claude Code and say:…
Read the full README on GitHub

Details

License
MIT
Last updated
12 April 2026

FAQ

What is Claude Token Optimizer?

A collection of high-efficiency, token-saving skills for Claude Code. Includes the Antigravity Protocol (structured planning & chunk replacements) and the Ultimate Protocol Simulator (zero-English, JSON-only compiler mode) to drastically reduce context window usage and improve coding speed. It is a usage for Claude Code, from KINGSTAR-OMEGA/claude-token-optimizer on GitHub.

How do I install Claude Token Optimizer?

Clone KINGSTAR-OMEGA/claude-token-optimizer from GitHub and follow the setup steps in its README.

Is Claude Token Optimizer popular?

KINGSTAR-OMEGA/claude-token-optimizer has 121 GitHub stars and 14 forks. It was last updated on 12 April 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.