Skip to content
Development
Skill

/context-optimize

Use this skill when context is growing quickly or cache consistency drops.

From plugin
oh-my-antigravity
21211 skills14 agents2 hooks
Install
$ npx -y skills add Joonghyun-Lee-Frieren/oh-my-antigravity --skill context-optimize --agent claude-code

How 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.md
name = "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.
Ships withoh-my-antigravity

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.

Get the whole plugin
Stats
210
Stars
28
Forks
Maintained
Maintenance
JavaScript
Language
2mo ago
Last commit
6mo ago
Created

Repo: Joonghyun-Lee-Frieren/oh-my-antigravity

Other skills on oh-my-antigravity.