Claude Token Optimizer banner
KINGSTAR-OMEGA KINGSTAR-OMEGA

Claude Token Optimizer

Development community

Description

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.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

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

Skill Speed Readability Best for
No Skill (Standard) Slowest Verbose Nothing — actively harmful
Antigravity V1 Fast Human-readable Daily coding
Antigravity 2.0 Fast Human-readable + artifacts Large tasks + teams
Ultimate Simulator Fastest Machine-only Pipelines, automation

Token Savings vs No Skill

Skill Tool calls saved Lines saved Correctness Est. token saving
Antigravity V1 −5 −79 5/5 ~76%
Antigravity 2.0 −5 −88 5/5