AGENT SKILL

app-agent

Routes AppAgent setup, exploration, and deployment workflows for Android-device task automation.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
app-agent
license
MIT
metadata
{ "disco-role": "operating" }
description
Routes AppAgent setup, exploration, and deployment workflows for Android-device task automation.
disable-model-invocation
true

02 资源文件 8

03 SKILL.md 正文

AppAgent

AppAgent operates Android apps through ADB, screenshot/XML capture, multimodal model calls, and generated UI documentation.

Use this skill when the task is about:

  • installing or validating the AppAgent runtime prerequisites,
  • generating UI documentation through autonomous exploration or human demonstration,
  • running AppAgent against a documented app in deployment mode,
  • debugging model/config/device issues in a local checkout.

First read

  • references/setup.md for Python, adb, device/emulator, and config prerequisites.
  • references/configuration.md for the config.yaml keys and backend selection rules.
  • references/workflows.md for the high-level exploration/deployment output layout.
  • references/troubleshooting.md for the most common failures and recovery steps.
  • references/api-reference.md when you need exact helper signatures or parser behavior.

Quick preflight

Use the bundled checker before launching a real device session:

  • scripts/check_setup.py --repo-root <AppAgent checkout>
  • scripts/check_setup.py --repo-root <AppAgent checkout> --skip-adb when you only want Python/config validation.

The checker is read-only. It confirms imports, config keys, and whether adb is on PATH.

Route map

Setup and readiness

Use the setup references and scripts/check_setup.py when the request is about:

  • installing dependencies,
  • editing config.yaml,
  • choosing OpenAI versus Qwen,
  • connecting a phone or emulator,
  • deciding where generated apps/ and tasks/ folders should live.

Exploration

Use sub-skills/exploration/SKILL.md when the request is about:

  • autonomous exploration,
  • human demonstration capture,
  • generating or refining UI docs,
  • understanding the output under apps/<app>/auto_docs/ or apps/<app>/demo_docs/.

The exploration launcher lives at:

  • sub-skills/exploration/scripts/start_exploration.py

Deployment

Use sub-skills/deployment/SKILL.md when the request is about:

  • running a task against an app that already has docs,
  • selecting between auto and demo docs,
  • interpreting task logs and deployment outcomes,
  • handling no-doc fallback decisions.

The deployment launcher lives at:

  • sub-skills/deployment/scripts/start_deployment.py

Common operating assumptions

  • AppAgent expects a live Android device or emulator plus adb.
  • The repo stores generated outputs under apps/ and tasks/ relative to the chosen root_dir.
  • The repository is script-driven; the helpers and references in this skill are the public runtime contract.
  • YAML config values are the effective source of truth for runtime settings.

If something fails

  • Check references/troubleshooting.md first.
  • If the device is unavailable, fix the host/device layer before retrying the Python checks.
  • If the multimodal backend or parser fails, inspect the raw logs in the generated tasks/ or apps/<app>/demos/ tree.
  • If grid swipes behave oddly, remember the current precise-swipe bug and prefer the safer path until it is patched.

What this skill does not do

  • It does not train a new model.
  • It does not replace the user's Android device or emulator.
  • It does not assume the repo checkout is packaged as an installable Python distribution.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351