什么是 desktop-control?
通过辅助功能控制鼠标、键盘并读取屏幕内容。当用户要求单击屏幕上的某个位置、在应用程序中键入文本、移动鼠标、按键盘快捷键、阅读屏幕上的内容、获取当前窗口的辅助功能树、自动化桌面交互或控制计算机时,请使用此技能。 来源:dalehurley/phpbot。
通过辅助功能控制鼠标、键盘并读取屏幕内容。当用户要求单击屏幕上的某个位置、在应用程序中键入文本、移动鼠标、按键盘快捷键、阅读屏幕上的内容、获取当前窗口的辅助功能树、自动化桌面交互或控制计算机时,请使用此技能。
通过命令行快速安装 desktop-control AI 技能到你的开发环境
来源:dalehurley/phpbot。
IMPORTANT: This skill requires Accessibility permissions for the terminal/IDE. On macOS, go to System Settings > Privacy & Security > Accessibility and enable the running application.
| scripts/mouse.py | Python | Mouse movement, clicking, dragging, scrolling | | scripts/keyboard.py | Python | Text typing, key presses, hotkeys | | scripts/screen.py | Python | Screen info, capture, accessibility tree reading |
| action | Yes | move, click, doubleclick, rightclick, drag, scroll | click | | x | For most | X coordinate (pixels from left) | 500 | | y | For most | Y coordinate (pixels from top) | 300 | | button | No | Mouse button: left (default), right, middle | left | | tox | For drag | Destination X coordinate | 700 |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/dalehurley/phpbot --skill desktop-control通过辅助功能控制鼠标、键盘并读取屏幕内容。当用户要求单击屏幕上的某个位置、在应用程序中键入文本、移动鼠标、按键盘快捷键、阅读屏幕上的内容、获取当前窗口的辅助功能树、自动化桌面交互或控制计算机时,请使用此技能。 来源:dalehurley/phpbot。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dalehurley/phpbot --skill desktop-control 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/dalehurley/phpbot