Home / Claude Code mods / Security / jr-image-guard

jr-image-guard

jr-image-guard is a Claude Code mod by jrlprost that keeps oversized images out of the conversation: an image over 7800 px is read through a resized copy, and browser viewports over the limit are refused.

Updated 2026-10-25

What is jr-image-guard?

jr-image-guard is a Claude Code mod by jrlprost that keeps oversized images out of the conversation: an image over 7800 px is read through a resized copy, and browser viewports over the limit are refused. It is listed under Security and has 4 GitHub stars.

TypeClaude code mod
Authorjrlprost
Repositoryjrlprost/claude-code-mods
Popularity4 GitHub stars
CategorySecurity
SecurityLow risk (88/100)
Rank#1,575 of 9,397 Claude Code mods; #186 in Security
LicenseMIT
Last commit2026-10-25
Hooks1 events
SeesRead calls, mcp__playwright__browser_resize calls
Draws onnothing

Is jr-image-guard safe to install?

jr-image-guard scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 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 no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.now
$.process.runruns processes
$.ui.toastdraws interface

How do I install jr-image-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/jrlprost/claude-code-mods
    claude plugin validate ./claude-code-mods/plugins/jr-image-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add jrlprost/claude-code-mods && claude plugin install jr-image-guard@claude-code-mods

Or ask Claude to set it up

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

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

More from jrlprost/claude-code-mods

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

  • jr-awake: Keeps the Mac awake while Claude works, shared by every session on the machine, and warns before the next sleep. (Review before installing)
  • jr-badge: A coloured project badge and its branch, on the right above the prompt, so you always know which window you are typing i (Review before installing)
  • jr-cache-clock: A toast 30 seconds before the prompt cache goes cold, and on /jr-cache-clock a quiet countdown above the prompt: how lon (Low risk)
  • jr-commit-coach: Nudges you toward small atomic commits: when uncommitted changes pass a threshold, a band and a toast suggest a split by (Low risk)
  • jr-context: The context window in one quiet row above the prompt: a mini bar coloured by category, the fill and the window, turning (Low risk)
  • jr-decisions: A decision journal per project: /jr-decisions or a prompt starting with "decision:" records one, /jr-decisions lists the (Review before installing)
  • jr-deploy-guard: Production deploys and pushes to main always come to you for confirmation, even when your rules allow them. Optional: no (Low risk)
  • jr-deslop: Flags AI-writing tells (em dashes, "delve", "not X, but Y", stock openers...) in the prose files Claude writes. A toast (Low risk)