/context-optimize
Use this skill when context is growing quickly or cache consistency drops.
$ npx -y skills add Joonghyun-Lee-Frieren/oh-my-antigravity --skill context-optimize --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/context-optimize
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use this skill when context is growing quickly or cache consistency drops.
SKILL.md
context-optimize.SKILL.mdname = "context-optimize" description = "Improve context efficiency and cache stability for long or complex sessions."
Purpose
Use this skill when context is growing quickly or cache consistency drops.
Trigger
- Conversation becomes long and repetitive
- The model loses thread coherence
- Frequent prompt restarts or unstable behavior appears
Workflow
1. Identify repeated, stale, or low-value context. 2. Detect likely cache breakers (instruction churn, unstable prefixes). 3. Propose cache-safe compaction and message hygiene rules. 4. Produce an actionable operating checklist for next turns.
Output Template
## Context Health - ... ## Cache Risks - ... ## Optimization Actions 1. ... 2. ... 3. ... ## Session Rules - ...
Notes
- Keep stable instructions unchanged during a session.
- Prefer summaries over re-sending raw large blocks.
Antigravity CLI: Gemini CLI will be replaced by Antigravity CLI on June 18th. If you previously installed oh-my-gemini-cli in Gemini CLI, Antigravity CLI will ask whether to import plugins during installation. Check that option to bring your plugin over.
Repo: Joonghyun-Lee-Frieren/oh-my-antigravity
Other skills on oh-my-antigravity.
- /blueprint
Use this skill when a product, UI, or workflow decision needs a stable decision surface before implementation.
Open skill - /deep-dive
Use this skill when requirements are incomplete, conflicting, or too vague to begin implementation safely.
Open skill - /execute
Use this skill when the task is implementation-ready and requires code changes now.
Open skill - /learn
Automatically evaluates OmA sessions to extract reusable patterns (error resolutions, workarounds, conventions) and save them to `.omg/rules/learned/`.
Open skill - /oma-plan
Use this skill when the request is non-trivial and should be planned before editing code.
Open skill - /plan
Use this skill when the request is non-trivial and should be planned before editing code.
Open skill

