AGENT SKILL

deployment

Guides AppAgent's task-execution phase that uses generated docs to operate an Android app.

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

01 前言 Front Matter

name
deployment
license
MIT
metadata
{ "disco-role": "operating" }
description
Guides AppAgent's task-execution phase that uses generated docs to operate an Android app.
disable-model-invocation
true

02 资源文件 3

03 SKILL.md 正文

Deployment

Use this sub-skill when the task is to run AppAgent against an app that already has documentation.

What this sub-skill covers

  • Choosing the documentation base for an app.
  • Running a task with or without docs.
  • Understanding the grid-overlay action path.
  • Interpreting deployment logs and output folders.

When to route here

  • The user wants AppAgent to complete a phone task now.
  • The user is asking how AppAgent selects between auto docs and demo docs.
  • The user wants to know where deployment logs or screenshots are written.
  • The user needs help when the deployment loop reports no docs or malformed model output.

Read first

  • references/workflows.md for the task-execution flow and output layout.
  • references/troubleshooting.md for no-doc, no-device, parser, and grid issues.
  • ../../references/configuration.md when the model backend or output directories need adjustment.
  • ../../references/api-reference.md when you need parser, controller, or utility details.

Bundled script

Use the launcher in this sub-skill instead of reconstructing the source launch sequence yourself:

  • scripts/start_deployment.py

It invokes the deployment loop with explicit argument handling, no shell-string construction, and takes --repo-root <AppAgent checkout> when you are not already inside the repository.

Typical workflow

  1. Validate the environment with ../../scripts/check_setup.py --repo-root <AppAgent checkout> if the host/device status is uncertain.
  2. Confirm that the app already has auto_docs/ or demo_docs/ output.
  3. Run the bundled deployment launcher with the target app and a writable root_dir.
  4. Answer the prompts for docs base and task description.
  5. Inspect the task log and any screenshots in tasks/task_<app>_<timestamp>/.

What to keep in mind

  • Deployment still needs a live device and adb.
  • If both doc bases exist, AppAgent asks which one to use.
  • If no docs exist, you must choose whether to proceed without docs.
  • The grid overlay is a fallback for unlabeled UI regions.
  • The precise grid-swipe path has a known bug in the source repo.

Common failure signals

  • No docs found for the app.
  • More than one docs base exists and the user has not chosen one.
  • Invalid device size or adb failure.
  • Parser failure in the model response.
  • Grid overlay action misfires or swipes the wrong area.

Useful outputs

  • tasks/task_<app>_<timestamp>/log_<app>_*.txt
  • labeled screenshots and XML captures under the same task directory

Cross-links

  • Use ../exploration/SKILL.md if the app needs a docs base first.
  • Use ../../references/troubleshooting.md for issues that affect both phases.

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