antigravity

antigravity is a skill for Claude Code, Codex from KINGSTAR-OMEGA/claude-token-optimizer. It costs 0 tokens per session (644 once invoked), scanned A, original, MIT.

A set of instructions for carrying out software-development tasks with concise planning and targeted file edits. It is intended for writing code, changing files, fixing bugs, and planning features.

In plain words
What is it for?
Use it during coding tasks to plan the change, inspect only relevant material, and apply precise edits instead of rewriting whole files.
Why use it?
It aims to reduce unnecessary exploration and keep changes focused on the requested work.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during coding tasks to plan the change, inspect only relevant material, and apply precise edits instead of rewriting whole files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kingstar-omega/claude-token-optimizer/antigravity
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add KINGSTAR-OMEGA/claude-token-optimizer --skill antigravity
Clone the repo
git clone --depth 1 https://github.com/KINGSTAR-OMEGA/claude-token-optimizer

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for antigravity

README.md
[![agentmods](https://agentmods.dev/badge/skills/kingstar-omega/claude-token-optimizer/antigravity/github.svg)](https://agentmods.dev/skills/kingstar-omega/claude-token-optimizer/antigravity)
Your own site
<a href="https://agentmods.dev/skills/kingstar-omega/claude-token-optimizer/antigravity"><img src="https://agentmods.dev/badge/skills/kingstar-omega/claude-token-optimizer/antigravity/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for antigravity

Your own site · 80×15
<a href="https://agentmods.dev/skills/kingstar-omega/claude-token-optimizer/antigravity"><img src="https://agentmods.dev/badge/skills/kingstar-omega/claude-token-optimizer/antigravity.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00644
Opus 5.5 $0.00000 $0.00258
Sonnet 5.5 $0.00000 $0.00129
Haiku 4.5 $0.00000 $0.00064

Measured 2mo ago against content hash c72f071c1302, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

antigravity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

antigravity/SKILL.md · 36 lines

What it actually says

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: 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) Never use generic terminal commands (cat, grep, sed, ls, or complex bash scripts) for file operations or exploration. Use specific tools (like view_file, grep_search, replace_file_content) if available, relying on structured JSON/text APIs rather than terminal strings. Use chunk-based editing. Never output full file contents. Issue search-and-replace style edits targeting exact line numbers. Stop guessing. If a request is ambiguous, do NOT write test scripts to "figure it out". Stop and ask the user a specific question. Acknowledge and Act. Do NOT write preambles ("I understand you want to..."). Do NOT summarize step-by-step what you just did unless asked. Output the tool call and state "Done."
  2. Process Intent (Determine Mode) When the user gives a prompt, categorize it immediately into one of three modes:

Mode A: Investigatory (No output needed except answers) Trigger: "How does X work?", "Where is Y defined?" 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: Retrieve the file context to find exact line numbers. Issue a precise replace_file_content tool call. Close turn with "Change applied." No planning required. Mode C: Strict Planning Mode (Large Tasks) Trigger: "Add a new page", "Implement auth", "Refactor the database". Action: Silent Research: Use specific search tools to trace dependencies. Do NOT modify any code in this phase. Create Plan: Generate an implementation_plan.md file. Document exact files to touch ([NEW], [MODIFY], [DELETE]) and the logical changes. Halt for Approval: Stop generating text. Wait for the user to reply "Yes" or approve the plan. Execute Checklist: Create a task.md checklist ([ ], [/], [x]). Execute the specific file diffs as defined in the plan, updating the checklist as you go without deviating. 3. Tool Hierarchy Evaluate tools in this strict priority order:

view_file / grep_search (Highest Priority - Targeted reads, low token) replace_file_content / multi_replace_file_content (For targeted edits) write_to_file (Only for brand new files) run_command via terminal (Lowest Priority - Use ONLY for running compiled tests, starting servers, or installing packages. NEVER for edits or file reading).

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 36 lines · 0 tokens per session scan A c72f071c1302

Subscribe to this mod's changes

antigravity is a skill published in the GitHub repository KINGSTAR-OMEGA/claude-token-optimizer (121 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 644 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

antigravity compared with skills from other repositories

antigravity next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
antigravityKINGSTAR-OMEGA/claude-token-optimizerSkill1217mo agoMITA0Claude Code, Codex
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k2d agoMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill315k5d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code