Agent skill

Antigravity Protocol

by KINGSTAR-OMEGA in KINGSTAR-OMEGA/claude-token-optimizer

Use this skill ALWAYS whenever the user asks you to write code, modify files, fix bugs, plan features, or do any software development task.

MITAuto-check passedDevelopment

Install Antigravity Protocol

skills CLI
$ npx skills add KINGSTAR-OMEGA/claude-token-optimizer --skill antigravity-protocol -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install KINGSTAR-OMEGA/claude-token-optimizer antigravity-protocol --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/KINGSTAR-OMEGA/claude-token-optimizer.git skills-src && mkdir -p .claude/skills && cp -r skills-src/antigravity2.0 .claude/skills/antigravity-protocol && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
antigravity-protocol
GitHub stars
121
Token cost
~935 tokens
SKILL.md length
488 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Use this skill ALWAYS whenever the user asks you to write code, modify files, fix bugs, plan features, or do any software development task.

  • Works in 4 steps: Core Directives (Always Follow These) → Process Intent (Determine Mode) → Persistent Knowledge Management → …
  • Asks you to write code
  • SKILL.md covers 1. Core Directives (Always…, 2. Process Intent (Determine…, 3. Persistent Knowledge… and 4. Tool Hierarchy
  • Calls npm and flutter

What it does

Antigravity Protocol is an agent skill from KINGSTAR-OMEGA/claude-token-optimizer. Use this skill ALWAYS whenever the user asks you to write code, modify files, fix bugs, plan features, or do any software development task. Trigger this whenever the user wants efficient execution, low token usage, or mentions "antigravity", "planning mode", "fast path", or complains about you using too many tokens or thinking too much.

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Debugging. The repository describes itself as: A collection of high-efficiency, token-saving skills for Claude Code. Includes the Antigravity Protocol (structured planning & chunk replacements) and the Ultimate Protocol… The licence is MIT.

When your agent uses it

  • Asks you to write code
  • Do any software development task
  • This whenever the user wants efficient execution
  • Low token usage

Example prompts

  • “antigravity”
  • “planning mode”
  • “fast path”
  • “/antigravity-protocol”

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Core Directives (Always Follow These)
  2. Process Intent (Determine Mode)
  3. Persistent Knowledge Management
  4. Tool Hierarchy

What it can do on your machine

Read from SKILL.md and the folder at commit b197b0e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • flutter

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Antigravity Protocol loads about 935 tokens when it runs. Until then it costs about 90 tokens; SKILL.md has 488 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~90
When it runs · the whole SKILL.md, loaded when a task matches
~935

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from KINGSTAR-OMEGA/claude-token-optimizer at commit b197b0e, republished under its MIT licence (© KINGSTAR-OMEGA). 488 words, ~935 tokens.

Download SKILL.mdSave it as .claude/skills/antigravity-protocol/SKILL.md (or your agent's skills folder).
name
antigravity-protocol
description
Use this skill ALWAYS whenever the user asks you to write code, modify files, fix bugs, plan features, or do any software development task. Trigger this whenever the user wants efficient execution, low token usage, or mentions "antigravity", "planning mode", "fast path", or complains about you using too many tokens or thinking too much.

Antigravity Protocol (v2.0): High-Efficiency Coding

This skill instructs Claude to drop high-token conversational behavior and adopt a strict, API-driven, structured approach to software development, prioritizing exact edits and planning over exploratory guessing.

1. Core Directives (Always Follow These)

  1. Never use generic terminal commands (cat, grep, sed, ls, or complex bash scripts) for file operations or exploration. Use your built-in edit/search tools.
  2. Chunk-based editing ONLY. Never output full file contents. Issue search-and-replace style edits targeting exact line numbers.
  3. Stop guessing. If a request is ambiguous, do NOT write test scripts to "figure it out". Stop and ask the user a specific question.
  4. No Chat Clutter (Use Artifacts): Do not dump 100+ lines of code, logs, or planning into the main chat window. If you must output substantial text, use your file tools to create a local .md artifact file instead, and provide the user a link.
  5. Acknowledge and Act. Do NOT write preambles ("I understand you want to..."). Output the tool call and state "Done."

2. Process Intent (Determine Mode)

Mode A: Investigatory (Information Requests)
  • Trigger: "How does X work?", "Find where Y happens."
  • Action: Search the codebase silently. Output only the short answer. Do not create a plan.
Mode B: The Fast Path (Small Changes)
  • Trigger: "Fix this typo", "Center the button", "Make the background red".
  • Action:
    1. Retrieve the file context to find exact line numbers.
    2. Issue a precise file-replacement tool call.
    3. Close turn with a 1-sentence summary. No planning required.
Show full SKILL.md (239 more words)Show less
Mode C: Strict Planning Mode (Large Tasks)
  • Trigger: "Add a new page", "Implement auth", "Refactor the database".
  • Action Flow:
    1. Silent Phase: Trace dependencies silently. Do NOT modify any code.
    2. Plan Artifact: Create implementation_plan.md in the project root. Document exact files to touch ([NEW], [MODIFY], [DELETE]) and the logical changes.
    3. Halt for Approval: Stop generating text entirely. Wait for the user to approve the plan.
    4. Execution Checklist: Create task.md. Execute the diffs exactly as defined in the plan, updating the checklist ([x]) as you go.
    5. Verification Phase: Before claiming completion, run the required build/test terminal command (e.g., npm run build, flutter test) to ensure your changes didn't break compilation.

3. Persistent Knowledge Management

To minimize tokens on future prompts, you must create a "save state" for complex architectural changes.

  • After completing a Mode C task, create or append to a system_architecture.md or .cursorrules file detailing the design pattern you just used (e.g., "The subscription cache uses Riverpod and must be updated in X file").
  • Always read this file before starting new Mode C plans.

4. Tool Hierarchy

Evaluate tools in this strict priority order:

  1. Read / Search Tools: (Highest Priority - Targeted reads, low token).
  2. Edit / Replace Tools: (For targeted code edits).
  3. Create File Tools: (For brand new files and Markdown artifacts).
  4. Terminal Commands: (Lowest Priority - Use ONLY for running compiled tests, starting servers, or installing packages. NEVER for edits or file reading).

© KINGSTAR-OMEGA, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in antigravity2.0 of KINGSTAR-OMEGA/claude-token-optimizer.

Open the folder on GitHubat commit b197b0e

Compare with similar skills

Antigravity Protocol next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Antigravity Protocol compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Antigravity Protocol this skillKINGSTAR-OMEGA/claude-token-optimizer121—~935Automated safety check: PassMIT
Trellis Session Insightmindfold-ai/Trellis15k4 repos~1.7kAutomated safety check: PassAGPL-3.0
Native Data FetchingCherryHQ/cherry-studio-app4k6 repos~2.9kAutomated safety check: NotesMIT
Debugging Executionsn8n-io/n8n207k—~2.6kAutomated safety check: PassCustom licence
Aoti Debugpytorch/pytorch104k1 repos~1.7kAutomated safety check: PassCustom licence
Herdr Throwaway Reproductionherdrdev/herdr43k—~2.4kAutomated safety check: PassApache-2.0

Similar skills

  • Trellis Session Insight

    mindfold-ai/Trellis

    Reach into past AI conversation history through the trellis mem CLI.

    15k GitHub starsUsed in 4 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Native Data Fetching

    CherryHQ/cherry-studio-app

    A skill your agent uses when implementing or debugging ANY network request, API call, or data fetching.

    4k GitHub starsUsed in 6 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Official

    Debug failed or wrong-output workflow executions using executions tools.

    207k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Aoti Debug

    pytorch/pytorch

    Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.

    104k GitHub starsUsed in 1 repo~1.7k tokens
    DevelopmentAuto-check passed
  • Runs a disposable, uniquely named Herdr session inside an existing one so runtime, pane, terminal or API bugs can be reproduced without touching the main session.

    43k GitHub stars~2.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Systematic Debugging

    ultralisp/ultralisp

    A skill your agent uses when encountering any bug, test failure, or unexpected behavior, before proposing fixes

    258 GitHub starsUsed in 51 repos~2.4k tokens
    DevelopmentAuto-check passed

More from KINGSTAR-OMEGA/claude-token-optimizer

  • Ultimate Protocol Simulator

    KINGSTAR-OMEGA/claude-token-optimizer

    Use this skill ALWAYS when the user explicitly requests "ultimate mode", "max efficiency", "binary mode", or asks you to write code with literally zero English output.

    121 GitHub stars~411 tokensUpdated 6 mo ago
    Auto-check: warnings

Categories

Questions about Antigravity Protocol

What does Antigravity Protocol do?

Use this skill ALWAYS whenever the user asks you to write code, modify files, fix bugs, plan features, or do any software development task. Antigravity Protocol is an agent skill from KINGSTAR-OMEGA/claude-token-optimizer. Use this skill ALWAYS whenever the user asks you to write code, modify files, fix bugs, plan features, or do any software development task.

When should I use Antigravity Protocol?

Antigravity Protocol fits situations like: asks you to write code; do any software development task; this whenever the user wants efficient execution; low token usage.

How do I install Antigravity Protocol in Claude Code?

Run `npx skills add KINGSTAR-OMEGA/claude-token-optimizer --skill antigravity-protocol -a claude-code`. Or copy the skill folder (antigravity2.0 in KINGSTAR-OMEGA/claude-token-optimizer) into .claude/skills/antigravity-protocol in your project. Claude Code loads it when a task matches its description.

How do I install Antigravity Protocol in Codex?

Run `npx skills add KINGSTAR-OMEGA/claude-token-optimizer --skill antigravity-protocol -a codex`. Or copy the skill folder (antigravity2.0 in KINGSTAR-OMEGA/claude-token-optimizer) into .agents/skills/antigravity-protocol in your project. Codex loads it when a task matches its description.

Can I use Antigravity Protocol in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add KINGSTAR-OMEGA/claude-token-optimizer --skill antigravity-protocol -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/antigravity-protocol, .gemini/skills/antigravity-protocol, .github/skills/antigravity-protocol and .opencode/skills/antigravity-protocol in your project.

What does Antigravity Protocol need to run?

Going by SKILL.md and its folder, Antigravity Protocol needs the command-line tools its instructions call (npm and flutter).

Does Antigravity Protocol access the network?

SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Antigravity Protocol safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Antigravity Protocol use?

Antigravity Protocol is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Antigravity Protocol use?

About 935 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Antigravity Protocol?

Skills that share tags, products or a category with Antigravity Protocol: Trellis Session Insight (mindfold-ai/Trellis, 15k stars), Native Data Fetching (CherryHQ/cherry-studio-app, 4k stars), Debugging Executions (n8n-io/n8n, 207k stars) and Aoti Debug (pytorch/pytorch, 104k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Antigravity Protocol?

KINGSTAR-OMEGA (a GitHub user) maintains it in KINGSTAR-OMEGA/claude-token-optimizer, which has 121 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on April 12, 2026.

Source: KINGSTAR-OMEGA/claude-token-optimizer on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.