ScrnReview – Instant screenshot review for Gemini CLI. One command. Zero clutter.
- Gemini CLI plugin tool
- Copyright (c) 2025 Josh McCann
A minimalist Python tool that captures a screenshot, sends it to Gemini CLI for visual review, and deletes the image afterward. No global installs. No setup headaches.
Clone the repo and install locally:
git clone https://github.com/ArtisticMusician/ScreenReview.git
cd ScreenReview
pip install .This installs the CLI command scrnreview.
scrnreview--keep: Keep the screenshot after review--reset-env: Rebuild the virtual environment from scratch--output-dir <path>: Save screenshot to a specific folder (used with--keep)
scrnreview --keep --output-dir screenshotsThis saves a file like scrnreview_20250813_235959.png in the screenshots/ folder.
To use ScrnReview as part of a Gemini CLI workflow:
-
Ensure
scrnreviewis installed and in your system PATH
Runpip install .from the project root. -
Register ScrnReview in your Gemini CLI
settings.json
Add this to your user or project-level config:{ "tools": { "scrnreview": { "command": "scrnreview", "args": ["--keep", "--output-dir", "screenshots"], "description": "Capture and review screenshot using ScrnReview" } } } -
Prompt Gemini to use it
“Capture a screenshot and review it using ScrnReview. Retain the image in
screenshots/.”
ScrnReview is designed to be deterministic and ephemeral—perfect for plan-keeper flows and visual UI review.
Run this script to check your environment:
It checks:
- Python version
- pyautogui installation
- Gemini CLI availability
- scrnreview CLI install
- macOS screen recording permission (hint only)
- If anything’s missing, it’ll tell you how to fix it.
Want me to prep a matching Makefile or tasks.py for automation next? Or scaffold a docs/ folder with usage examples and screenshots?
python verify-install.py
### Python Version
ScrnReview requires Python 3.7 or newer.
Check your version:
```bash
python --versionIf it’s older than 3.7, install the latest version from python.org.
If scrnreview isn’t recognized after install, your Python Scripts/ or bin/ folder may not be in your system PATH.
Add this to your PATH:
C:\Users\<yourname>\AppData\Local\Programs\Python\PythonXX\Scripts\
Replace PythonXX with your actual Python version (e.g. Python311).
Then restart your terminal or log out and back in.
Add this to your shell config (~/.bashrc, ~/.zshrc, etc.):
export PATH="$HOME/.local/bin:$PATH"Then reload your shell:
source ~/.bashrc # or ~/.zshrcScrnReview calls gemini --review-ui <image>. Make sure Gemini CLI is installed and available in your PATH.
Test it:
gemini --versionIf this fails, install Gemini CLI and ensure it’s accessible from your terminal.
If screenshots fail or are blank, go to:
System Settings → Privacy & Security → Screen Recording
Then allow your terminal app (e.g. Terminal, iTerm2) to record the screen.
You may need to install additional packages:
sudo apt install python3-tk python3-xlibNo extra packages needed, but screen recording permissions may be required.
No extra packages needed. If you see a blank screenshot, check your display permissions.
If ScrnReview fails to launch or throws import errors, try:
scrnreview --reset-envThis rebuilds the internal virtual environment from scratch.
ScrnReview will auto-create the folder you specify with --output-dir.
If the directory isn’t writable (e.g. system folders), the tool will fail. Use a local folder like screenshots/.
If you use --keep, screenshots are saved in the folder specified by --output-dir.
If you don’t specify one, they’re saved in the current working directory.
Files are named like:
scrnreview_YYYYMMDD_HHMMSS.png
You can run ScrnReview.py directly, but it will auto-create a virtual environment and install dependencies.
For best results, install via pip install . and use the scrnreview CLI.
launch_scrnreview.bat– Windows double-click launcherlaunch_scrnreview.sh– macOS/Linux launcher (chmod +xrequired)
- Python 3.7+
- Gemini CLI installed and available in PATH
Created and maintained by Josh McCann
MIT License – see LICENSE