move

A macOS command for moving the shared mouse pointer to screen coordinates or to a user-interface element identified in a recent snapshot.

In plain words
What is it for?
Use it to move the pointer within a selected app or window, jump to an element's midpoint, switch spaces when needed, or use smooth timed movement.
Why use it?
It gives desktop automation a precise cursor target while requiring explicit permission because it changes the foreground computer interface.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/openclaw/peekaboo/move
Clone the repo
git clone --depth 1 https://github.com/openclaw/Peekaboo
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 714 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00714
Opus 5 $0.00000 $0.00357
Sonnet 5 $0.00000 $0.00143
Haiku 4.5 $0.00000 $0.00071

Measured 2d ago against content hash c6651159322a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

move scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/commands/move.md · 49 lines

How it starts

The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.

peekaboo move

move repositions the shared macOS cursor using coordinate targets or element IDs. It always affects the foreground desktop and therefore requires explicit --foreground consent.

Key options

Flag Description
--at <x,y> Coordinate target; target-relative with app/window selectors, global otherwise. Add --global for explicit screen coordinates.
--on <element-id> Jump to a Peekaboo element’s midpoint based on the latest snapshot.
--foreground Required confirmation that Peekaboo may move the shared physical cursor.
--snapshot <id> Used with --on; defaults to the most recent snapshot.
Target flags --app <name>, --pid <pid>, --window-id <id>, --window-title <title>, --window-index <n> — focus a specific app/window before moving. (--window-title/--window-index require --app or --pid; --window-id does not.)
Foreground focus flags Space switching + retries; Peekaboo aborts if a requested target cannot be focused.
--smooth Use natural eased movement with distance-aware timing.
--duration <duration> / --steps <n> Override movement timing/sample count; bare durations are milliseconds and ms/s suffixes are accepted.
--profile <linear|human> Select a movement profile. Animated moves default to human; instant moves default to linear.

Implementation notes

  • Validation enforces exactly one target: --at or --on.
  • Element-based moves reuse snapshot data via services.snapshots.getDetectionResult.
  • Smooth moves compute a bounded minimum-jerk Bézier path and track the previous cursor location so the result payload can include the travel distance.
  • --smooth, a positive --duration, or --profile human enables natural movement with distance-aware duration and sample defaults. Use --profile linear for a straight path. See docs/human-mouse-move.md for deeper guidance.
  • JSON output reports fromLocation, targetLocation, targetDescription, total distance, and run time. Element targets also include targetPoint diagnostics with the original snapshot midpoint, final resolved point, snapshot ID, and moved-window adjustment status.

Read the full file on GitHub · 49 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 49 lines · 0 tokens per session scan A c6651159322a

Subscribe to this mod's changes

move is a command published in the GitHub repository openclaw/Peekaboo (5,098 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 714 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.