Claude Code mod
state-compact
압축 전에 handoff 문서를 반영하고, 프롬프트 캐시 만료 직전 압축으로 재캐시 비용을 줄인다
Install
/plugin marketplace add iceberggymnast/claude-code-mods
/plugin install state-compact@claude-code-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, writes files, drives Claude, writes the prompt box, reads files, reads env vars, reads the transcript, reads the prompt box, persists state, draws
- Sees
- classic hooks, every prompt, compaction
- Draws in
AssistantMessage- Hooks
session.startui.renderclassic.SessionStartprompt.submitclassic.UserPromptSubmitclassic.Stopturn.stepturn.startturn.completesession.compact
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- iceberggymnast/claude-code-mods
- Folder
plugins/state-compact- Marketplace
claude-code-mods- License
- MIT
- Last updated
- 11 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is state-compact?
압축 전에 handoff 문서를 반영하고, 프롬프트 캐시 만료 직전 압축으로 재캐시 비용을 줄인다 It is a mod for Claude Code, from iceberggymnast/claude-code-mods on GitHub.
What can the state-compact mod access?
Its widest reach is "writes or runs" (runs processes, writes files, drives Claude, writes the prompt box, reads files, reads env vars, reads the transcript, reads the prompt box, persists state, draws). It sees classic hooks, every prompt, compaction. It draws in AssistantMessage. Like any mod, it runs with your permissions.
How do I install state-compact?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add iceberggymnast/claude-code-mods and then /plugin install state-compact@claude-code-mods.
More memory & instructions mods
code-modernization
46kanthropics/claude-plugins-official
Guided modernization for any legacy codebase: start with /modernize, get an assessment, an interactive map, the business rules mined from the code, and a plan you approve, then an upgrade, a rewrite or a rebuild with independent proof that the new code behaves like the old. Includes security hardening, a one-page report, specialist agents, and an optional live progress pane (early access).
storybloq
787Storybloq/storybloq
Project memory for Claude Code and Codex. Storybloq stores tickets, issues, handovers, and lessons in a .story/ folder inside your repo.
ruflo-agentdb
80kruvnet/ruflo
Substrate plugin for Ruflo memory: AgentDB controller bridge (15 agentdb_* MCP tools), RuVector ONNX embeddings (10 embeddings_* tools incl. RaBitQ 32x quantization), and WASM HNSW pattern router (3 ruvllm_hnsw_* tools). As a mod (ADR-445): opt-in safe recall into the prompt, a write guard that keeps secrets out of memory, /agentdb, and a status file the console shows
memory-lens
300yonatangross/orchestkit
Recalls the few memories related to each prompt you send (never on automated turns or file tool calls): one line for the human, one context entry for the model. Local files only, no network on the hot path.
operator
487aerovato/operator-memory
Durable project and user memory for agent-driven development in Claude Code.
ctx-handoff
125cablate/ctx-handoff-mod
Turns what you teach Claude into project notes, catches its usual slips, keeps the cache warm while you're away, and picks long sessions back up
Browse the most popular Claude Code mods, all memory & instructions mods, or the skills and MCP server directories.