ClaudeMods
☰
ZH-CN
● 0 人在线 · 浏览 0 次
赞助提交作品
GitHub 仓库 · 发布者 Gharib89

smart-compact

smart-compact 是一個 Claude Code 外掛,讓 Claude 在自選的步驟邊界自行壓縮上下文、帶入自身指示並接續工作。

Gharib89@Gharib89

Gharib89/claude-mods/tree/main/plugins/smart-compact

已翻译

关于这个 mod

smart-compact 讓 Claude 在它自行選擇的步驟邊界壓縮自己的上下文,並帶入自身指示後自動接續工作。於自動壓縮點的 60% 與 80% 會發出提醒。僅支援互動式工作階段:在 -p 或 SDK 工作階段中目前無法應要求壓縮,因此該情況下此模組只會把保留清單加入自動壓縮。可透過 claude-mods 市集以 claude plugin install smart-compact@claude-mods 安裝。

安装

请先查看作者 README 确认 marketplace 和插件名称;命令可能随仓库结构改变。

claude plugin marketplace add Gharib89/claude-mods
claude plugin install smart-compact
原文 / 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 -p or SDK session cannot compact on request yet, so there the mod only adds its keep-list to automatic compactions.
  • gh-pane: /gh-pane, or the Open gh-pane button above the prompt (Hide gh-pane while the pane is up, each followed by the Nerd Font GitHub mark, which /plugin configure can 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 /clear keeps the open pane's last read of the same folder on screen until the next one lands. It reads the repo through git and gh api (REST only), so gh must 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

更多类似作品