install
source · Clone the upstream repo
git clone https://github.com/lotosbin/claude-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/lotosbin/claude-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/screen-click" ~/.claude/skills/lotosbin-claude-skills-screen-click && rm -rf "$T"
manifest:
.claude/skills/screen-click/Skill.mdsource content
Screen Click Skill (屏幕点击)
描述
执行屏幕点击操作,支持单击、双击、右键点击和拖拽。
使用方式
请点击屏幕位置 (100, 200) 请在坐标 500, 300 处双击 右键点击 800, 600 拖拽从 (100, 100) 到 (500, 500)
参数说明
| 参数 | 说明 | 示例 |
|---|---|---|
| x, y | 屏幕坐标(像素) | |
| click_type | 点击类型 | // |
| drag_start | 拖拽起始坐标 | |
| drag_end | 拖拽结束坐标 | |
坐标获取
使用
screen-capture 技能可以获取屏幕截图并识别坐标位置。
技术实现
- pyautogui: 跨平台鼠标控制
- 坐标系统: 左上角为 (0,0),向右向下递增