From mem-watch
Watches free memory and swap (macOS and Linux), shows them in the status line and alerts once (naming the top memory users) when either crosses its limit. While over, only light commands run. Always caps this session's top-level agents (subagents, and teammates while they work) at 4 and its background jobs at 3.
5 events · 15 calls
Ships in mem-watch. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprocess.runprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.starttool.call{tool=Agent}tool.call{tool=Bash}agent.spawnsession.appendtool.call{tool=TaskStop}classic.StopEvery mods API method its source calls, by namespace
listeverynowsleeprunsubmitidgetsetgetsetlognotifystatustoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub ryankim17920/ryk-claude-mods --plugin mem-watch