Zum Inhalt springen
TakoAPI
Zurück zu den Skills

mac-node-snapshot

von taozhe6

Coding Agents & IDEs
968Downloadzahlen laut clawskills.sh
1Aufrufe
0 LikesMelde dich an, um diesen Skill zu liken
—Noch nicht bewertet
Deine Bewertung

Kurzbeschreibung

A robust, permission-friendly method to capture macOS screens via OpenClaw screen.record.

Beschreibung

Was dieser Skill macht

Captures macOS screenshots by recording a 1-second clip via OpenClaw's screen.record node, then extracting a PNG frame with ffmpeg. Works in headless environments where standard screencapture commands often fail due to permission restrictions.

Routes through the screen.record node instead of screencapture, avoiding the permission errors that block standard screenshot tools in headless or automated contexts.

Wann du ihn einsetzt

  • Answering 'what's on my screen?' questions
  • Capturing UI state during manual testing
  • Attaching a screenshot to a bug report
  • Documenting current screen contents in a remote session
  • Debugging visual layout without leaving the terminal

Beispiel-Workflow

EINGABE

User asks: Take a screenshot of my screen

AGENT
  1. 1

    Creates a tmp directory inside the skill folder

  2. 2

    Records a 1-second clip using openclaw nodes screen record with no audio

  3. 3

    Extracts the first video frame as a PNG using ffmpeg

  4. 4

    Reads the PNG file and attaches it to the reply

AUSGABE

A PNG screenshot of the current screen attached to the agent's response

Voraussetzungen

  • ffmpeg installed on the system
  • Screen Recording permission granted in macOS System Settings > Privacy & Security

Installation

clawhub install taozhe6/mac-node-snapshot

Führe den CLI-Befehl aus oder füge den Prompt in Claude Code, Cursor, Codex oder deinen Coding-Agenten ein.

Links