Skip to content
Back to skills

Gui

ASecurity

GUI automation - mouse, keyboard, window control, screenshot, OCR

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythonbash

Works with

  • cli
  • mcp

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned December 1, 2026

npx -y skills add m4stanuj/MAST --skill gui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/m4stanuj-gui/badge)](https://www.skillsdirectory.com/skills/m4stanuj-gui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gui
description: GUI automation - mouse, keyboard, window control, screenshot, OCR
---

# GUI Control MCP — gui_mcp.py

**Full GUI automation:** Mouse, keyboard, windows, screenshots, OCR, template matching

---

## Quick Start

### Install (dependencies already installed)
```bash
pip install pyautogui pygetwindow Pillow psutil pyperclip
pip install opencv-python numpy  # optional: find_on_screen
pip install pytesseract         # optional: ocr_screen
```

### Verified Command
```bash
python C:/workk/gui_mcp/gui_mcp.py
```

### Status: ✅ WORKING

---

## Features

### Mouse Control
- `mouse_click` - Click at coordinates
- `mouse_move` - Move mouse
- `mouse_drag` - Drag from point A to B
- `mouse_scroll` - Scroll up/down

### Keyboard Control
- `keyboard_type` - Type text (unicode safe)
- `keyboard_hotkey` - Key combinations (ctrl+c, alt+tab, etc.)
- `keyboard_press` - Single key press

### Window Management
- `window_list` - List all open windows
- `window_focus` - Bring window to front
- `window_resize` - Resize window
- `window_minimize` / `window_maximize`
- `wait_for_window` - Wait until window appears

### Screenshot & OCR
- `screenshot` - Full screen or region
- `ocr_screen` - Extract text from screen
- `find_on_screen` - Template matching

### Other
- `app_launch` / `app_kill` - Launch/kill applications
- `clipboard_set` / `clipboard_get` - Clipboard
- `process_list` - List running processes

---

## Usage Examples

### Click at coordinates
```
mouse_click(x=500, y=300, button="left", clicks=1)
```

### Type text
```
keyboard_type(text="Hello World")
```

### Screenshot
```
screenshot()
# Returns: {"width": 1920, "height": 1080, "base64": "..."}
```

### List windows
```
window_list()
# Returns: {"count": 10, "windows": [{"title": "Chrome", ...}]}
```

### Focus window
```
window_focus(title="Notepad")
```

---

## MCP Config

```jsonc
{
  "mcp": {
    "gui": {
      "command": ["python", "C:/workk/gui_mcp/gui_mcp.py"],
      "enabled": true
    }
  }
}
```

---

## Requirements

- Windows/macOS/Linux
- Python 3.8+
- pyautogui, pygetwindow, Pillow, psutil, pyperclip

---

## Rating

| Feature | Score |
|---------|-------|
| Free | ✅ 10/10 |
| Functionality | ✅ 10/10 |
| GUI Automation | ✅ 10/10 |
| OCR | ✅ 8/10 |

**Overall: 10/10** — Essential for GUI automation!

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.