OpenAppSkill
Guide the Android agent to open an app, and use Google Play lookup and install tools when the app is missing.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 22
- Forks
- 10
01 前言 Front Matter
- name
- OpenAppSkill
- version
- 1.0.0
- description
- Guide the Android agent to open an app, and use Google Play lookup and install tools when the app is missing.
03 SKILL.md 正文
Open App Skill
Skill Name
Open App
Description
Use this skill when the user asks to open, launch, enter, or use an Android app. The core goal is to bring the user-specified app to the foreground. Only when the app is not installed, or the user explicitly asks to download/install it, do you enter the Google Play lookup and install flow.
This skill must fail fast. Do not, on failure, try other apps, other regional variants, third-party app stores, or fuzzy substitutes unless the user explicitly asks.
Required Tools
launch_app: Open a launchable app by Android package name or installed app display name.web_search: Query official Google Play links, package names, and regional variant information when needed.play_store_check_app: Check whether an app exists on Google Play using an exact package name.play_store_install: Open the Google Play detail page for an exact package name, tap Install, and wait for installation to finish.
Intent Rules
- When the user says "open," "launch," "enter," "use," "open," "launch," or "go to," treat it as an open intent.
- When the user says "download," "install," "get," "install," or "download," treat it as an install intent.
- When the user asks to "install then open," after a successful install you must call
launch_app. - When the user explicitly says "install only," "download only," or "do not open," stop after installation; do not open the app.
- When the user provides neither an app name nor a package name, first ask which app to open.
Main Workflow
1. Open First For Open Intent
- For an open intent, call
launch_appfirst, using the app name or package name from the user's current request. - If
launch_appcompletes normally, the task is complete. Do not infer success from a text prefix. - If the Tool failure says the app was not found, proceed to package-name resolution and the Google Play lookup flow.
- If the Tool failure says the match is ambiguous, let the user choose one of the returned candidate package names. Do not install any app before the user confirms.
- If the Tool failure reports no launcher entry, a system denial, or another launch failure, stop and report the reason. Do not treat Google Play as a universal fix.
- Only skip this step when the user explicitly asks to "download only / install only."
2. Resolve Exact Package Name
-
If the user provided a valid Android package name, use it directly.
-
If only an app name is available, use
web_searchto find the exact package name, preferring official or Google Play results. -
Prefer recognizing Google Play URLs in this form:
https://play.google.com/store/apps/details?id=<packageName> -
Recommended queries:
<app name> Android Google Play package namesite:play.google.com/store/apps/details <app name> Android<app name> official Android app packageName
-
For apps with regional variants, also query regional package names, but do not treat regional variants as interchangeable apps:
<app name> global Android package name<app name> China region Android package name<app name> domestic version Android packageName
-
When recording candidates, keep at least:
app_namepublisherregionpackageNamesource_url
-
Accept a candidate package name only when the app name, publisher, region, and product identity all strongly match.
-
If multiple candidates are reasonable, ask the user to choose. Do not default to installing the first search result.
-
If the exact package name cannot be reliably determined, stop and state that the package name could not be confirmed.
3. Check App In Google Play
- For an install intent, or after
launch_appreports that the app was not found, you must callplay_store_check_app. play_store_check_appaccepts only a single exact package name. Do not pass app names, search terms, or fuzzy candidates.- If the normal query result says the Google Play listing is available, proceed to install.
- If the normal query result says the listing was not found, stop and state that this exact package name is not listed on Google Play.
- If another regional-variant candidate exists, you must first ask the user whether to switch. Do not automatically replace Douyin with TikTok, or treat another regional version as the same app.
- If the Tool fails because of HTTP, network, or package-name validation, stop and report that the Google Play lookup could not be completed.
4. Install From Google Play
- Call
play_store_installonly after the normalplay_store_check_appresult confirms that the listing is available. play_store_installaccepts only an exact package name. Do not pass app names, search terms, or URLs.- If
play_store_installcompletes normally, the installation succeeded. - If the Tool failure says the app is already installed, treat it as installed; if the original intent requires opening, continue with
launch_app. - For any other Tool failure, stop and report the reason. When the outcome is unknown, ask the user to check Google Play or installed apps before any retry.
5. Open After Install When Needed
- Remember that
play_store_installis only responsible for downloading/installing; it does not open the app. - If the user's original goal is to open, launch, enter, or use the app, after a successful install you must call
launch_app, using the exact package name just installed. - If a subsequent task depends on the app already being in the foreground, you must also call
launch_appafter a successful install. - If the user only asks to download/install, or explicitly says not to open, stop after a successful install.
- If
launch_appafter install fails, stop and report the failure reason. Do not switch apps or stores.
Stop Conditions
Stop immediately and explain the reason when any of the following occurs:
- The user has not provided a target app.
- The exact package name cannot be reliably determined.
- Multiple candidate apps or regional variants are all reasonable and require user selection.
launch_appfails for a reason other than not-installed or ambiguous candidates.play_store_check_appshows the exact package name is not listed on Google Play.- The Google Play lookup fails, the network fails, or the package name is invalid.
- Google Play installation fails, times out, is interrupted, or shows a paid/purchase/subscription/pre-registration/update-only entry.
- The user denies the open or install approval.
Behavior Requirements
- For open-type requests, always try
launch_appfirst. - Use Google Play tools only when the app is not installed or the user explicitly asks to install.
- Use
play_store_check_appas the gate step for Google Play lookup and installability. - Use
play_store_installas the Google Play download/install step. - Always use the exact package name when calling Google Play tools.
- Do not fabricate package names.
- Do not install third-party APKs.
- Do not claim to support installation from third-party app stores in the China region.
- Do not silently swap regional variants or similar products; a regional-variant switch must be confirmed by the user.
- Do not rely on cached installed-state, historical search results, or previous tool results; treat each task according to the current tool's return value.
- Stop and report on any failure, unless the user explicitly asks to try an alternative or retry.
04 同仓库更多 Skills
wifi
Guide an Android Agent to inspect Wi-Fi status, scan nearby Wi-Fi networks, read configured Wi-Fi entries, connect with saved or provided credentials, disconnect, forget Wi-Fi, and use Wi-Fi settings fallbacks when Android app-layer APIs cannot complete the action.
web research
Search the web and fetch specific pages to answer current, source-dependent, or URL-based questions.
shopping
Shopping price comparison assistant using public web search evidence.
RoutePlanningNavigationSkill
This skill is used by an Android Agent to plan a route and open a navigation session in a map application.
List, read, summarize, send, and delete email using configured accounts.
daily-device-brief
Prepare a concise daily device and personal planning brief.