civen-cn

Windows Skills

AIエージェントv1.0.1
作者:civen-cn更新日 2026-05-11全 2 バージョン · 最新版の公開日 2026-03-08windows-skills@clawhub_civen-cn/windows-skills
タスク自動化#OCR

AlphaMoatによると、2026-09時点でWindows Skillsのダウンロード数は1,935、スター数は3で、AIスキル全体5,078件中4,472位、AIエージェントでは969件中887位です。

インストール数
313
ダウンロード数
1935
スター数
3
総合順位
#4,472
全体の上位 89% · AIエージェントの上位 92%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗4215552-
SkillHub ↗31319353—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

Python 補助で画面・窓を撮り、Tesseract で文字を認識し画像を照合します。画像・デスクトップ用ライブラリと OCR が必要で、品質と類似度に左右されます。必要最小範囲だけを撮り、画像を保護して操作前に座標を確認します。

資料公開日 2026-10-27

できること

  • 画面取得と OCR を準備する

使う場面

  • Windows 作業で限定した視覚抽出が必要なとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

承認済み窓だけの取得を計画し、OCR の限界と操作前の座標確認を説明して。

月次の推移

ダウンロード数1935
694136120272026-03 · ダウンロード数 7862026-05 · ダウンロード数 12352026-06 · ダウンロード数 13382026-07 · ダウンロード数 15362026-08 · ダウンロード数 16962026-09 · ダウンロード数 193526-0326-09
スター数3
1232026-03 · スター数 12026-05 · スター数 22026-06 · スター数 22026-07 · スター数 32026-08 · スター数 32026-09 · スター数 326-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-091935—3
2026-081696+10.4%3
2026-071536+14.8%3
2026-061338+8.3%2
2026-051235—2
2026-03786—1

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 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
すべて表示(全 141 行)
```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 或在代码中指定

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。