# 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'.

- Skill: `fritzprix/app-screenshot` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add fritzprix/app-screenshot`
- Raw SKILL.md: https://api.skillmd.com/api/skills/fritzprix/app-screenshot/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: fritzprix (https://skillmd.com/u/fritzprix)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/fritzprix/app-screenshot

---


# 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

```bash
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:

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

