键鼠控制

mouse-keyboard

by calvin-dean

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

4.4k其他未扫描2026年3月30日

安装

claude skill add --url https://github.com/openclaw/skills

文档

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

相关 Skills

Claude API

by anthropic

热门

Build, debug, and optimize Claude API / Anthropic SDK apps. Apps built with this skill should include prompt caching. Also handles migrating existing Claude API code between Claude model versions (4.5 → 4.6, 4.6 → 4.7, retired-model replacements). TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`; user asks for the Claude API, Anthropic SDK, or Managed Agents; user adds/modifies/tunes a Claude feature (caching, thinking, compaction, tool use, batch, files, citations, memory) or model (Opus/Sonnet/Haiku) in a file; questions about prompt caching / cache hit rate in an Anthropic SDK project. SKIP: file imports `openai`/other-provider SDK, filename like `*-openai.py`/`*-generic.py`, provider-neutral code, general programming/ML.

其他
安全124.4k

并行代理

by axelhu

热门

Use when facing 2 or more independent tasks that can be worked on without shared state - dispatches parallel subagents using sessions_spawn for concurrent investigation and execution, adapted for OpenClaw

其他
未扫描4.4k

高光制作器

by bwbernardweston18

热门

>

其他
未扫描4.4k

评论