Saltar al contenido
TakoAPI
Volver a skills

mac-node-snapshot

por taozhe6

Coding Agents & IDEs
968Descargas según clawskills.sh
1Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

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

Descripción

Qué hace esta skill

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.

Cuándo usarla

  • 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

Flujo de trabajo de ejemplo

ENTRADA

User asks: Take a screenshot of my screen

AGENTE
  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

SALIDA

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

Requisitos

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

Instalación

clawhub install taozhe6/mac-node-snapshot

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces