# Send UI Element Ops to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "ui-element-ops",
    "name": "UI Element Ops",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/murongg/ui-element-ops",
    "canonicalUrl": "https://clawhub.ai/murongg/ui-element-ops",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/ui-element-ops",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ui-element-ops",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "scripts/run_parse_ui.sh",
      "scripts/operate_ui.py",
      "scripts/bootstrap_omniparser_env.sh",
      "scripts/parse_ui.py",
      "scripts/capture_and_parse.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "ui-element-ops",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T06:28:57.359Z",
      "expiresAt": "2026-05-11T06:28:57.359Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ui-element-ops",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=ui-element-ops",
        "contentDisposition": "attachment; filename=\"ui-element-ops-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "ui-element-ops"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/ui-element-ops"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/ui-element-ops",
    "downloadUrl": "https://openagent3.xyz/downloads/ui-element-ops",
    "agentUrl": "https://openagent3.xyz/skills/ui-element-ops/agent",
    "manifestUrl": "https://openagent3.xyz/skills/ui-element-ops/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/ui-element-ops/agent.md"
  }
}
```
## Documentation

### UI Element Ops

Parse one or more screenshots into a machine-readable JSON schema with:

type (normalized UI element type)
bbox_px and bbox_norm
text (OCR/caption content when available)
clickable flag
optional overlay image with labeled boxes
desktop actions via scripts/operate_ui.py (click/type/key/hotkey/screenshot)
element query and orchestration via scripts/operate_ui.py (find, wait)
coordinate calibration profile for multi-display/DPI/window offset (calibrate)

### Quick Start

Prepare runtime once per machine:

skills/ui-element-ops/scripts/bootstrap_omniparser_env.sh "$PWD"

Parse one screenshot:

skills/ui-element-ops/scripts/run_parse_ui.sh /abs/path/to/1.jpeg

Read outputs:

<image>.elements.json
<image>.overlay.png

One-step capture + parse with randomized names:

skills/ui-element-ops/scripts/capture_and_parse.sh

### Workflow

Confirm screenshot path and desired output path.
Run scripts/bootstrap_omniparser_env.sh when .venv or OmniParser weights are missing.
Run scripts/run_parse_ui.sh for standard parsing.
Report absolute output paths and summary counts: total, clickable, by_type.
Call out obvious quality risks for tiny text or dense icon layouts.
Execute desktop actions when requested:

list elements: python3 skills/ui-element-ops/scripts/operate_ui.py list --elements <json>
find elements: python3 skills/ui-element-ops/scripts/operate_ui.py find --elements <json> --type button --text-contains login
wait for appear/disappear: python3 skills/ui-element-ops/scripts/operate_ui.py wait --elements <json> --state appear --text-contains continue
click by id: python3 skills/ui-element-ops/scripts/operate_ui.py click --elements <json> --id e_0001
screenshot: python3 skills/ui-element-ops/scripts/operate_ui.py screenshot (defaults to user tmp dir)
calibrate coordinates: python3 skills/ui-element-ops/scripts/operate_ui.py calibrate --parsed-size <w> <h> --actual-size <w> <h>

### Tunables

Edit type mapping keywords in references/type_rules.example.json.
Use advanced parser args via scripts/parse_ui.py --help.
Use --use-paddleocr only when paddleocr/paddlepaddle are installed.

### Outputs

Main JSON output:

schema_version, pipeline, image, counts, elements
each element has id, type, bbox_px, bbox_norm, text, clickable


Overlay PNG output:

same screenshot with labeled detection boxes

### Failure Handling

Missing dependencies or weights: run bootstrap script again.
Permission/cache errors under $HOME: keep temporary caches under /tmp (handled by run script).
CPU-only machine: expect slower inference.
Performance note: parse/capture-and-parse commands are heavy; avoid very tight loops and reuse recent elements.json when possible.
Headless environment limitation:

usable without GUI: parse/list/find/wait/calibrate on existing files.
requires GUI session: click/click-xy/type/key/hotkey/screenshot/screen-info.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: murongg
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T06:28:57.359Z
- Expires at: 2026-05-11T06:28:57.359Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/ui-element-ops)
- [Send to Agent page](https://openagent3.xyz/skills/ui-element-ops/agent)
- [JSON manifest](https://openagent3.xyz/skills/ui-element-ops/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/ui-element-ops/agent.md)
- [Download page](https://openagent3.xyz/downloads/ui-element-ops)