AI & Integration v1.0.0

mouse-keyboard

Control mouse and keyboard on Mac using cliclick. Use when you need to automate clicking, typing, or controlling the...

calvin 更新于 2026-03-22 1 浏览
下载 SKILL

技能说明

Control mouse and keyboard on Mac using cliclick. Use when you need to automate clicking, typing, or controlling the mouse cursor.

使用场景

Use cliclick tool for mouse/keyboard automation on Mac.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/mouse-keyboard
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 25 kB
SKILL.md text/markdown
---
name: mouse-keyboard
description: Control mouse and keyboard on Mac using cliclick. Use when you need to automate clicking, typing, or controlling the mouse cursor.
---

# Mouse & Keyboard Control

Use `cliclick` tool for mouse/keyboard automation on Mac.

## Tools

### exec

Use `exec` to run cliclick commands.

## Available Commands

- `c:X,Y` - Click at coordinates X,Y
- `c:~100,~200` - Click at relative position
- `w:500` - Wait 500ms
- `t:hello` - Type "hello"
- `kd:cmd` - Key down command
- `ku:cmd` - Key up command
- `p:return` - Press return/enter
- `p:space` - Press space
- `p:tab` - Press tab
- `m:X,Y` - Move mouse to X,Y
- `dp` - Double click
- `rc:X,Y` - Right click at X,Y

## Common Workflows

### Click at position
```bash
cliclick c:500,300
```

### Type text
```bash
cliclick t:Hello World
```

### Click and type
```bash
cliclick c:500,300 && cliclick t:username
```

### Keyboard shortcut
```bash
cliclick kd:cmd ku:cmd  # Press cmd
```

### Move and click
```bash
cliclick m:100,100 && cliclick c:100,100
```

## Getting Coordinates

Use `cliclick p` to print current mouse position, or use macOS screenshot tool (Shift+Cmd+4) to get coordinates.

## Notes

- Coordinates are screen-based (0,0 is top-left)
- Use `osascript` for more complex keyboard operations
- Combine with `sleep` for timing

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。