Home / Claude Code mods / Security / machine-guard

machine-guard

machine-guard is a Claude Code mod by joeldg that 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.

Updated 2026-10-16

What is machine-guard?

machine-guard is a Claude Code mod by joeldg that 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. It is listed under Security and has 1 GitHub stars.

TypeClaude code mod
Authorjoeldg
Repositoryjoeldg/claude-mods
Popularity1 GitHub stars
CategorySecurity
SecurityReview before installing (60/100)
Rank#1,865 of 5,272 Claude Code mods; #220 in Security
Last commit2026-10-16
Hooks4 events
SeesBash calls, mcp__machine-guard__machine_status calls
Draws onnothing

Is machine-guard safe to install?

machine-guard scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; writes files or config; reads environment variables. It passed 4 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes files or configReview
Reads environment variablesReview
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.clock.after
$.clock.now
$.command.register
$.env.getreads env vars
$.fs.readreads files
$.fs.writewrites files
$.process.runruns processes
$.session.id
$.state.get
$.state.set
$.tool.registerdrives Claude
$.ui.logdraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install machine-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/joeldg/claude-mods
    claude plugin validate ./claude-mods/machine-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/joeldg/claude-mods && claude --plugin-dir ./claude-mods/machine-guard

Or ask Claude to set it up

Paste this into Claude Code and it installs machine-guard for you:

Install the "machine-guard" Claude Code mod from https://github.com/joeldg/claude-mods/tree/main/machine-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from joeldg/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • dev-servers: A Servers pane for this project's dev servers: what is listening, on which port, since when, with Start, Stop, Restart a (Review before installing)
  • downloads-drop: Notices files that land in Downloads while you work (PDFs, 3MF models, images, notes) and offers them in a band above th (Low risk)
  • effort-router: Routes each turn's effort from your prompt: git housekeeping replies ("merged", "commit and push", "push it") run at low (Review before installing)
  • job-watch: Live pane of long-running jobs (training, downloads, extractions): progress, ETA, stalls and finishes, read from their l (Review before installing)
  • mod-monitor: Watches how your other mods really behave: hook failures and slow hooks (read off the chain's own trace), what each one (High risk)
  • modal-meter: Watches your Modal apps from the CLI, in projects that use Modal: running apps and containers on the status line, a toas (Review before installing)
  • pr-autopilot: Watches your open pull requests: CI pass/fail toasts for the PRs you open here, failing-check logs attached when you men (Review before installing)
  • recall: Makes past sessions recallable: indexes Claude Code and Codex transcripts, subagent runs, memory files, standing orders (High risk)