返回顶部
c

claw-mouse爪鼠控制

Control a Linux X11 desktop by taking screenshots and moving/clicking/typing via xdotool + scrot.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
717
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

claw-mouse

技能名称: claw-mouse
详细描述:

claw-mouse

该技能为 Linux X11 提供了一个小巧、可脚本化的桌面 GUI 控制辅助工具。

它适用于“视觉循环”自动化:
1) 截取屏幕截图
2) 决定点击位置
3) 移动/点击/输入
4) 重复

底层封装了以下工具:

  • - scrot 用于截图
  • xdotool 用于鼠标/键盘/窗口控制

文件

  • - desktopctl.py — CLI 脚本

系统要求

  • - 运行 X11 的 Linux 系统(非仅 Wayland)
  • python3
  • xdotool
  • scrot

Ubuntu/Debian:
bash
sudo apt-get update
sudo apt-get install -y xdotool scrot

使用方法

从该技能目录执行:

bash
python3 desktopctl.py screenshot
python3 desktopctl.py click 500 300
python3 desktopctl.py type hello
python3 desktopctl.py key ctrl+l
python3 desktopctl.py windows
python3 desktopctl.py activate Chromium

DISPLAY / XAUTHORITY

如果在未设置 DISPLAY 的守护进程/无头 shell 中运行:

bash
DISPLAY=:0 XAUTHORITY=$HOME/.Xauthority python3 desktopctl.py screenshot

或使用参数:

bash
python3 desktopctl.py --display :0 --xauthority $HOME/.Xauthority screenshot

安全提示

此工具可操作真实桌面会话中的点击和输入,请谨慎使用。

更新日志

  • - 0.1.0:初始发布的技能版本。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 claw-mouse-1776419969 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 claw-mouse-1776419969 技能

通过命令行安装

skillhub install claw-mouse-1776419969

下载

⬇ 下载 claw-mouse v0.1.0(免费)

文件大小: 3.18 KB | 发布时间: 2026-4-17 18:59

v0.1.0 最新 2026-4-17 18:59
Initial published skill

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部