prep-compact
Claude Code's auto-compact fires late and its generic summary often drops the files, decisions, and blockers you needed. The post-compact session then veers off course…
Plugin bundle · by koenvdheide
About
prep-compact is a plugin bundle for AI coding tools published by koenvdheide. Marketplaces we read that list it: 1 (Claude Code: claude-plugins-community). We first saw it on 2026-10-11 and have recorded no change since. As of our marketplace pass on 2026-11-30.
Claude Code's auto-compact fires late and its generic summary often drops the files, decisions, and blockers you needed. The post-compact session then veers off course. prep-compact nudges you earlier: a UserPromptSubmit hook watches your transcript's byte delta since the last compact. When it crosses a configurable threshold (default 4 MB ≈ 450K tokens on Opus 4.7), Claude is prompted to invoke the prep-compact skill, which drafts a tailored /compact <mini-schema> covering goal/next/files/decisions/state. You paste, run /compact, and the post-compact session resumes correctly. Invoke /prep-compact:prep-compact manually any time to refresh the draft before compacting.
What it asks for
- Installs as a plugin bundle
- Hooks: 2
What it declares, asks for and runs, in full
Only install plugins from developers you trust. We list what marketplaces publish and do not test plugins.
Works with
- Claude Code
From the marketplaces that list it and the MCP transport it declares, as each client documents them. We do not test plugins.
Connect
Commands and configs built only from what its marketplaces declare. We do not run them for you and do not test plugins.
As a Claude Code plugin
Built from what Claude Code: claude-plugins-community declares.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install prep-compact@claude-community
Popularity and downloads
GitHub community
github.com/koenvdheide/prep-compact
Confirmed 2026-12-01 00:50 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-17
- 2026-11-170
- 2026-11-190
- 2026-11-200
- 2026-11-220
- 2026-11-240
- 2026-11-250
- 2026-11-270
- 2026-11-290
- 2026-12-010
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 0 | 2026-11-17 14:53 UTC | ||
| 0 | 2026-11-19 08:22 UTC | ||
| 0 | 2026-11-20 20:37 UTC | ||
| 0 | 2026-11-22 13:18 UTC | ||
| 0 | 2026-11-24 07:15 UTC | ||
| 0 | 2026-11-25 20:31 UTC | ||
| 0 | 2026-11-27 14:50 UTC | ||
| 0 | 2026-11-29 09:12 UTC | ||
| 0 | 2026-12-01 00:50 UTC |
Confirmed 2026-12-01 00:50 UTC
Accepted observations only; gaps are not filled. Use arrow keys to inspect observations; Escape closes the tooltip.
History starts 2026-11-17
- 2026-11-171
- 2026-11-191
- 2026-11-201
- 2026-11-221
- 2026-11-241
- 2026-11-251
- 2026-11-271
- 2026-11-291
- 2026-12-011
Show observations as a table
| Date | Value | Source period (UTC) | Accepted confirmation (UTC) |
|---|---|---|---|
| 1 | 2026-11-17 14:53 UTC | ||
| 1 | 2026-11-19 08:22 UTC | ||
| 1 | 2026-11-20 20:37 UTC | ||
| 1 | 2026-11-22 13:18 UTC | ||
| 1 | 2026-11-24 07:15 UTC | ||
| 1 | 2026-11-25 20:31 UTC | ||
| 1 | 2026-11-27 14:50 UTC | ||
| 1 | 2026-11-29 09:12 UTC | ||
| 1 | 2026-12-01 00:50 UTC |
Downloads count registry requests, not installs or people. Each chart belongs to one package or repository. Gaps mean no observation; older history with an unknown carrier is not reassigned.
Where it is published
| Marketplace | Status | Version | Figures | Verified | First seen |
|---|---|---|---|---|---|
| Claude Code: claude-plugins-community (Open the source on GitHub) | Listed | 3.0.3 | Forks (GitHub): 0 Stars (GitHub): 1 |
Not marked |
Each figure is the marketplace's own and is never added up across marketplaces. A marketplace that publishes no figure shows none: no number is not zero.
What the bundle contains
As published on Claude Code: claude-plugins-community.
Skills: 1
prep-compact
Hooks: 2
StopUserPromptSubmit
What changed
Nothing has moved on this plugin since we started watching it.
Similar plugins
Products whose own names, descriptions, tools and skills are closest in meaning to this one, on every marketplace we read. Closeness is ranked within this list only.
-
Preserve Claude Code and Codex session state around context compaction.
-
Verbatim Jev-guided compaction for Claude Code sessions — scores tool calls with TypeSafe's Jev model and drops stale ones instead of summarizing.
-
Compacts at the right moment: after a commit or green tests, before the prompt cache expires, or when Claude asks for it.
-
Verbatim Jev-guided compaction for Claude Code sessions.
-
Review and compact prompts, docs, and AI-agent skills to save tokens, preserving structure.
-
Save structured session context before /clear and auto-restore it next session. Smart Compact captures what was done, why, decisions made, problems solved, and next steps — so you…
-
prompt-squeeze builds prompt-cost discipline into Claude Code via three surfaces: /squeeze skill that compresses a verbose prompt into a token-efficient equivalent and renders a…
-
Stop guessing when to run /compact. Watches your session and suggests compaction at a completed checkpoint - after work lands, not mid-task - so you keep context you still need…
-
Automatically monitors MEMORY.md size and warns Claude to compact it when it exceeds a configurable line threshold. Installs a PostToolUse hook on Write/Edit to memory…
-
Prevent task loss during context compaction. Saves recent user instructions and AI progress before compact, then auto-restores them after compaction via SessionStart stdout…
Similar plugins by marketplace
The same question asked of one marketplace at a time: is there an analog of this plugin there?
Has a listing on Claude Code: claude-plugins-community (5)
-
Save structured session context before /clear and auto-restore it next session. Smart Compact captures what was done, why, decisions made, problems solved, and next steps — so you…
-
prompt-squeeze builds prompt-cost discipline into Claude Code via three surfaces: /squeeze skill that compresses a verbose prompt into a token-efficient equivalent and renders a…
-
Automatically monitors MEMORY.md size and warns Claude to compact it when it exceeds a configurable line threshold. Installs a PostToolUse hook on Write/Edit to memory…
-
Prevent task loss during context compaction. Saves recent user instructions and AI progress before compact, then auto-restores them after compaction via SessionStart stdout…
-
Automatic context window monitoring and smart compaction for Claude Code. Zero dependencies. Context Guardian (cg) watches your context window usage in real time via a statusline…
Has a listing on Claude Code: claude-plugins-official (5)
-
Generate an explorable HTML report of Claude Code session usage — tokens, cache efficiency, subagents, skills, and the most expensive prompts — from local ~/.claude/projects…
-
Continuous memory for Claude Code. Extracts, summarizes, and compresses conversations into tiered daily logs. Claude remembers what you did yesterday.
-
Tools to maintain and improve CLAUDE.md files - audit quality, capture session learnings, and keep project memory current.
-
Interactive self-referential AI loops for iterative development, implementing the Ralph Wiggum technique. Claude works on the same task repeatedly, seeing its previous work, until…
-
Help Claude Code champions run hackathons and office hours, find patterns worth sharing, help teammates climb the steps of AI adoption, and write a shareable AI maturity report.
Has a listing on Claude: knowledge-work-plugins (5)
-
Sanity content platform integration with MCP server, agent skills, and slash commands. Query and author content, build and optimize GROQ queries, design schemas, and set up Visual…
-
Connects Claude Code to the Synthflow AI voice-agent platform through its hosted MCP server, with skills for reviewing calls and auditing agent prompts, plus a docs-search…
-
MCP server for terminal commands, file operations, and process management
-
The Dropbox plugin for Claude connects your Dropbox files directly to Claude, so you can search, organize, save generated content, and create sharing links without switching…
-
Skills for working with Langfuse, the open-source LLM engineering platform for tracing, prompt management, and evaluation.
Has a listing on Codex: openai-curated (openai/plugins) (5)
-
Evaluate Codex skills and plugins from chat with a beginner-friendly start command, local-first reports, token budget explanations, and guided benchmarking.
-
Notion workflows for implementation planning, research synthesis, meeting preparation, and knowledge capture.
-
Install, open, and connect the signed ChatCut Desktop app from Codex.
-
Turn Codex into your ClickUp command center.
-
Use MagicPath to find, inspect, install, create, and edit UI components from Codex.
Has a listing on Community GitHub marketplaces (5)
-
Preserve Claude Code and Codex session state around context compaction.
-
Verbatim Jev-guided compaction for Claude Code sessions — scores tool calls with TypeSafe's Jev model and drops stale ones instead of summarizing.
-
Compacts at the right moment: after a commit or green tests, before the prompt cache expires, or when Claude asks for it.
-
Verbatim Jev-guided compaction for Claude Code sessions.
-
Stop guessing when to run /compact. Watches your session and suggests compaction at a completed checkpoint - after work lands, not mid-task - so you keep context you still need…
Has a listing on Copilot CLI: github/awesome-copilot (5)
-
Plain-English translation layer for non-technical Copilot CLI users. Translates every approval prompt, error message, and technical output into clear, jargon-free English with…
-
Self-configuring status briefing generator. Learns your communication style from examples, discovers your data sources, and produces draft updates for any audience on demand.
-
Goal-driven task orchestration with independent verification. Interviews the user to define a clear goal, then loops between a Builder subagent (does the work) and an Inspector…
-
Shows live prompt-cache reuse, expiry, token composition, and AI Credit cost for the current GitHub Copilot session without making model calls.
-
Turn your Copilot sessions into proof of impact — research-grounded HTML reports with effort estimation, skills analysis, and ROI metrics from local session logs.
Has a listing on Copilot CLI: github/copilot-plugins (5)
-
Toolkit for building Microsoft 365 Copilot declarative agents — scaffolding, JSON manifest development, and capability configuration.
-
workiq-productivity
WorkIQ productivity skills powered by the local WorkIQ CLI — read-only insights across email, meetings, calendar, Teams, SharePoint, projects, and people.
-
workiq
Query Microsoft 365 data with natural language — emails, meetings, documents, Teams messages, and more.
-
Build Power Apps Canvas Apps using the Canvas Authoring MCP server.
-
model-apps
Build and deploy Power Apps generative pages for model-driven apps with specialist agents for planning, entity creation, and parallel code generation. Requires PAC CLI >= 2.7.0…
Has a listing on Cursor: cursor/plugins (5)
-
Incremental transcript-driven memory updates for AGENTS.md using high-signal bullet points only.
-
Search meeting transcripts, summaries, and action items.
-
Search meetings, transcripts, action items, and emails.
-
Capture, search, and organize notes and collections.
-
Consult a stronger model before major decisions, when stuck, and before declaring done.
Has a listing on Docker MCP Catalog (5)
-
MCP server for terminal commands, file operations, and process management
-
Production-ready RAG service to search and retrieve data from your documents.
-
Persistent memory for an assistant, stored as a knowledge graph of entities and relations
-
Stop stitching context for Copilot and Cursor. With Sequa MCP, your AI tools know your entire codebase and docs out of the box.
-
Give your AI agents trusted access to the full Postman platform.
Has a listing on Official MCP Registry (5)
-
Review and compact prompts, docs, and AI-agent skills to save tokens, preserving structure.
-
Durable agentic memory, encrypted at rest. Fully offline: no network, no API key, no cloud.
-
Pre-injection context compression for coding agents. Zero LLM calls, zero telemetry, offline-safe.
-
Recap AI coding sessions (Claude Code, Codex, dsh, OpenCode): intent, decisions, open threads.
-
Hand tasks from Claude Code, Cursor or Codex to a personal agent through a folder of markdown notes.
Has a listing on PyPI (MCP servers) (5)
-
Connect AI assistants to Outline for document search, reading, and management
-
Memory for a Claude Code agent that survives the session: five tools, a markdown vault, all local.
-
hypermnesia-mcp io.github.cdeust/hypermnesia-mcp
Persistent memory for AI agents — 36 cited neuroscience mechanisms, local-first, hybrid retrieval.
-
Zero-config MCP server for searchable documentation. SQLite or PostgreSQL.
-
Shared, cited knowledge-graph memory for agents — ask, search, remember, keep standing instructions
Has a listing on npm registry (MCP servers) (5)
-
Pre-injection context compression and session deduplication for AI coding agents: squeeze tool output, code, JSON and logs before they reach the LLM
-
Recall past decisions and the notes your AI sessions cited, from a local markdown folder.
-
MCP server bridging Claude.ai/Desktop with self-hosted OpenClaw via OAuth 2.1.
-
Compile documents into a cited knowledge wiki. Retrieve evidence, query, and review via local MCP.
-
Automatic development memory for AI coding agents: turns your Claude Code, Codex, Gemini, Cursor, Copilot, Cline, Devin, OpenCode, Antigravity and Kimi Code sessions into…
Found by meaning, not by shared code or a shared repository: similar plugins stay separate products, and this is not a review or a recommendation.
Want this mark on your plugin in our catalog?
Prove you maintain it with a file in its repository, a file on your domain or a DNS record, and you can show this mark on the card, with live banners for your site and README. How verification works
You also get alerts when a marketplace lists it, drops it, changes its verified mark or what it asks for, and its remote endpoint goes on monitoring as a web service.
Prefer to verify by email? Ask us for a DNS or website-file verification token.
Data comes from the public marketplace file https://github.com/anthropics/claude-plugins-community/blob/HEAD/.claude-plugin/marketplace.json. Figures come from our own regular passes over the marketplaces, last read on . We publish no contact details for plugin publishers.