Search

PythonReactSEOPDF
OpenClaw

Windows Skills

Windows Desktop Automation

civen-cn0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install civen-cn/windows-skills

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Windows Desktop Automation

Quick Start

Dependencies
pip install mss pytesseract pillow pyautogui opencv-python numpy

Note: OCR requires Tesseract OCR installed

Core Features
1. Screenshot
from scripts.screenshot import capture_screen, capture_region, capture_window

# Full screen
capture_screen("output.png")

# Region (x, y, width, height)
capture_region(0, 0, 800, 600, "region.png")

# Window by title
capture_window("Notepad", "notepad.png")
2. OCR (Text Recognition)
from scripts.ocr import extract_text

# Extract text from image
text = extract_text("screenshot.png")
print(text)

# Specify language (chi_sim=Chinese, eng=English)
text = extract_text("screenshot.png", lang="chi_sim+eng")
3. Image Location
from scripts.image_locate import locate_on_screen, locate_all

# Find image position (returns center coordinates)
pos = locate_on_screen("button.png")
if pos:
    x, y, confidence = pos
    pyautogui.click(x, y)  # Click the found element

# Find all matches
positions = locate_all("icon.png")

Scripts

Script Description
screenshot.py Screenshot capture
ocr.py Text recognition
image_locate.py Image-based element location
helpers.py Common utilities

Notes

  • Image location is sensitive to image similarity; keep screenshots consistent
  • OCR quality depends on image quality and text clarity
  • Tesseract path needs to be in system PATH or specified in code

Windows 桌面自动化

快速开始

依赖安装
pip install mss pytesseract pillow pyautogui opencv-python numpy

注意:OCR 需要安装 Tesseract OCR

核心功能
1. 截图
from scripts.screenshot import capture_screen, capture_region, capture_window

# 全屏截图
capture_screen("output.png")

# 区域截图 (x, y, width, height)
capture_region(...

Source information

Source
github
Repository
openclaw/skills
Path
skills/civen-cn/windows-skills
Version
—
Commit
557a78cea7138b0781058a03c731f65ee0b22d3d
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Windows Desktop Automation

## Quick Start

### Dependencies
```bash
pip install mss pytesseract pillow pyautogui opencv-python numpy
```
Note: OCR requires [Tesseract OCR](https://github.com/UB-Mannheim/tesseract/wiki) installed

### Core Features

#### 1. Screenshot
```python
from scripts.screenshot import capture_screen, capture_region, capture_window

# Full screen
capture_screen("output.png")

# Region (x, y, width, height)
capture_region(0, 0, 800, 600, "region.png")

# Window by title
capture_window("Notepad", "notepad.png")
```

#### 2. OCR (Text Recognition)
```python
from scripts.ocr import extract_text

# Extract text from image
text = extract_text("screenshot.png")
print(text)

# Specify language (chi_sim=Chinese, eng=English)
text = extract_text("screenshot.png", lang="chi_sim+eng")
```

#### 3. Image Location
```python
from scripts.image_locate import locate_on_screen, locate_all

# Find image position (returns center coordinates)
pos = locate_on_screen("button.png")
if pos:
    x, y, confidence = pos
    pyautogui.click(x, y)  # Click the found element

# Find all matches
positions = locate_all("icon.png")
```

## Scripts

| Script | Description |
|--------|-------------|
| `screenshot.py` | Screenshot capture |
| `ocr.py` | Text recognition |
| `image_locate.py` | Image-based element location |
| `helpers.py` | Common utilities |

## Notes

- Image location is sensitive to image similarity; keep screenshots consistent
- OCR quality depends on image quality and text clarity
- Tesseract path needs to be in system PATH or specified in code

---

# Windows 桌面自动化

## 快速开始

### 依赖安装
```bash
pip install mss pytesseract pillow pyautogui opencv-python numpy
```
注意:OCR 需要安装 [Tesseract OCR](https://github.com/UB-Mannheim/tesseract/wiki)

### 核心功能

#### 1. 截图
```python
from scripts.screenshot import capture_screen, capture_region, capture_window

# 全屏截图
capture_screen("output.png")

# 区域截图 (x, y, width, height)
capture_region(...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.