Claude Code mod

micro-compaction

Adds `/compact micro`: elides Read results and strips thinking, keeping the conversation structure

4 starsWorkflow modsIn Anthropic's plugin directoryValidates on Claude Code 2.1.316 Source

Install

From source
git clone https://github.com/ruihe774/cc-micro-compaction.git
claude --plugin-dir ./cc-micro-compaction/.

The repo has no marketplace file, so load the plugin folder directly with --plugin-dir.

What it can access

Reach
L0Draws and remembers: draws
Sees
compaction
Hooks
session.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.
Claude Code docs

Details

Folder
.
Author
Rui He
License
Unlicense
Last updated
20 October 2026

FAQ

What is micro-compaction?

Adds `/compact micro`: elides Read results and strips thinking, keeping the conversation structure It is a mod for Claude Code, from ruihe774/cc-micro-compaction on GitHub.

What can the micro-compaction mod access?

Its widest reach is "draws and remembers" (draws). It sees compaction. Like any mod, it runs with your permissions.

How do I install micro-compaction?

Clone ruihe774/cc-micro-compaction and start Claude Code with --plugin-dir pointing at the mod's folder (.).

Is micro-compaction popular?

ruihe774/cc-micro-compaction has 4 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 20 October 2026.

More workflow mods

awsh

11

Aitherium/awdk

awsh for Claude Code: an `aw` subagent type whose model steps are answered by a session on the local awsh harness daemon, so any harness and any backend the daemon can drive runs as a native Claude Code subagent, streamed live. Also carries the Aither World skills, the `aither` output style, MCP servers for installed bricks and portable brick hooks.

Workflow mods/plugin install

desk-look

8

KyongSik-Yoon/cc-desktop-mod

Claude Code mod that redraws the terminal transcript to look like the Code tab of the Claude desktop app: prompt bubbles, markdown tables, mermaid diagrams, folded tool calls, agent cards, plan cards in the transcript, a progress band of the current step and what runs now, GitHub/GitLab PR bar, diff, activity, context, background tasks, session monitor and Markdown preview panes. The Asana and Slack panes and the plan approval card are the separate desk-asana, desk-slack and desk-plan plugins

Workflow mods/plugin install

awcompact

11

Aitherium/awdk

Compacts a long tool result through the AitherOS decision door before the model reads it: per LINE SHAPE, learned from outcomes, never dropping a traceback or a summary line.

Workflow mods/plugin install

fast-compact

8

NodarDavituri/fast-compact

/fast-compact (and /fc): cut old tool output to its start and end in about a second, with Jev keeping whole what is still needed and every cut saved to a file. Claude Code's own /compact is untouched.

Workflow mods/plugin install

nudge

12

VedantAndhale/claude-pro-kit

/nudge <goal> applies behavioral design to a product or flow: diagnose why users don't act, design interventions that remove barriers, ranked hypotheses to test, and an ethics check on every answer. Its guide reaches Claude only when you run /nudge.

Workflow mods/plugin install

html-shelf

8

ronanworks/claude-code-mods

终端里 Claude 的回复更顺手:文件路径单击打开(HTML、文档 md/pdf/txt/json/csv/Office、图片、音视频、文件夹;脚本只在文件夹里选中不运行);代码块画成卡片,一键复制,单条 shell 命令可 Insert 到输入框;文字里 `反引号` 写的命令也补一张卡片;悬停回复右上角 Copy all;Write/Edit 工具行带 Open;/open [N|list] 打开最近的文件(Windows / macOS / Linux)

Workflow mods/plugin install

Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.