AGENT SKILL

find_element

Trouve un élément UI par description sémantique (ex:"bouton Envoyer", "champ recherche") via l'arbre AX macOS — sans coordonnées fixes

License 许可
MIT
所属仓库
AMFbot-Gz/LaRuche
最近更新
2026-03-19
Stars
★ 0
Forks
1

01 前言 Front Matter

name
find_element
tags
[ "accessibility", "semantic", "ui", "computer-use", "find", "element" ]
version
1.0.0
description
Trouve un élément UI par description sémantique (ex:"bouton Envoyer", "champ recherche") via l'arbre AX macOS — sans coordonnées fixes

02 资源文件 4

03 SKILL.md 正文

find_element

Recherche sémantique d'éléments UI dans l'app de premier plan. Utilise l'API Accessibility macOS (AX tree) pour trouver n'importe quel élément par description textuelle.

Params

  • query (string, requis) : description de l'élément ex: "bouton Envoyer", "champ recherche", "fermer"
  • app (string, optionnel) : app cible
  • threshold (float, optionnel) : seuil de confiance 0.0-1.0. Défaut: 0.3

Retour

{ "found": true, "title": "Envoyer", "role": "button", "x": 460, "y": 380, "confidence": 0.9 }

04 同仓库更多 Skills