smart-compact 0.24.0
Asks Haiku after each turn whether the work just reached a clean break, such as a commit, PR or approved plan, and compacts there with a summary shaped for it. Asks again only once the context has grown 20 points since the last compaction; leaves full-context and idle compaction to Claude Code.
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.24.0 A live forecast of the context window, drawn above the prompt. In the desktop app it shows the last turns alone and leaves the fill to the composer. 0
- auto-session-name 0.24.0 Names each session from its first prompt and re-checks the name every few prompts as the work moves on, so it is easy to find in /resume. Terminal only: the desktop app names its own sessions. 0
- cache-clock 0.24.0 Counts down to the prompt cache going cold, with the last request's hit rate, above the prompt. 0
- auto-resume 0.24.0 Sends "continue" once a usage limit resets, so a turn cut off by the limit picks up where it stopped. 0
- limit-watch 0.24.0 Draws the 5-hour and weekly usage limits above the prompt, coloured by use, with reset countdowns and toasts at 80% and 95%. Terminal only: in the desktop app it leaves the limits to the usage card. 0
- youtube 0.18.0 Reads the YouTube links in a prompt with yt-dlp and hands Claude each video's title, channel, description, chapters and transcript. 0
- git-status 0.16.0 Shows the branch and working tree on the status line, and the branch's pull request above the prompt with its checks, toasts when checks finish or a rebase stops on conflicts, and merges the PR, or its whole gh-stack stack, with /merge. 0
- resource-watch 0.15.0 Shows which Claude Code session is using each booted Apple simulator, Claude Design project and the Xcode app, above the prompt, and when another session already holds one this session picks up, toasts, messages that session and tells this session's agent. 0
- release-notes 0.14.0 Drafts App Store release notes for Xcode projects when the version is bumped, into fastlane metadata or CHANGELOG.md, and shows the version above the prompt. 0
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... 34.7k
- diffr 0.1.0 Review diffs with diffr in a pane 3.5k
- time-machine 0.1.8 Agent Time Machine: a branching timeline of tool calls with shadow-git snapshots — inspect, diff, explain test failures, restore, branch, compare, re-run 773
- md-preview 0.1.11 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. 526
- branch-board 1.0.0 Inspect local branches, upstreams, and dirty files. 128