Claude Code mod
handoff-compact
Replaces Claude Code's compaction with a structured handoff: a fork of the session writes it from the prompt cache, and the conversation continues from exactly that handoff.
Install
git clone https://github.com/trytofly94/handoff-compact.git
claude --plugin-dir ./handoff-compact/.The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.
What it can access
- Reach
- L2Writes or runs: runs processes, writes files, drives Claude, reads files, reads env vars, reads the transcript, draws
- Sees
- compaction
- Hooks
session.measureturn.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
- trytofly94/handoff-compact
- Folder
.- Author
- trytofly94
- License
- MIT
- Last updated
- 3 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is handoff-compact?
Replaces Claude Code's compaction with a structured handoff: a fork of the session writes it from the prompt cache, and the conversation continues from exactly that handoff. It is a mod for Claude Code, from trytofly94/handoff-compact on GitHub.
What can the handoff-compact mod access?
Its widest reach is "writes or runs" (runs processes, writes files, drives Claude, reads files, reads env vars, reads the transcript, draws). It sees compaction. Like any mod, it runs with your permissions.
How do I install handoff-compact?
Clone trytofly94/handoff-compact and start Claude Code with --plugin-dir pointing at the mod's folder (.).
Is handoff-compact popular?
trytofly94/handoff-compact has 12 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 3 October 2026.
More memory & instructions mods
agent-tree
13MikeGT4/agent-tree
Terminal side pane that shows a session's agents as a live tree: stop a sub-agent, send it new instructions mid-task, switch its model and effort, change the look.
prompt-polish
12VedantAndhale/claude-pro-kit
An Improve button above the prompt (and /polish) rewrites your draft with Opus at low effort (/polish model picks another) using the prompt-master rules (MIT, nidhinjs/prompt-master); Undo puts the original back. Each press is one model call; its exact tokens are shown.
ruflo-rag-memory
80kruvnet/ruflo
RuVector memory with HNSW search, AgentDB, and semantic retrieval. As a mod (ADR-445): a write guard that keeps secrets out of memory, /rag-mod, and a status file the console shows
pin-memo
1.1kYeonwooSung/my-claude-code-mods
Persistent pinned memos and clickable todo checkboxes above the Claude Code prompt
scribe
14nekyialabs/claude-code-toolkit
A scribe for your memory tools: a small classifier reads each exchange and notices which memory tools it called for. Shadow mode logs; whisper mode nudges. It never writes to memory itself.
commonplace
11noopz/commonplace
A knowledge vault Claude reads and keeps for any folder of notes: graph-indexed vault tools, private domains that stay sealed, connections to what you already wrote surfaced under answers, and [[note]] links in replies that are checked against the vault.
Browse the most popular Claude Code mods, all memory & instructions mods, or the skills and MCP server directories.