stall-alarm

by joeldg · ★ 3 · updated 13 days ago

Status lineGuardsCommandsPromptvalidates

0

Raises the alarm when a long-running session stalls while you are away: a permission dialog or a question that has waited for you past a threshold (toast, Mac notification, optional phone push, repeated while it stays open), and a turn that stopped on a login, usage-limit or billing error, with the fix. Leaves scheduled routines to routine-watch. No model calls.

install stall-alarm

Install

git clone https://github.com/joeldg/claude-mods
claude --plugin-dir ./claude-mods/stall-alarm

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.startprompt.submittool.checktool.callturn.startclassic.StopFailureturn.completesession.endcommand.run
API calls
$.clock.every$.clock.now$.command.register$.env.get$.process.run$.session.id$.state.get$.state.set$.ui.log$.ui.status$.ui.toast
Can see
every promptevery tool callclassic hooks
Reach
level 2 of 3 runs processesreads env varsreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/joeldg/claude-mods
Path in repo
stall-alarm
Source commit
2eab818 the exact code the scan read
Author
@joeldg
License
No license declared — ask the author before reusing code.
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 joeldg/claude-mods

standing-orders

joeldg/claude-mods

Keeps the instructions you give Claude ("never…", "from now on…", "in this project…") as standing orders for the project or the session, offered in a band above the prompt, and hands them back to Claude after every compaction or /clear, with the active /goal. No model calls.

★ 3BandsCommandsPrompt

test-gardener

joeldg/claude-mods

Makes Claude consolidate tests instead of appending them. After it writes or edits a test file, a note names the test files that already cover the module, the near-duplicates and clones among the tests it just added, and a file past the size guideline; a tests_neighbourhood tool answers the same before tests are written; /tests audit lists the consolidations for the project (clones...

★ 3BandsGuardsCommands

usage-meter

joeldg/claude-mods

A machine-wide meter of the plan's rolling 5-hour usage: every session's turns summed as effective tokens, the cap learned from each session-limit hit, the burn on the status line, a toast before the wall, /usage and a usage_status tool so Claude can pace itself. No process runs, no model calls.

★ 3Status lineGuardsCommands

dev-servers

joeldg/claude-mods

A Servers pane for this project's dev servers: what is listening, on which port, since when, with Start, Stop, Restart and Log buttons; names the process holding a port when a command fails with EADDRINUSE; a read-only dev_servers tool for Claude. Scans with netstat (never lsof), one session for all; no model calls.

★ 3PanesStatus lineGuards

docs-gardener

joeldg/claude-mods

Keeps a project's markdown true to the project: deterministic checks (dead references, stale TODOs, duplicated paragraphs, orphans, dated series, oversized files, finished plans) at write time and from a docs_check tool, and /docs audit, which adds a model edit plan you apply item by item from a pane, or all at once for a scheduled run. Only /docs audit calls a model (one Haiku call per...

★ 3PanesGuardsCommands

downloads-drop

joeldg/claude-mods

Notices files that land in Downloads while you work (PDFs, 3MF models, images, notes) and offers them in a band above the prompt: Attach puts @"path" mentions in the prompt box, Dismiss clears them. /downloads lists the newest files and attaches any by number. No model calls.

★ 3BandsCommands

effort-router

joeldg/claude-mods

Routes each turn's effort from your prompt: git housekeeping replies ("merged", "commit and push", "push it") run at low effort, deep asks (review, audit, plan, why does...) at max, everything else (approvals like "yes" or "continue" included) at the session's own. Switches only when the prompt cache makes it worth it, never mid-turn. Caps every turn and subagent at a lower effort once...

★ 3Status lineCommandsPrompt

job-watch

joeldg/claude-mods

Live pane of long-running jobs (training, downloads, extractions) and the servers Claude starts: progress, ETA, stalls, exits and finishes, read from their logs with no model calls; jobs_list / jobs_watch / jobs_unwatch tools so Claude follows jobs instead of polling them.

★ 3PanesStatus lineGuards

machine-guard

joeldg/claude-mods

Memory, swap, GPU and the CPU cores macOS is using on the status line, and a machine_status tool for Claude; refuses heavy local jobs (training, inference, rendering, Docker) while memory is critical or the Mac is reserved with /busy.

★ 3Status lineGuardsCommands

mod-monitor

joeldg/claude-mods

Watches how your other mods really behave: hook failures and slow hooks (read off the chain's own trace), what each one did (toasts, status lines, commands, processes, model calls, writes), with /mods for a live pane and /mods report for the last day, week or month. Changes nothing they do; no model calls.

★ 3PanesBandsStatus line

modal-meter

joeldg/claude-mods

Watches your Modal apps from the CLI, in projects that use Modal: running apps and containers on the status line, a toast when one has been up too long, today's spend where the CLI reports it, and a pane to stop an app (after you confirm). One session polls for all the open ones; a CLI that refuses (no token, a config error) is left alone for an hour, with its own reason shown. No model calls.

★ 3PanesStatus lineGuards

pr-autopilot

joeldg/claude-mods

Watches your open pull requests: CI pass/fail toasts for the PRs you open here, failing-check logs attached when you mention them, a prs_status tool so Claude reads them without gh, and the post-merge ritual (fetch --prune, switch, ff-only pull, delete the branch) done for you with no model calls; in a linked worktree it only fetches and leaves the worktree to you. Tells you once when gh's...

★ 3Status lineGuardsCommands

Other mods in Status line, close to this one by stars.