Token导航 LogoToken导航TokenDH.com
待分类只读github未标认证来源可访问许可证需确认审计提醒

weavguiweavgui 命令行

Agent Skill

weavgui 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

423

周安装

18

GitHub Stars

7

下载量

148
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:weavgui(weavgui 命令行)
来源仓库:https://github.com/yankeguo/weavgui
仓库路径:skills/weavgui
安装命令:
npx skills add https://github.com/yankeguo/weavgui --skill weavgui
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/yankeguo/weavgui --skill weavgui

简介

weavgui 命令行用于处理 GitHub 仓库、Issue 和 Pull Request 相关信息,支持协作管理。

  • 适用于 Codex、Claude、Cursor、Gemini CLI 等环境中的仓库状态跟踪和代码变更整理。
  • 通过 npx skills add 命令从指定仓库安装,便于技能扩展。
  • 安装前需确认项目是否使用 GitHub 工作流,避免流程冲突。
  • 主要功能包括 Issue 处理和 PR 审查,不涉及直接代码修改或部署。

SKILL.md

Skill: weavgui Desktop Automation

Installation

uv tool install weavgui

Verify:

weavgui --version
macOS requirement: mouse and keystroke automation requires Accessibility permission. Grant it at: System Settings > Privacy & Security > Accessibility

Auto-Screenshot Behavior

Every action command automatically captures a screenshot to screenshot.png in the current working directory.

For workflow purposes, treat screenshot.png as ready immediately when each command exits; do not add extra waiting steps.

After each command, read screenshot.png as an image to observe the current state of the screen.


Coordinate System

All mouse and screenshot commands share the same coordinate space:

  • Normalized coordinates: values range from 0.0 to 1.0
  • Origin (0.0, 0.0) is the top-left of the primary display
  • Bottom-right is (1.0, 1.0)
  • x increases to the right, y increases downward
  • x is a fraction of screen width, y is a fraction of screen height
  • Single-display only (primary monitor)

Core Commands

Screenshot

weavgui screenshot

Always saves to screenshot.png in the current working directory. Always draws cursor markers:

  • Red crosshair lines
  • Red small box (normalized radius 0.03)
  • Green medium box (normalized radius 0.07)
  • Blue large box (normalized radius 0.20)

The three concentric boxes are positioning references — use them to gauge how far to move the mouse next:

Target locationDelta range
Inside red boxFine: ±0.03
Between red and greenMedium: ±0.03–0.07
Between green and blueCoarse: ±0.07–0.20
Outside blue boxLarge move — estimate from full screenshot

The command also prints the current mouse position in normalized coordinates to stdout.

Mouse Move

weavgui mouse move '(dx,dy)'

Moves the mouse by a relative delta in normalized coordinates. The argument uses (dx,dy) format — negative values work naturally. Fails if the target would leave the valid range [0.0, 1.0). Prints the start position, end position, and delta to stdout. Automatically saves a screenshot to screenshot.png.

Mouse Move To

weavgui mouse moveto '(x,y)'

Moves the mouse to an absolute normalized position. Fails if the position is outside the valid range [0.0, 1.0). Automatically saves a screenshot to screenshot.png.

Mouse Click

weavgui mouse click         # left click
weavgui mouse doubleclick   # double left click
weavgui mouse rightclick    # right click

All clicks happen at the current cursor position. A screenshot is automatically saved to screenshot.png.

Keystroke

weavgui keystroke <keys>

Examples: c, ctrl+c, command+c, shift+a, command+z

A screenshot is automatically saved to screenshot.png.

Pasteboard

weavgui pasteboard write <text...>   # write to clipboard
weavgui pasteboard read              # read from clipboard

Critical Workflow: Precise Mouse Positioning

Never guess a target coordinate and click immediately. Never perform a blind click.

Before any click action (click, doubleclick, rightclick), require a move-then-verify confirmation that the cursor is truly on target. This avoids false assumptions where the pointer did not move exactly as expected.

Minimum confirmation standard:

  • After every mouse move, the auto-screenshot is already written when the command exits; read screenshot.png immediately.
  • Verify from that screenshot that the crosshair center is on the target.
  • Never click immediately after a move command without loading and analyzing the auto-screenshot first.
  • If verification is uncertain, do not click. Continue the move-and-verify loop.

mouse move accepts relative deltas; mouse moveto accepts absolute coordinates — both in normalized form (0.0–1.0). The correct approach is an iterative positioning loop:

screenshot → analyze image → move mouse → (auto-screenshot) → analyze image → move mouse → ... → click

Step-by-step

  1. Take a screenshot and read the image into context: weavgui screenshot Then read screenshot.png as an image attachment.
  2. Analyze the screenshot: Identify the target UI element. Read the cursor marker position from the stdout output (printed automatically). Use the three reference boxes to gauge your delta:

- Target inside the red box (radius 0.03) → fine delta, within ±0.03 - Target inside the green box (radius 0.07) → medium delta, within ±0.07 - Target inside the blue box (radius 0.20) → coarse delta, within ±0.20 - Target outside the blue box → large move, estimate from the full screenshot

  1. Move the mouse: weavgui mouse move '(dx,dy)' When mouse move exits, its auto-screenshot is already available at screenshot.png. Read it immediately.
  2. Verify position: Check that the crosshair (red lines) is now centered on the target. If not, repeat from step 2 with a corrected delta.
  3. Click only after the post-move screenshot is loaded and verified (no blind click): # after mouse move, read auto-captured screenshot.png and verify target alignment weavgui mouse click When mouse click exits, its auto-screenshot is already available at screenshot.png. Read it to confirm the action took effect.

Why this loop matters

  • Even with mouse moveto, you need to know the target's normalized position — which requires a screenshot to determine.
  • Screen content, window positions, and scroll state can all shift between steps.
  • Even a single iteration of screenshot → analyze → move can land the cursor accurately.
  • For high-precision targets (small buttons, text fields), two or three iterations are typical.

Example: clicking a button labeled "Submit"

# Step 1: initial screenshot
weavgui screenshot
# → read screenshot.png, observe crosshair at (0.2604, 0.3704), Submit button at approx (0.3750, 0.5648)
# → estimate dx=0.1146, dy=0.1944

# Step 2: move toward target (auto-screenshot is ready when command exits)
weavgui mouse move '(0.1146,0.1944)'
# → read screenshot.png, crosshair now at (0.3750, 0.5630) — close enough

# Step 3: click (auto-screenshot is ready when command exits)
weavgui mouse click
# → read screenshot.png to confirm the click took effect

Delegate to a Subagent

The iterative positioning loop loads multiple screenshots into context, which can consume significant tokens. When possible, launch a subagent (Task tool) to perform the entire positioning-and-click sequence, keeping the main conversation context clean.

How to delegate

Use the Task tool with a prompt that describes:

  1. The target element (e.g. "the Submit button in the bottom-right of the dialog")
  2. The action to perform once positioned (e.g. mouse click, mouse doubleclick)
  3. Any follow-up actions (e.g. type text, press a key)

Example prompt for the Task tool:

Use the weavgui CLI to click the "Submit" button visible on screen.

Workflow:
1. Run `weavgui screenshot`, then read screenshot.png as an image.
2. Identify the "Submit" button. Read the crosshair position from stdout.
3. Estimate (dx, dy) from the crosshair to the button center, run `weavgui mouse move '(dx,dy)'`.
4. Read `screenshot.png` right after command exit, verify the crosshair is on the button. Adjust if needed.
5. Run `weavgui mouse click`.
6. Read `screenshot.png` right after command exit to confirm the click took effect.

Return a summary of what happened and the final mouse position.

Benefits

  • Saves main context: screenshots stay inside the subagent and are discarded when it finishes.
  • Isolation: if the loop takes many iterations, the main conversation is unaffected.
  • Composability: you can launch multiple subagents in sequence (e.g. one to click a field, another to type text) without accumulating images.

When NOT to delegate

  • If you only need a single screenshot for analysis (no mouse interaction), just run the command directly.
  • If the task is a single click where you are already confident about the position.

Text Input Workflow

To type text into a focused field:

  1. Click the target field (using the positioning loop above)
  2. Optionally select all existing text: weavgui keystroke command+a
  3. Write new text to the pasteboard: weavgui pasteboard write <your text>
  4. Paste: weavgui keystroke command+v
weavgui mouse click
weavgui keystroke command+a
weavgui pasteboard write Hello World
weavgui keystroke command+v

Tips

  • Every action command auto-captures screenshot.png — always read it after each command to observe the result.
  • Always prefer the iterative screenshot loop over single-shot coordinate estimation.
  • Never blind-click: after any mouse move, always read and analyze the auto-screenshot before any click.
  • After any keyboard shortcut that changes screen state (e.g. command+z, return), read screenshot.png immediately after command exit before proceeding.
  • The stdout output of every command includes the current mouse position in normalized coordinates — use this as a precise anchor for the next delta calculation.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.36%
按下载量换算49

Claude

30.76%
按下载量换算46

Cursor

20.01%
按下载量换算30

Gemini CLI

9.26%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills