claudemods

All Claude Code modsjoaosavi/cockpit

memory-guard

A Claude Code mod in joaosavi/cockpit

Keeps typecheck, build, test and Playwright runs under the memory limit, the tightest cgroup limit on Linux or the machine's memory on Linux, macOS and Windows: runs them with one process, waits for memory or refuses, and reruns a command killed with exit 137.

review UI rewrite

memory-guard reaches L2 (writes or runs) and passed claude plugin validate with warnings.

Install hint

/plugin install memory-guard --marketplace joaosavi/cockpit

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, reads files, reads env vars, persists state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash calls
Hooks
session.start, command.run {command=ram}, ui.render {component=Pane}, ui.close, tool.call {tool=Bash}, session.end
API calls
$.clock.every, $.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.write, $.process.run, $.session.id, $.session.surfaces, $.store.get, $.store.set, $.ui.invalidate, $.ui.open, $.ui.resolve, $.ui.status
Validation
Passed with warnings
Scanned revision
8f1af109dc3d
Marketplace passed
cockpit
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. memory-guard/hooks/rules.ts:93, memory-guard/hooks/rules.ts:94, memory-guard/hooks/rules.ts:95

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from joaosavi/cockpit

Badge for your README

Reach badge for memory-guard Validation badge for memory-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/joaosavi--cockpit--memory-guard-reach.svg)](https://mods.aidojo.si/mods/joaosavi--cockpit--memory-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/joaosavi--cockpit--memory-guard-validates.svg)](https://mods.aidojo.si/mods/joaosavi--cockpit--memory-guard/)