搜索

PythonReactSEOPDF
OpenClaw

Windows Skills

Windows Desktop Automation

civen-cn0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install civen-cn/windows-skills

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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
github
Repository
openclaw/skills
Path
skills/civen-cn/windows-skills
Version
—
Commit
557a78cea7138b0781058a03c731f65ee0b22d3d
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

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(...

相关技能

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.