Claude Code plugin
Compact Plus
Claude Code plugin: preserve and restore working state around /compact
Install
claude plugin marketplace add u-ichi/compact-plus --scope userFound in the project README. Check it for setup steps after installing.
git clone https://github.com/u-ichi/compact-plus.gitFrom the README
compact-plus Japanese README | Architecture A transparent Claude Code and Codex plugin that preserves working state around /compact. It does not replace either runtime's compaction algorithm; it augments compaction through documented hooks. What It Does - Backs up the transcript before compaction and writes a 10-section state file with an LLM - Injects the state file, plan file, and original-source reminder after compaction through additionalContext - Recovers mechanically observable skills and commands; unobservable Codex skill use is recorded as Not verified - When context usage crosses a configured threshold, the next user prompt receives a suggestion to run /compact - Alongside that reminder, the plugin injects a three-line recitation (Active Plan, Current Phase, and the most recent Session Decision from the state file) into additionalContext, so the agent keeps its bearings during the last few turns before compaction actually runs. This does not change the compaction algorithm itself; it is a focus aid that reduces late-session drift between warn and the real /compact - Provides the /compact-plus skill for manual state capture Usage After installation, just run /compact as usual. No additional action is required — the flow is fully transparent. - Both manual /compact and auto-compaction trigger the same hook path - Before compaction: the PreCompact hook automatically backs up the transcript and generates the 10-section state file - After compaction: Claude Code and Codex recover exactly once through SessionStart(source=compact) before the first post-compaction prompt - The agent does not need to call any specific skill or perform any preparation Optional enhancements: - Pass an instruction such as /compact keep the security-related decisions to send…
How plugins work
- A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
- Add the marketplace inside Claude Code with /plugin marketplace add u-ichi/compact-plus, then run /plugin to pick what to install.
- You can turn a plugin off again from /plugin without deleting anything.
Details
- Repository
- u-ichi/compact-plus
- Language
- Shell
- License
- MIT
- Last updated
- 27 July 2026
- Listed in
- jqueryscript/awesome-claude-code
FAQ
What is Compact Plus?
Claude Code plugin: preserve and restore working state around /compact It is a plugin for Claude Code, from u-ichi/compact-plus on GitHub.
How do I install Compact Plus?
Run claude plugin marketplace add u-ichi/compact-plus --scope user, then follow the setup in the README.
Is Compact Plus popular?
u-ichi/compact-plus has 207 GitHub stars and 8 forks, and is included in 1 curated Claude Code list. It was last updated on 27 July 2026.
More plugins & marketplaces
Claude Code
286MadAppGang/claude-code
claude code plugins marketplace
Peri
249KonghaYao/peri
Lightweight Rust Agent only use 50MB RAM, but Claude Code Plugin compatible, Dynamic Workflow, Goal, Artifacts, Free Web Search, full feature and better support!
memX
400NeoLi00/memX
memX: self-learning, self-maintaining memory plugin for AI agents; native support for claude code, codex, and openclaw
oh-my-claude
174TechDufus/oh-my-claude
Plugin adding an 'ultrawork' keyword that triggers maximum parallel execution.
Claude Advanced Plugins
160JoasASantos/ClaudeAdvancedPlugins
Collection of advanced Claude Code plugins.
Ed3d Plugins
253ed3dai/ed3d-plugins
Ed's repo of Claude Code plugins, centered around a research-plan-implement workflow. Only a tiny bit cursed. If you're lucky.
Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.