bambu-studio-ai
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...
Windows Desktop Automation
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-skillsInspect 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.
pip install mss pytesseract pillow pyautogui opencv-python numpy
Note: OCR requires Tesseract OCR installed
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")
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")
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")
| Script | Description |
|---|---|
screenshot.py |
Screenshot capture |
ocr.py |
Text recognition |
image_locate.py |
Image-based element location |
helpers.py |
Common utilities |
pip install mss pytesseract pillow pyautogui opencv-python numpy
注意:OCR 需要安装 Tesseract OCR
from scripts.screenshot import capture_screen, capture_region, capture_window
# 全屏截图
capture_screen("output.png")
# 区域截图 (x, y, width, height)
capture_region(...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
# 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(...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...
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 Chinese AI-enhanced knowledge management skill
Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.