Skip to content
Back to skills

Vision Gui

ASecurity

AI-powered GUI control - vision-guided automation (needs GEMINI_API_KEY)

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

Works with

  • cli
  • api
  • 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 vision-gui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vision Gui?

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

Security grade badge for Vision Gui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/m4stanuj-vision-gui/badge)](https://www.skillsdirectory.com/skills/m4stanuj-vision-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: vision-gui
description: AI-powered GUI control - vision-guided automation (needs GEMINI_API_KEY)
---

# Vision GUI MCP — vision_gui_mcp.py

**AI-powered GUI automation:** Describe what you want in natural language, AI controls your screen!

---

## ⚠️ IMPORTANT: Requires API Key

This MCP uses vision AI to understand screen and interact. You need:

### Get Free API Keys

1. **Gemini (Recommended):**
   - Go to: https://aistudio.google.com/apikey
   - Create new API key
   - Add to `C:/workk/gui_mcp/.env`:
     ```
     GEMINI_API_KEY=your_key_here
     ```

2. **Groq (Fallback):**
   - Go to: https://console.groq.com/keys
   - Create new key
   - Add to `.env`:
     ```
     GROQ_API_KEY=your_key_here
     ```

---

## Quick Start

### Install (dependencies already installed)
```bash
pip install pyautogui Pillow requests pyperclip python-dotenv
```

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

### Status: ⚠️ Requires GEMINI_API_KEY

---

## Features (Claude CU Style!)

### Vision Tools
- `vision_click` - "Click the Submit button" - AI finds and clicks
- `vision_type` - "Type 'hello' in search box" - AI finds field and types
- `vision_find` - Find coordinates without clicking
- `vision_wait_for` - Wait until element appears
- `vision_verify` - "Is the dialog closed?" - Verify UI state

### High-Level Tasks
- `do_task` - "Go to Google and search for cats" - Complex automation
- `describe_screen` - "What's on this screen?" - Get AI description

---

## Usage Examples

### Click using natural language
```
vision_click(target="Click the Submit button")
```

### Type in a field
```
vision_type(target="Search input", text="artificial intelligence")
```

### Find something
```
vision_find(target="The login button")
```

### Describe screen
```
describe_screen(question="What form fields are visible?")
```

### Complex task
```
do_task(task="Fill out the contact form with name John, email john@example.com")
```

---

## MCP Config

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

---

## How It Works

1. **Take screenshot** → Send to Gemini/Groq vision model
2. **Analyze** → AI understands the UI and decides action
3. **Execute** → AI returns coordinates, we click/type
4. **Verify** → Optionally verify success

---

## Requirements

- Python 3.8+
- pyautogui, Pillow, requests, pyperclip, python-dotenv
- **GEMINI_API_KEY** or **GROQ_API_KEY** in .env

---

## Rating

| Feature | Score |
|---------|-------|
| Free (API key) | ✅ 10/10 |
| AI-Powered | ✅ 10/10 |
| Ease of Use | ✅ 9/10 |
| Claude CU Style | ✅ 10/10 |

**Overall: 10/10** — Game changer for GUI automation!

---

## Common Issues

| Issue | Solution |
|-------|----------|
| No API key | Add GEMINI_API_KEY to C:/workk/gui_mcp/.env |
| Vision not finding element | Use more descriptive target text |
| Slow response | Try Groq (faster than Gemini) |
| Click coords wrong | Resize your screen or adjust MAX_WIDTH |

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.