Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

android-emulator-skill安卓模拟器技巧

Agent Skill

android-emulator-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,613

周安装

311

GitHub Stars

772

下载量

2,463
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill android-emulator-skill

简介

采用无障碍驱动导航替代坐标点击,实现跨平台安卓应用自动化控制。

  • 提供屏幕元素映射、文本输入与按钮点击等基础交互能力。
  • 支持 Python 脚本调用,便于集成到自定义工作流中。
  • 需运行健康检查脚本确认模拟器状态,避免因环境异常导致任务失败。
  • android-emulator-skill 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Android Emulator Skill

Build, test, and automate Android applications using accessibility-driven navigation and structured data instead of pixel coordinates.

Quick Start

# 1. Check environment (use .sh on macOS/Linux, .ps1 on Windows)
bash scripts/emu_health_check.sh
# or on Windows: .\scripts\emu_health_check.ps1

# 2. Launch app
python scripts/app_launcher.py --launch com.example.app

# 3. Map screen to see elements
python scripts/screen_mapper.py

# 4. Tap button
python scripts/navigator.py --find-text "Login" --tap

# 5. Enter text
python scripts/navigator.py --find-type EditText --enter-text "user@example.com"

All scripts support --help for detailed options and --json for machine-readable output.

Production Scripts

Build & Development

  1. build_and_test.py - Build Android projects, run tests, parse results

- Wrapper around Gradle - Support for assemble, install, and connectedCheck - Parse build errors and test results - Options: --task, --clean, --json

  1. log_monitor.py - Real-time log monitoring with intelligent filtering

- Wrapper around adb logcat - Filter by tag, priority, or PID - Deduplicate repeated messages - Options: --package, --tag, --priority, --duration, --json

Navigation & Interaction

  1. screen_mapper.py - Analyze current screen and list interactive elements

- Dump UI hierarchy using uiautomator - Parse XML to identify buttons, text fields, etc. - Options: --verbose, --json

  1. navigator.py - Find and interact with elements semantically

- Find by text (fuzzy matching), resource-id, or class name - Interactive tapping and text entry - Options: --find-text, --find-id, --tap, --enter-text, --json

  1. gesture.py - Perform swipes, scrolls, and other gestures

- Swipe up/down/left/right - Scroll lists - Options: --swipe, --scroll, --duration, --json

  1. keyboard.py - Key events and hardware buttons

- Input key events (Home, Back, Enter, Tab) - Type text via ADB - Options: --key, --text, --json

  1. app_launcher.py - App lifecycle management

- Launch apps (adb shell am start) - Terminate apps (adb shell am force-stop) - Install/Uninstall APKs - List installed packages - Options: --launch, --terminate, --install, --uninstall, --list, --json

Emulator Lifecycle Management

  1. emulator_manage.py - Manage Android Virtual Devices (AVDs)

- List available AVDs - Boot emulators - Shutdown emulators - Options: --list, --boot, --shutdown, --json

  1. emu_health_check - Verify environment is properly configured

- Use emu_health_check.sh on macOS/Linux and emu_health_check.ps1 on Windows - Check ADB, Emulator, Java, Gradle, ANDROID_HOME - List connected devices

Common Patterns

Auto-Device Detection: Scripts target the single connected device/emulator if only one is present, or require -s <serial> if multiple are connected.

Output Formats: Default is concise human-readable output. Use --json for machine-readable output.

Requirements

  • Android SDK Platform-Tools (adb, fastboot)
  • Android Emulator
  • Java / OpenJDK
  • Python 3

Key Design Principles

Semantic Navigation: Find elements by text, resource-id, or content-description.

Token Efficiency: Concise default output with optional verbose and JSON modes.

Zero Configuration: Works with standard Android SDK installation.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39.12%
按下载量换算964

Claude

30.67%
按下载量换算755

Cursor

17.34%
按下载量换算427

Gemini CLI

9.83%
按下载量换算242

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/new-silvermoon/awesome-android-agent-skills --skill android-emulator-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills