Agent SkillsA-EVO-Lab/a-evolve › gui-navigation

gui-navigation

GitHub

提供桌面环境GUI导航通用模式,涵盖通过无障碍树定位元素、菜单操作、对话框处理、窗口管理及滚动技巧,旨在提升自动化交互的准确性与稳定性。

seed_workspaces/osworld/skills/gui-navigation/SKILL.md A-EVO-Lab/a-evolve

Trigger Scenarios

需要模拟点击或操作桌面应用程序界面 处理GUI元素的查找与交互逻辑

Install

npx skills add A-EVO-Lab/a-evolve --skill gui-navigation -g -y
More Options

Non-standard path

npx skills add https://github.com/A-EVO-Lab/a-evolve/tree/main/seed_workspaces/osworld/skills/gui-navigation -g -y

Use without installing

npx skills use A-EVO-Lab/a-evolve@gui-navigation

指定 Agent (Claude Code)

npx skills add A-EVO-Lab/a-evolve --skill gui-navigation -a claude-code -g -y

安装 repo 全部 skill

npx skills add A-EVO-Lab/a-evolve --all -g -y

预览 repo 内 skill

npx skills add A-EVO-Lab/a-evolve --list

SKILL.md

Frontmatter
{
    "name": "gui-navigation",
    "description": "General GUI navigation patterns for desktop environments — finding elements, interacting with menus, and handling dialogs."
}

GUI Navigation Patterns

Finding UI elements

  • Read the accessibility tree (a11y_tree) first — it lists all interactive elements with roles and labels
  • Match elements by role (button, menuitem, textbox) + name/label text
  • If a11y_tree is ambiguous, use screenshot coordinates as fallback

Menu navigation

  • Most apps: click menu bar item → submenu appears → click target
  • LibreOffice: Menu bar is always at top (File, Edit, View, Insert, Format, ...)
  • GIMP: Right-click canvas for context menu; Filters/Colors/Tools in menu bar
  • Chrome: Three-dot menu (top-right) for settings, extensions, history

Dialog handling

  • File dialogs: type path directly in the filename field instead of navigating folders
  • Confirmation dialogs: look for OK/Save/Yes buttons — don't dismiss with Escape unless intentional
  • If dialog blocks interaction, it must be handled before continuing

Window management

  • Alt+Tab: switch between windows
  • Alt+F4: close current window
  • If app is behind another window, click its taskbar icon

Scrolling

  • pyautogui.scroll(-3) to scroll down, scroll(3) to scroll up
  • Some elements need to be scrolled into view before clicking
  • For long lists: scroll incrementally and re-check a11y_tree each time

Common pitfalls

  • Clicking coordinates from a11y_tree that are offscreen — scroll first
  • Double-clicking when single-click is needed (or vice versa)
  • Not waiting for UI to update after an action — use time.sleep(1-2)

Version History

  • c9d4789 Current 2026-07-25 07:28

Same Skill Collection

artifacts/tb2_clawcode_opus46/skills/build-compiled-extensions/SKILL.md
artifacts/tb2_clawcode_opus46/skills/debug-and-fix/SKILL.md
artifacts/tb2_clawcode_opus46/skills/environment-discovery/SKILL.md
artifacts/tb2_clawcode_opus46/skills/python-data-analysis/SKILL.md
artifacts/tb2_clawcode_opus46/skills/scientific-computing/SKILL.md
artifacts/tb2_clawcode_opus46/skills/self-verification/SKILL.md
artifacts/tb2_clawcode_opus46/skills/systematic-exploration/SKILL.md
seed_workspaces/mcp_mh/.claude/skills/harness-optimizer/SKILL.md
seed_workspaces/osworld/skills/application-shortcuts/SKILL.md
seed_workspaces/osworld/skills/gui-click-over-keyboard/SKILL.md
seed_workspaces/osworld/skills/screenshot-analysis/SKILL.md
seed_workspaces/osworld/skills/self-verification/SKILL.md
seed_workspaces/osworld/skills/web-access-strategies/SKILL.md
seed_workspaces/skillbench/skills/data-formats/SKILL.md
seed_workspaces/skillbench/skills/environment-discovery/SKILL.md
seed_workspaces/skillbench/skills/python-packages/SKILL.md
seed_workspaces/skillbench/skills/skill-usage/SKILL.md
seed_workspaces/terminal/skills/build-compiled-extensions/SKILL.md
seed_workspaces/terminal/skills/debug-and-fix/SKILL.md
seed_workspaces/terminal/skills/environment-discovery/SKILL.md
seed_workspaces/terminal/skills/scientific-computing/SKILL.md
seed_workspaces/terminal/skills/self-verification/SKILL.md

Metadata

Files
0
Version
88190c6
Hash
112a9d01
Indexed
2026-07-25 07:28

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 08:22
浙ICP备14020137号-1 $Гость$