Claude Compact Guard Plugin Uses New PostCompact Hook to Preserve Context

Plugin Solves /compact Context Loss Problem
A developer has built the first plugin leveraging Anthropic's newly released PostCompact hook to address a persistent frustration with Claude's /compact command. The plugin, claude-compact-guard, automatically preserves context that would otherwise be lost when the context window fills and /compact is triggered.
How It Works
The plugin operates through two automated phases:
- Fires before /compact executes — takes a snapshot of your critical context
- Fires after /compact completes — reinjects the saved context automatically
This allows Claude to pick up exactly where you left off without requiring manual re-explanation of complex tasks, key decisions, files in progress, or open problems that were identified before the context window filled.
Installation and Details
Installation requires one command:
/plugin marketplace add celeritas-stack/claude-compact-guardThe plugin requires zero configuration and zero manual work once installed. It's free and open source, available at github.com/celeritas-stack/claude-compact-guard.
The developer notes that the PostCompact hook is "a brand new primitive with some interesting constraints" and is available to answer questions about its architecture.
📖 Read the full source: r/ClaudeAI
👀 See Also

Antigravity 2.0 Tops OpenSCAD Architectural 3D Benchmark – ModelRift Tests 6 LLMs on the Pantheon
ModelRift benchmarked 6 LLMs on building the Pantheon in OpenSCAD. Antigravity scored 4.5/5 in architectural quality, beating baseline Codex 5.5. Cursor 3.5 was fastest but weakest.

Interact MCP: Faster Web Browsing for Claude Code with Persistent Chromium
Interact MCP is a Model Context Protocol tool that keeps a persistent Chromium browser in-process, reducing browser action times from 2-5 seconds to 5-50ms after the initial call. It features a ref system for element interaction without CSS selectors and includes 46 tools for web automation.

Can OpenClaw Embrace the Power of Claude CLI?
Explore key insights from r/openclaw on whether OpenClaw can integrate with Claude CLI, a powerful AI tool designed to enhance coding and automation processes.

Microsoft VibeVoice: 60-Min ASR and 90-Min TTS Models Open-Sourced
VibeVoice is a family of open-source voice AI models from Microsoft including ASR (60-min single-pass, speaker diarization, 50+ languages) and TTS (90-min multi-speaker, real-time streaming). Uses 7.5 Hz continuous speech tokenizers and next-token diffusion.