App Screenshot

Cross-platform live desktop app UI control and window capture skill for LibrAgent. Supports Windows and Linux. Triggers on requests like '앱 화면 캡처', '앱 스크린샷', '앱 클릭 제어', 'capture app window', 'app screenshot', 'capture ui', 'click app button'.

fritzprix 1ef69f5 2 files · 9.6 KB Updated

File contents

App Screenshot & UI Control Skill

Capture live, pixel-exact desktop screenshots of the running LibrAgent application window across Windows and Linux, with optional mouse click and UI interaction automation.

Features

  • Window Focus & Screenshot: Finds and focuses LibrAgent app window, then captures exact window geometry.
  • Relative Coordinate Mouse Click: Automatically clicks buttons, menus, or cards relative to top-left of the app window before capturing (--click X Y).
  • Cross-Platform: Zero extra native dependencies (uses Python ctypes.windll.user32 on Windows, Xlib / xwininfo on Linux).

Usage Examples

1. Capture App Screenshot

python src-tauri/bundled_skills/app-screenshot/scripts/capture_app.py docs/user/assets/screenshots/getting-started/new-session.png

2. Click Relative Coordinate & Capture

Click inside the app window at relative (X, Y) (e.g. X=710, Y=410 for Assistant card) and capture result:

python src-tauri/bundled_skills/app-screenshot/scripts/capture_app.py docs/user/assets/screenshots/getting-started/new-session.png --click 710 410

fritzprix/libr-agent/tree/main/src-tauri/bundled_skills/app-screenshot commit 1ef69f5df1

Frequently asked questions

npx skillmds@latest add fritzprix/app-screenshot