terry-camsnap

Take camera snapshots and save them to disk. Use when the user asks to take a photo, capture an image from webcam, or take a snapshot.

Audits

Pass

Install

openclaw skills install terry-camsnap

Take a snapshot from the default webcam using the camsnap utility.

Usage

/camsnap [output_path] [--preview] [--output-dir DIR]

If no output path is provided, the snapshot will be saved to the ./snapshots/ directory with a timestamp filename.

Steps

  1. Run the snapshot script:
python3 ~/.openclaw/workspace/src/camsnap.py {{ $ARGUMENTS }}
  1. Confirm the snapshot was saved successfully and return the file path.

Notes

  • The script discards the first few warm-up frames to avoid underexposed captures.
  • Output paths are validated against path-traversal; only allowed directories are writable.
  • Use --preview only in environments with a display (headless servers will fail).