smart-compact 0.7.1
Compacts between turns when the context is full enough, sooner after a commit, PR, approved plan or finished todo list, or when the prompt cache is about to go cold or the 5-hour limit runs low.
Install
/plugin marketplace add tartinerlabs/claude-code-mods /plugin install smart-compact@tartinerlabs-mods
Run both lines inside Claude Code.
Hooks into
- Tool calls
- Toasts
Also in tartinerlabs/claude-code-mods
- token-weather 0.6.0 A live forecast of the context window, drawn above the prompt. 1
- auto-session-name 0.6.0 Names each session from its first prompt, so it is easy to find in /resume. 1
- cache-clock 0.6.0 Counts down to the prompt cache going cold, with the last request's hit rate, above the prompt. 1
- auto-resume 0.6.0 Sends "continue" once a usage limit resets, so a turn cut off by the limit picks up where it stopped. 1
- limit-watch 0.6.0 Draws the 5-hour and weekly usage limits above the prompt, coloured by use, with reset countdowns and toasts at 80% and 95%. 1
- pr-pilot 0.6.0 Shows the current branch's pull request above the prompt, with its checks and whether it can merge, toasts when checks finish, and merges it, or its whole gh-stack stack, with /merge. 1
More git mods
- git-sidebar 0.1.0 A lazygit-style side pane: every worktree of the repository and its local branches as rows you click. A worktree row moves the session there with /cd; a branch row shows its last commits and offers switch (clean tree only) or open worktree. Docked floor to ceiling beside the transcript in the ful... 32.5k
- md-preview 0.1.3 Shows the Markdown files Claude edits, rendered like GitHub, in a pane next to the chat. Before and after side by side. /md opens it. 140
- cc-arcade 0.2.0 Games above the Claude Code prompt (snake, Tetris, 2048, Minesweeper, Flappy, Pong, typing test, Space Invaders, Doom) plus a pet that grows as Claude tests, commits and edits. Clones of the genre, not affiliated with or endorsed by Tetris Holding, Taito, Atari or id Software. Needs function hook... 41
- branch-board 1.0.0 Inspect local branches, upstreams, and dirty files. 25
- pr-relay 0.9.0 Watches the session's pull request and wakes the session when it is merged or Codex reviews it 17