
Pyautogui Automation
Desktop automation skill built on PyAutoGUI for screenshots, mouse and keyboard control, color detection, and image recognition.
- CCM score
- 43 of 100
- skills.sh installs
- 672
- GitHub stars
- 10
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers screenshots, mouse clicks, drags, and scrolls, keyboard input and hotkeys, pixel color lookup, and on-screen image matching
- Includes one
scripts/automation.pyentry point with JSON output, plus helper modules for mouse, keyboard, screen, color, dialog, and system info - Enforces PyAutoGUI's FAILSAFE corner stop and a 0.1 second pause after each action by default
- Designed for UI testing and repetitive desktop tasks, with optional
pywin32andopencv-pythonfor clipboard, window, and confidence-based matching
Install
$ npx -y skills add steelan9199/wechat-publisher --skill pyautogui-automation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
PyAutoGUI 自动化操作
功能概览
| 功能类别 | 支持的操作 |
|---|---|
| 截图 | 全屏截图、区域截图、截图到剪贴板 |
| 鼠标控制 | 点击、双击、移动、相对移动、拖拽、滚动、按下/释放 |
| 颜色操作 | 获取像素颜色、查找颜色位置 |
| 键盘操作 | 输入文本、按键、组合键、快捷操作(复制/粘贴/全选等) |
| 图像识别 | 在屏幕上查找图片位置、等待图片出现/消失 |
| 对话框 | 警告、确认、输入对话框 |
| 系统信息 | 屏幕分辨率、鼠标位置、窗口信息 |
| 工具 | 等待、暂停 |
快速开始
基本使用模式
python scripts/automation.py <action> [参数...]
所有操作返回 JSON 格式结果。
脚本位置: scripts/automation.py
操作详解
截图
# 全屏截图(自动生成文件名)
python scripts/automation.py screenshot
# 指定输出路径
python scripts/automation.py screenshot --output my_screenshot.png
# 区域截图
python scripts/automation.py screenshot --output region.png --region 100,100,400,300
# 截图到剪贴板(需要安装 pywin32)
python scripts/automation.py screenshot_to_clipboard
python scripts/automation.py screenshot_to_clipboard --region 100,100,400,300
鼠标点击
Details
- Repository
- github.com/steelan9199/wechat-publisher
- Categories
- Workflow Automation, Browser Automation & Scraping
- First seen
- May 16, 2026
Similar to Pyautogui Automation
More Workflow Automation
os-useSkillzrong/skills281 installsCross-platform screen automation toolkit for screenshots, visual matching, input control, and window management on macOS and Windows.
Windows McpMCP servercursortouch12.1K starsWindows desktop automation: UI clicks, typing, app control, files, registry, and PowerShell.
computer-automationSkillweb-infra-dev/midscene-skills3.3K installsVision-driven desktop automation that controls local or remote Windows desktops from screenshots alone.
browser-automationSkillweb-infra-dev/midscene-skills6K installsVision-driven browser automation that drives headless Chrome from screenshots, not DOM labels or the user's own mouse.
agent-browserSkillvercel-labs/agent-browser1.7M installsBrowser automation CLI for AI agents that drives Chrome via accessibility-tree element refs and specialized workflows.