claudemods

All Claude Code modsjoeldg/claude-mods

machine-guard

A Claude Code mod in 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.

machine-guard reaches L2 (writes or runs) and passed claude plugin validate.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, drives Claude, reads files, reads env vars, reads mod state, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
Bash calls, mcp__machine-guard__machine_status calls
Hooks
session.start, tool.call {tool=Bash}, tool.check {tool=mcp__machine-guard__machine_status}, tool.call {tool=mcp__machine-guard__machine_status}, command.run {command=busy}, command.run {command=guard}
API calls
$.clock.after, $.clock.now, $.command.register, $.env.get, $.fs.read, $.fs.write, $.process.run, $.session.id, $.state.get, $.state.set, $.tool.register, $.ui.log, $.ui.status, $.ui.toast
Validation
Passed
Scanned revision
2eab818ee6f7

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 joeldg/claude-mods

Badge for your README

Reach badge for machine-guard Validation badge for machine-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/joeldg--claude-mods--machine-guard-reach.svg)](https://mods.aidojo.si/mods/joeldg--claude-mods--machine-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/joeldg--claude-mods--machine-guard-validates.svg)](https://mods.aidojo.si/mods/joeldg--claude-mods--machine-guard/)