/install mac-node-snapshot
mac-node-snapshot
Overview
Uses node screen.record to record a 1-second clip and extract a high-quality PNG frame. This workflow bypasses common screencapture permission issues and ensures a reliable image return.
Quick start (single command, no scripts)
All paths are relative to {skill}.
mkdir -p "{skill}/tmp" \
&& openclaw nodes screen record --node "\x3Cnode>" --duration 1000 --fps 10 --no-audio --out "{skill}/tmp/snap.mp4" \
&& ffmpeg -hide_banner -loglevel error -y -ss 00:00:00 -i "{skill}/tmp/snap.mp4" -frames:v 1 "{skill}/tmp/snap.png"
When to use (trigger phrases)
Use this skill when the user asks:
- "Take a screenshot"
- "What is on my screen?"
- "Capture the screen"
- "Screenshot via screen.record"
Notes
- Requirements:
ffmpeg(ask before installing). - If the frame is black, ask the user to wake the screen and retry.
- Use
readon{skill}/tmp/snap.pngto attach it to the reply.
Troubleshooting
- screen_record fails (node disconnected): check
nodes status, ensure OpenClaw app is running/paired. - screenRecording false: must grant Screen Recording in System Settings; cannot be bypassed.
- Black frame: screen may be asleep/locked; ask the user to wake and retry.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mac-node-snapshot - After installation, invoke the skill by name or use
/mac-node-snapshot - Provide required inputs per the skill's parameter spec and get structured output
What is mac-node-snapshot?
A robust, permission-friendly method to capture macOS screens via OpenClaw screen.record. Ideal for headless environments or ensuring capture reliability. It is an AI Agent Skill for Claude Code / OpenClaw, with 1342 downloads so far.
How do I install mac-node-snapshot?
Run "/install mac-node-snapshot" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is mac-node-snapshot free?
Yes, mac-node-snapshot is completely free (open-source). You can download, install and use it at no cost.
Which platforms does mac-node-snapshot support?
mac-node-snapshot is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created mac-node-snapshot?
It is built and maintained by taozhe6 (@taozhe6); the current version is v1.0.0.