wk42worldworld/clawwin2.0/windows-control
Claude Code and agent skill by wk42worldworld/clawwin2.0
- community
Checking that the SKILL.md file is still in the repository.
Full Windows desktop control. Mouse, keyboard, screenshots - interact with any Windows application like a human.
Install
npx vskill@latest install wk42worldworld/clawwin2.0/windows-controlSKILL.md
Windows Control Skill
Full desktop automation for Windows. Control mouse, keyboard, and screen like a human user.
Quick Start
All scripts are in skills/windows-control/scripts/
Screenshot
Saves the screen as JPEG file. Returns only the file path (NO base64 output to avoid context overflow).
After taking a screenshot, you MUST do two things:
- Use the
readtool on the saved file path to view the screenshot yourself - Include the file path in your response using this exact format so the user can see it too:
The chat interface will render this as an inline image automatically.
WARNING: NEVER output base64 image data to stdout. NEVER use > output.b64. NEVER try to print or cat the image file content. This will crash the context window. Always save to file and use the read tool.
Click
Type Text
Types text at current cursor position (10ms between keys).
Press Keys
Move Mouse
Moves mouse to coordinates (smooth 0.2s animation).
Scroll
Window Management (NEW!)
Advanced Actions (NEW!)
Read Window Text
Uses Windows UI Automation to extract actual text (not OCR). Much faster and more accurate than screenshots!
Read UI Elements (NEW!)
Returns buttons, links, tabs, checkboxes, dropdowns with coordinates for clicking.
Read Webpage Content (NEW!)
Enhanced browser content extraction with headings, text, buttons, and links.
Handle Dialogs (NEW!)
Handles Save/Open dialogs, message boxes, alerts, confirmations, etc.
Click Element by Name (NEW!)
Click buttons, links, menu items by name without needing coordinates.
Read Screen Region (OCR - Optional)
Note: Requires Tesseract OCR installation. Use read_window.py instead for better results.
Workflow Pattern
- Read window - Extract text from specific window (fast, accurate)
- Read UI elements - Get buttons, links with coordinates
- Screenshot (if needed) - See visual layout. Always include
[screenshot: path]in your response so the user can see it too. - Act - Click element by name or coordinates
- Handle dialogs - Interact with popups/save dialogs
- Read window - Verify changes
Screen Coordinates
- Origin (0, 0) is top-left corner
- Your screen: 2560x1440 (check with screenshot)
- Use coordinates from screenshot analysis
Examples
Open Notepad and type
Click in VS Code
Monitor Notepad changes
Text Reading Methods
Method 1: Windows UI Automation (BEST)
- Use
read_window.pyfor any window - Use
read_ui_elements.pyfor buttons/links with coordinates - Use
read_webpage.pyfor browser content with structure - Gets actual text data (not image-based)
Method 2: Click by Name (NEW)
- Use
click_element.pyto click buttons/links by name - No coordinates needed - finds elements automatically
- Works across all windows or target specific window
Method 3: Dialog Handling (NEW)
- Use
handle_dialog.pyfor popups, save dialogs, alerts - Read dialog content, click buttons, type text
- Auto-dismiss with common buttons (OK, Cancel, etc.)
Method 4: Screenshot + Vision (Fallback)
- Take full screenshot
- AI reads text visually
- Slower but works for any content
Method 5: OCR (Optional)
- Use
read_region.pywith Tesseract - Requires additional installation
- Good for images/PDFs with text
Safety Features
pyautogui.FAILSAFE = True(move mouse to top-left to abort)- Small delays between actions
- Smooth mouse movements (not instant jumps)
Requirements
- Python 3.11+
- pyautogui (installed ✅)
- pillow (installed ✅)
Tips
- Always screenshot first to see current state
- Coordinates are absolute (not relative to windows)
- Wait briefly after clicks for UI to update
- Use
ctrl+zfriendly actions when possible
Status: ✅ READY FOR USE (v2.0 - Dialog & UI Elements) Created: 2026-02-01 Updated: 2026-02-02
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingbundled/openclaw/skills/windows-control/SKILL.md
Popularity
- Repository stars
- 57
- Repository forks
- 9
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/wk42worldworld/clawwin2.0/windows-control)