mcpbeat

Context Optimize

joonghyun-lee-frieren/context-optimize

223 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
203
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/Joonghyun-Lee-Frieren/oh-my-antigravity --skill context-optimize

The instruction itself

5 sections, as written by the author

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

  • Identify repeated, stale, or low-value context.
  • Detect likely cache breakers (instruction churn, unstable prefixes).
  • Propose cache-safe compaction and message hygiene rules.
  • 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.

How to use it

Copy the folder

Take joonghyun-lee-frieren/context-optimize from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.