civen-cn

Windows Skills

AI Agentv1.0.1
By civen-cnUpdated 2026-05-112 versions · latest released 2026-03-08windows-skills@clawhub_civen-cn/windows-skills
Task Automation#OCR

According to AlphaMoat, as of 2026-09, Windows Skills has 1,935 downloads and 3 stars — ranked #4,472 of 5,078 AI skills overall, and #887 of 969 in AI Agent.

Installs
313
Downloads
1.9K
Stars
3
Overall Rank
#4,472
Top 89% overall · Top 92% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗421.6K2-
SkillHub ↗3131.9K3—

Platforms count differently and update at different times.

What this skill does

Python helpers capture screens or windows, recognize text through Tesseract and find image matches for automation. They require the listed image and desktop libraries and installed OCR tooling. Results depend on image quality and matching consistency. Capture the smallest necessary area, protect saved images and review coordinates before acting on them.

Profile published 2026-10-27

What you can do with it

  • Prepare screenshot and OCR workflows

When to use it

  • When a Windows desktop task needs scoped visual extraction

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Plan a capture of only this approved window, explain OCR limits and verify image-match coordinates before any interaction.

Monthly Trend

Downloads1.9K
6941.4K2.0K2026-03 · Downloads 7862026-05 · Downloads 1.2K2026-06 · Downloads 1.3K2026-07 · Downloads 1.5K2026-08 · Downloads 1.7K2026-09 · Downloads 1.9K26-0326-09
Stars3
1232026-03 · Stars 12026-05 · Stars 22026-06 · Stars 22026-07 · Stars 32026-08 · Stars 32026-09 · Stars 326-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.9K—3
2026-081.7K+10.4%3
2026-071.5K+14.8%3
2026-061.3K+8.3%2
2026-051.2K—2
2026-03786—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

3.3 KB · ClawHub v1.0.1
---
name: windows-skills
description: Windows desktop automation skills - screenshot capture, OCR text extraction, and image-based UI element location. Use when: (1) capturing screen content (2) extracting text from images (3) locating UI elements for automation
---

# Windows Desktop Automation

## Quick Start

### Dependencies
Show all (141 lines)
```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(0, 0, 800, 600, "region.png")

# 窗口截图
capture_window("Notepad", "notepad.png")
```

#### 2. 文字识别 (OCR)
```python
from scripts.ocr import extract_text

# 从图片提取文字
text = extract_text("screenshot.png")
print(text)

# 指定语言 (chi_sim = 简体中文, eng = 英文)
text = extract_text("screenshot.png", lang="chi_sim+eng")
```

#### 3. 图像定位
```python
from scripts.image_locate import locate_on_screen, locate_all

# 查找图片位置 (返回中心坐标)
pos = locate_on_screen("button.png")
if pos:
    x, y, conf = pos
    pyautogui.click(x, y)  # 点击找到的元素

# 查找所有匹配位置
positions = locate_all("icon.png")
```

## 脚本说明

| 脚本 | 功能 |
|------|------|
| `screenshot.py` | 截图功能 |
| `ocr.py` | 文字识别 |
| `image_locate.py` | 图像定位 |
| `helpers.py` | 公共工具 |

## 注意事项

- 图像定位对图片相似度敏感,建议截图时保持一致
- OCR 效果取决于图片质量和文字清晰度
- Tesseract 路径需要添加到系统 PATH 或在代码中指定

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.