Gharib89/claude-mods/tree/main/plugins/smart-compact
smart-compact
smart-compact is a Claude Code plugin that lets Claude compress its context at self-selected step boundaries, carry in its own instructions, and continue working.
About this mod
smart-compact lets Claude compress its own context at step boundaries it chooses, then carry in its own instructions and continue working automatically. It issues reminders at 60% and 80% of the automatic compaction point. It supports interactive sessions only: in -p or SDK sessions, it currently cannot compress on request, so in those cases the module only adds the keep list to automatic compaction. Install it through the claude-mods marketplace with claude plugin install smart-compact@claude-mods.
Installation
Check the author's README for the marketplace and plugin name first. Commands may change as the repository evolves.
claude plugin marketplace add Gharib89/claude-mods claude plugin install smart-compact
Original text / README
claude-mods
Claude Code mods (function-hook plugins), installed through one marketplace.
Mods
smart-compact: lets Claude compact its own context at a step boundary it picks, with its own instructions, then resume the work on its own. Reminders arrive at 60% and 80% of the auto-compact point. Interactive sessions only: a-por SDK session cannot compact on request yet, so there the mod only adds its keep-list to automatic compactions.gh-pane:/gh-pane, or theOpen gh-panebutton above the prompt (Hide gh-panewhile the pane is up, each followed by the Nerd Font GitHub mark, which/plugin configurecan blank where the terminal font has none), docks a pane of the session repo's open issues and PRs in run order: spec trees from sub-issues, blocked-by edges, claims and their ship runs, planning maps whose tickets close without a PR, and the needs-triage and needs-info lists. Its buttons fill the prompt with/ship N,/triage N, a map's next ticket (/wayfinder MAP N) or a request to release a stale claim, and never send it. A/clearkeeps the open pane's last read of the same folder on screen until the next one lands. It reads the repo throughgitandgh api(REST only), soghmust be installed and signed in. The label names (the map label included), PR cap, ship worktree layout, the band button's icon and the text each button fills are options in/plugin configure gh-pane@claude-mods.
Install
claude plugin marketplace add Gharib89/claude-mods
claude plugin install smart-compact@claude-mods
claude plugin install gh-pane@claude-mods
