Home / Claude Code mods / Cost & usage / compact-assist

compact-assist

compact-assist is a Claude Code mod by tomoyankun that shows a compact cue below the mode line when context usage reaches 70%. /compact-memo writes decisions and open tasks to a memo file.

Updated 2026-11-24

What is compact-assist?

compact-assist is a Claude Code mod by tomoyankun that shows a compact cue below the mode line when context usage reaches 70%. /compact-memo writes decisions and open tasks to a memo file. It is listed under Cost & usage and has no public popularity data yet.

TypeClaude code mod
Authortomoyankun
Repositorytomoyankun/oziji-claude-plugins
Popularityno public popularity data yet
CategoryCost & usage
SecurityLow risk (84/100)
Rank#8,863 of 9,397 Claude Code mods; #1,768 in Cost & usage
LicenseMIT
Last commit2026-11-24
Hooks6 events
Seescompaction
Draws onPromptHint

Is compact-assist safe to install?

compact-assist scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Reads environment variablesReview
Only sees the events it hooksPass
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.prompt.submitdrives Claude
$.session.compactdrives Claude
$.session.usage
$.state.get
$.state.set
$.ui.resolvedraws interface
$.ui.toastdraws interface

How do I install compact-assist?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/tomoyankun/oziji-claude-plugins
    claude plugin validate ./oziji-claude-plugins/mods/compact-assist
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add tomoyankun/oziji-claude-plugins && claude plugin install compact-assist@oziji-claude-plugins

Or ask Claude to set it up

Paste this into Claude Code and it installs compact-assist for you:

Install the "compact-assist" Claude Code mod from https://github.com/tomoyankun/oziji-claude-plugins/tree/main/mods/compact-assist. Run claude plugin validate on it first and show me what it can access before you enable it.

More from tomoyankun/oziji-claude-plugins

This repository has 4 Claude Code mods on MCPMods.

  • notify-on-wait: Plays a sound and blinks a band above the prompt until answered when a permission prompt or a model question appears. (Review before installing)
  • session-rm: Pick one session of this project in a pane and delete it with its related data. /session-rm opens the pane. (Low risk)
  • usage-status: Always shows the 5-hour and 1-week usage limits and the session token usage as gauges below the mode line. A gauge turns (Review before installing)