Pywayne Gui

Windows GUI automation toolkit for global hotkeys and window management. Use when users need to register global hotkeys, find/control windows, automate GUI operations, or perform Windows desktop automation. Requires Windows OS with pywin32, pyuserinput, and pyautogui dependencies.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add wangyendt/wayne-skills --skill pywayne-gui
Manual install
git clone --depth 1 https://github.com/wangyendt/wayne-skills.git /tmp/wayne-skills
mkdir -p ~/.claude/skills
cp -r /tmp/wayne-skills/pywayne/gui ~/.claude/skills/pywayne-gui

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Pywayne Gui

Windows 图形用户界面自动化工具,提供全局热键监听和窗口操作功能。

## Quick Start

```python
from pywayne.gui import GlobalHotKeys, GuiOperation

# 全局热键
g = GlobalHotKeys()

@g.register(GlobalHotKeys.VK_F1, GlobalHotKeys.MOD_SHIFT)
def shift_f1():
    print('Shift+F1 被按下')

# 启动监听(按 Q 或 Ctrl+C 退出)
GlobalHotKeys.listen()
```

## Dependencies

| 包 | 用途 | 安装命令 |
|------|------|----------|
| pywin32 | Windows API 封装 | `pip install pywin32` |
| pyuserinput | 键盘鼠标输入 | `pip install pyuserinput` |
| pyautogui | GUI 自动化 | `pip install pyautogui` |

## GlobalHotKeys - 全局热键

注册全局热键,在全局范围内监听键盘事件。

### 注册热键

```python
from pywayne.gui import GlobalHotKeys

g = GlobalHotKeys()

# 装饰器方式注册
@g.register(GlobalHotKeys.VK_F1, GlobalHotKeys.MOD_SHIFT)
def shift_f1():
    print('Shift+F1')

# 组合键修饰符(支持组合使用)
g.register(GlobalHotKeys.VK_F1, GlobalHotKeys.MOD_CTRL | GlobalHotKeys.MOD_SHIFT)

# 直接调用 register 方法
def handler():
    print('Ctrl+A 被按下')
GlobalHotKeys.register(GlobalHotKeys.VK_A, GlobalHotKeys.MOD_CTRL, handler)
```

### 启动监听

```python
# 启动消息循环,开始监听热键
GlobalHotKeys.listen()
```

### 停止条件

按以下任意组合键会停止监听循环:
- `Q` 键
- `Ctrl + C`

### 虚拟键码

**常用虚拟键码**(`VK_*`):

| 按键 | 键码 | 组合键 |
|------|------|--------|
| A-Z | `VK_A` 到 `VK_Z` | `ord('A')` 到 `ord('Z')` |
| 0-9 | `VK_0` 到 `VK_9` | `ord('0')` 到 `ord('9')` |
| F1-F12 | `VK_F1` 到 `VK_F12` | - |

**修饰键**(`MOD_*`):

| 修饰键 | 常量 |
|------|------|
| Alt | `MOD_ALT` |
| Ctrl | `MOD_CTRL` |
| Shift | `MOD_SHIFT` |
| Win | `MOD_WIN` |
Read the full skill on GitHub

Details

Skill name
pywayne-gui
Path
pywayne/gui/SKILL.md
License
MIT
Repo updated
23 October 2026

FAQ

What does the Pywayne Gui skill do?

Windows GUI automation toolkit for global hotkeys and window management. Use when users need to register global hotkeys, find/control windows, automate GUI operations, or perform Windows desktop automation. Requires Windows OS with pywin32, pyuserinput, and pyautogui dependencies.

How do I install the Pywayne Gui skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add wangyendt/wayne-skills --skill pywayne-gui. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Pywayne Gui popular?

It lives in wangyendt/wayne-skills, which has 9 GitHub stars and 0 forks.

Related skills

Alapi

9

wangyendt/wayne-skills

Comprehensive ALAPI skill covering the full bundled ALAPI OpenAPI catalog. Use when the user mentions ALAPI, alapi, ALAPI_TOKEN, openapi.json, or an ALAPI path like /api/..., or asks to find which ALAPI API matches a business need, choose between similar ALAPI endpoints, explain request fields, prepare or execute a request, or troubleshoot an ALAPI response. Covers inspirational content, articles, news and hotlists, AI chat/translation/NLP, OCR and document recognition, weather and calendar data, IP/phone/ID/domain/ICP/enterprise lookup and verification, finance/exchange/gold/oil/crypto market

Writing & Content

Android App Publisher

9

wangyendt/wayne-skills

Build or publish standalone Android APKs to an authenticated OSS distribution service, update the latest release, list published apps, and generate stable download links and QR codes. Use for Android app sharing and release management, not generic OSS operations or app-store uploads.

Mobile Development

Awesome Docs

9

wangyendt/wayne-skills

Use this skill whenever the user asks to record, organize, update, or maintain project documentation, including architecture overviews and decisions, technical books and derivations, API/protocol/configuration references, implementation plans, roadmaps, todos, risks, experiments, know-how, or common commands. Choose paths and naming by document purpose, preserve existing canonical locations, and check links when reorganizing. Defaults to the target project’s docs directory unless the user specifies another location. Covers reader-first technical explanations and interactive HTML documents as w

Writing & Content

Release Notes

9

tarunccet/pm-skills

Generate user-facing release notes from tickets, PRDs, or changelogs. Creates clear, engaging summaries organized by category (new features, improvements, fixes). Use when writing release notes, creating changelogs, announcing product updates, or summarizing what shipped.

Productivity & Notes

Meeting Prep

9

tarunccet/pm-skills

Prepare for any PM meeting — 1:1s, stakeholder alignments, leadership reviews, and cross-functional planning sessions with structured talking points, anticipated questions, and success criteria. Use when preparing for a meeting, building an agenda, or anticipating stakeholder questions.

Productivity & Notes

Send Email

9

wangyendt/wayne-skills

Send emails via SMTP with support for HTML formatting, file attachments, and email templates. Use when users ask to: (1) Send an email, (2) Email someone, (3) Send a notification, (4) Use email templates, or (5) Send files via email.

Productivity & Notes

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.