context-alarm

by Mehmet Mutlu · ★ 3 · updated today

Status lineCommandsPromptvalidates

0

Warns when the context window passes a threshold (80% by default) and suggests /save-context before compaction

install context-alarm

Install

/plugin marketplace add mutlumehmet/claude-plugins
/plugin install context-alarm@mehmetmutlu

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runsession.measureturn.completeskill.promptsession.compact
API calls
$.clock.after$.command.register$.prompt.suggest$.ui.status$.ui.toast
Can see
the save-context skillcompaction
Reach
level 1 of 3 writes the prompt boxdraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/mutlumehmet/claude-plugins
Path in repo
plugins/context-alarm
Source commit
828596c the exact code the scan read
Author
Mehmet Mutlu @mutlumehmet
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from mutlumehmet/claude-plugins

answer-buttons

mutlumehmet/claude-plugins

Three small buttons under Claude's last answer: Plain English, Shorter, and Plain & short

★ 3Reskins

arcade

mutlumehmet/claude-plugins

The Claude Code Arcade: eight pixel games above the prompt, played by your work (a dragon, a slot machine, an Outlaw duel, a Tamagotchi, Tetris, an invading octopus, a duck hunt, and Bug Command, which you can play along with). Pin one, rotate them, or get a random one in every terminal.

★ 3BandsGuardsCommands

dash-guard

mutlumehmet/claude-plugins

Refuses prose that Claude writes with an em dash, an en dash or a double hyphen, and tells Claude which lines to rewrite

★ 3GuardsCommandsAutomation

fork-lineage

mutlumehmet/claude-plugins

Remembers which session a fork came from (renames never break it), shows it above the prompt, and sends a fork's report to its parent only when you approve it

★ 3BandsCommandsPrompt

shared-file-guard

mutlumehmet/claude-plugins

Refuses a shell write to a shared file (STATUS.md, CLAUDE.md, MEMORY.md, or the files you name) that this session has not read, or that another session changed since

★ 3GuardsCommandsAutomation

skill-stats

mutlumehmet/claude-plugins

Counts how often each skill runs, lists the ones that never trigger, and hands a weak description to skill-creator

★ 3CommandsPromptAutomation

subtask-icons

mutlumehmet/claude-plugins

A single ⑂ Subtask button under Claude's last answer opens a picker of its items; picking one puts /subtask in the prompt box

★ 3PanesBandsReskins