madxcrazy/antigravity-skills/compaction

Claude Code and agent skill by madxcrazy/antigravity-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Triggers on-demand context compaction: persists critical state into durable artifacts, flushes obsolete transient turn history, and signals the runtime to compact context.

Install

npx vskill@latest install madxcrazy/antigravity-skills/compaction

SKILL.md

On-Demand Context Compaction Protocol

The /compaction command provides an explicit trigger to compact the active conversation context, preventing context exhaustion during long-running sessions.


Compaction Routine

When the user invokes /compaction:

  1. State Preservation (Pre-Compaction Audit):
  • Before pruning the conversation history, identify all critical ongoing context:
  • Current objective and tasks completed.
  • Active file paths, line numbers, and key symbols under investigation.
  • Ground-truth telemetry, architectural findings, or pending bugs.
  • Write or update this state into a persistent summary artifact in <artifactDir>/session_state.md.
  1. Trigger Runtime Compaction:
  • Invoke internal /compact mechanics or on-demand context checkpointing.
  • Format the compaction checkpoint with:
  • Accomplished So Far: Summary of completed changes.
  • Current State: Active files, ongoing tests, or current build statuses.
  • Immediate Next Actions: Clear bullet points for the next prompt turns.
  1. Background Auto-Compaction Configuration:
  • Antigravity automatically monitors conversation token thresholds in the background.
  • When conversation volume is high, the runtime periodically summarizes earlier steps into conversation_summaries.db.
  • Invoking /compaction forces this summarization immediately rather than waiting for automatic token limit triggers.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
60
Repository forks
8
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/madxcrazy/antigravity-skills/compaction/badge)](https://verified-skill.com/skills/madxcrazy/antigravity-skills/compaction)

Something wrong with this skill or its page? Tell us.