mutlumehmet/claude-plugins/tree/main/plugins/context-alarm

一個 Claude Code mod,在內容視窗填滿時發出警告,並建議在自動壓縮抹去工作階段決定前用 /save-context 儲存它們。
mutlumehmet/claude-plugins/tree/main/plugins/context-alarm

一個 Claude Code mod,在內容視窗快滿時發出警告,並建議在自動 compaction 將工作階段決定總結掉之前,用 /save-context 儲存它們。它屬於 claude-plugins。
它會從同一 marketplace 安裝提供 /save-context 的 project-workflow 作為相依專案。
需要 Claude Code 2.1.287 或更新版本(mods),已在 2.1.289 測試。
/plugin marketplace add mutlumehmet/claude-plugins
/plugin install context-alarm@mehmetmutlu
mod 會在 Claude Code 權限下執行。安裝前先讀程式碼。
Made by Mehmet Mutlu,屬於 claude-plugins。更多作品見 mehmetmutlu.dev。
請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。
claude plugin marketplace add mutlumehmet/claude-plugins claude plugin install context-alarm
A Claude Code mod that warns when the context window fills up and suggests saving the session's
decisions with /save-context before automatic compaction summarises them away. Part of
claude-plugins.
warn_percent setting, 50 to 95): a notice, a status line under the prompt
(Context 83% · /save-context suggested) and /save-context suggested in the empty prompt box./save-context runs: the suggestions stop and the status line says so./context-alarm: shows how full the context is and the thresholds.It installs project-workflow from the same marketplace as a dependency, which provides
/save-context.
/save-context ran, and when an automatic compaction starts./save-context suggested in the empty prompt box. It never runs save-context itself.skill.prompt (save-context only) notes that it ran and passes the skill's prompt on unchanged. session.compact only warns; the compaction still runs. command.run answers its own /context-alarm command and no other.Needs Claude Code 2.1.287 or later (mods). Tested on 2.1.289.
/plugin marketplace add mutlumehmet/claude-plugins
/plugin install context-alarm@mehmetmutlu
A mod runs inside Claude Code with your permissions. Read the code before you install any mod.
Made by Mehmet Mutlu, part of claude-plugins. More of his work at mehmetmutlu.dev.