[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DBQM1GFDKEF3GGJ9FBGXKR":3,"skill-same:01M7DBQM1GFDKEF3GGJ9FBGXKR":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7DBQM1GFDKEF3GGJ9FBGXKR","android-dev",null,"Build, run, inspect, and lightly automate Android apps with the android-emulator MCP tools.","ZCodium-project\u002FZCodium","ZCodium-project","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F331969751?v=4","01M7DBKVDM2CY9G27NC8F39MCG","ZCodium","01M7DBKVEPNTJN0R8FNRV88JEH",253,"MIT","https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fandroid-emulator-plugin\u002Fskills\u002Fandroid-dev\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: android-dev\ndescription: Build, run, inspect, and lightly automate Android apps with the android-emulator MCP tools.\n---\n\n# Android Dev\n\nUse this skill when the user wants you to create, modify, build, run, debug, screenshot, or inspect an Android app in the desktop Android Emulator or on a USB-connected Android device.\n\n## ZCode Tool Names\n\nThis skill assumes the MCP server is configured in zcode as `android_emulator`. In zcode, MCP tools are exposed to the model as `mcp__android_emulator__\u003Ctool>`.\n\nIf the server is configured with a different name, use the corresponding visible `mcp__\u003Cserver>__...` tool names from the active zcode tool list.\n\n## Default Workflow\n\n1. Call `mcp__android_emulator__android_preflight` first.\n\t   - If the required environment is not ready, follow `INSTALL_ENVIRONMENT.md` before continuing. Missing emulator-only checks do not block a selected ready USB device target.\n\t   - Environment setup is done with the fixed macOS shell or Windows PowerShell procedure in that file; do not improvise unrelated install commands.\n\t   - Do not accept Android SDK licenses, enter passwords, wipe emulator data, or delete AVDs on the user's behalf. Stop and ask the user for those cases.\n2. Discover the project with `mcp__android_emulator__android_discover_project`.\n   - If no Android project exists and the user wants a new app, call `mcp__android_emulator__android_create_app`.\n   - Prefer editing Kotlin\u002FCompose files directly after project creation.\n   - `mcp__android_emulator__android_create_app` refuses to overwrite generated files by default; only pass `overwrite: true` after explicit user confirmation.\n   - Read `warnings` in the discovery result before building and repair missing `gradle.properties`, `local.properties`, or Gradle wrapper issues.\n3. Build and launch with `mcp__android_emulator__android_build_and_run`.\n   - Pass `module`, `variant`, or `applicationId` when discovery is ambiguous.\n   - Use a selected `serial` when the user wants a specific USB device or emulator. Use `mcp__android_emulator__android_start_emulator` only when a new GUI emulator is needed, then pass its returned `serial` to follow-up tools.\n   - Read the returned `output` first for compile errors; use the returned log path only when more detail is needed.\n4. Verify the app visually with `mcp__android_emulator__android_screenshot`.\n5. For runtime checks, use `mcp__android_emulator__android_open_url`, `mcp__android_emulator__android_launch_app`, `mcp__android_emulator__android_terminate_app`, and `mcp__android_emulator__android_logs`.\n6. For UI automation, call `mcp__android_emulator__android_ui_status` first.\n   - Prefer `mcp__android_emulator__android_ui_describe` or `mcp__android_emulator__android_ui_resolve` before tapping coordinates.\n   - `mcp__android_emulator__android_ui_tap`, `mcp__android_emulator__android_ui_swipe`, `mcp__android_emulator__android_ui_type_text`, and `mcp__android_emulator__android_ui_keyevent` use ADB\u002FUI Automator based backends.\n   - If UI automation is unavailable, continue with build\u002Frun\u002Fscreenshot checks and say UI automation is unavailable.\n\n## Tool Notes\n\n- This MVP intentionally uses Android Emulator's own desktop window for rendering. Do not create or expect a custom emulator window.\n- `mcp__android_emulator__android_preflight` is a pure diagnostic check. Use `INSTALL_ENVIRONMENT.md` for guided environment setup when it reports missing dependencies.\n- The target MCP tools accept `serial` for a specific USB device or emulator and `avd` for the fallback emulator to start only when no target is ready. `mcp__android_emulator__android_start_emulator` starts a new GUI emulator and does not reuse existing targets.\n- Keep emulator interactions through MCP tools instead of raw `adb`\u002F`emulator` commands unless a tool does not cover the operation.\n- `mcp__android_emulator__android_create_app` generates a minimal Kotlin + Jetpack Compose app suitable for model-driven iteration.\n- `mcp__android_emulator__android_build_app` only builds. `mcp__android_emulator__android_build_and_run` builds, reuses the selected Android target by serial or starts a GUI emulator when needed, installs, and launches the app.\n- Android SDK path, default AVD, API level, build-tools version, system image variant\u002FABI, and JDK major version come from plugin user config and are exposed to the MCP server as `ANDROID_PLUGIN_*` environment variables.\n\n## Project Requirements\n\nWhen creating or repairing a project manually, make sure these files exist before building:\n\n- `settings.gradle` or `settings.gradle.kts`\n- root `build.gradle` or `build.gradle.kts`\n- `app\u002Fbuild.gradle` or `app\u002Fbuild.gradle.kts`\n- `gradle.properties` with `android.useAndroidX=true`\n- `local.properties` with `sdk.dir=\u003CAndroid SDK path>` when the SDK is not otherwise discoverable\n- a Gradle wrapper (`gradlew` \u002F `gradlew.bat`) or `gradle` available on `PATH`\n\n## Build Troubleshooting\n\n- If Gradle reports `android.useAndroidX property is not enabled`, create or update `gradle.properties` with `android.useAndroidX=true`.\n- If `android_preflight` reports `Gradle` as `not found`, follow the quick Gradle fix in `INSTALL_ENVIRONMENT.md`; do not reinstall the Android SDK when Gradle is the only missing check.\n- If `android_preflight` reports no AVDs but a USB device is ready, continue by passing that device `serial` to target tools.\n- If Gradle cannot find the Android SDK, create `local.properties` in the Android Gradle root with `sdk.dir=\u003CAndroid SDK path>`.\n- If `.\u002Fgradlew` or `gradlew.bat` is missing, install Gradle and run `gradle wrapper --gradle-version 8.9`, or let `android_build_app` attempt wrapper generation when `gradle` is available.\n- If `sdkmanager` or `avdmanager` cannot find Java after installing Homebrew `openjdk@\u003Cconfigured JDK major>`, export the matching `JAVA_HOME` from `INSTALL_ENVIRONMENT.md` and retry. Use the optional symlink step only after user confirmation.\n- On Windows, if SDK package installation fails because Android SDK licenses are not accepted, ask the user for explicit approval before running `sdkmanager.bat --licenses`, then retry the same package installation command.\n- On Windows, if emulator acceleration is unavailable, ask the user to enable virtualization\u002FWHPX or finish Android Emulator driver setup in Android Studio Device Manager, then rerun `android_preflight`.\n- If system image downloads time out, prefer the `default` image first and retry the exact `sdkmanager --install` command with a longer timeout before switching to larger `google_apis` images.\n\n## Extension Point\n\nThe Android backend is deliberately isolated. P0 uses Android SDK tools, ADB\u002FUI Automator, and Gradle. Future backends can map the same public operations to Android Studio semantic tools, a UI Automator helper APK, Appium\u002Fuiautomator2, or another automation bridge without changing the skill workflow.\n","# Android Dev\n\nUse this skill when the user wants you to create, modify, build, run, debug, screenshot, or inspect an Android app in the desktop Android Emulator or on a USB-connected Android device.\n\n## ZCode Tool Names\n\nThis skill assumes the MCP server is configured in zcode as `android_emulator`. In zcode, MCP tools are exposed to the model as `mcp__android_emulator__\u003Ctool>`.\n\nIf the server is configured with a different name, use the corresponding visible `mcp__\u003Cserver>__...` tool names from the active zcode tool list.\n\n## Default Workflow\n\n1. Call `mcp__android_emulator__android_preflight` first.\n\t   - If the required environment is not ready, follow `INSTALL_ENVIRONMENT.md` before continuing. Missing emulator-only checks do not block a selected ready USB device target.\n\t   - Environment setup is done with the fixed macOS shell or Windows PowerShell procedure in that file; do not improvise unrelated install commands.\n\t   - Do not accept Android SDK licenses, enter passwords, wipe emulator data, or delete AVDs on the user's behalf. Stop and ask the user for those cases.\n2. Discover the project with `mcp__android_emulator__android_discover_project`.\n   - If no Android project exists and the user wants a new app, call `mcp__android_emulator__android_create_app`.\n   - Prefer editing Kotlin\u002FCompose files directly after project creation.\n   - `mcp__android_emulator__android_create_app` refuses to overwrite generated files by default; only pass `overwrite: true` after explicit user confirmation.\n   - Read `warnings` in the discovery result before building and repair missing `gradle.properties`, `local.properties`, or Gradle wrapper issues.\n3. Build and launch with `mcp__android_emulator__android_build_and_run`.\n   - Pass `module`, `variant`, or `applicationId` when discovery is ambiguous.\n   - Use a selected `serial` when the user wants a specific USB device or emulator. Use `mcp__android_emulator__android_start_emulator` only when a new GUI emulator is needed, then pass its returned `serial` to follow-up tools.\n   - Read the returned `output` first for compile errors; use the returned log path only when more detail is needed.\n4. Verify the app visually with `mcp__android_emulator__android_screenshot`.\n5. For runtime checks, use `mcp__android_emulator__android_open_url`, `mcp__android_emulator__android_launch_app`, `mcp__android_emulator__android_terminate_app`, and `mcp__android_emulator__android_logs`.\n6. For UI automation, call `mcp__android_emulator__android_ui_status` first.\n   - Prefer `mcp__android_emulator__android_ui_describe` or `mcp__android_emulator__android_ui_resolve` before tapping coordinates.\n   - `mcp__android_emulator__android_ui_tap`, `mcp__android_emulator__android_ui_swipe`, `mcp__android_emulator__android_ui_type_text`, and `mcp__android_emulator__android_ui_keyevent` use ADB\u002FUI Automator based backends.\n   - If UI automation is unavailable, continue with build\u002Frun\u002Fscreenshot checks and say UI automation is unavailable.\n\n## Tool Notes\n\n- This MVP intentionally uses Android Emulator's own desktop window for rendering. Do not create or expect a custom emulator window.\n- `mcp__android_emulator__android_preflight` is a pure diagnostic check. Use `INSTALL_ENVIRONMENT.md` for guided environment setup when it reports missing dependencies.\n- The target MCP tools accept `serial` for a specific USB device or emulator and `avd` for the fallback emulator to start only when no target is ready. `mcp__android_emulator__android_start_emulator` starts a new GUI emulator and does not reuse existing targets.\n- Keep emulator interactions through MCP tools instead of raw `adb`\u002F`emulator` commands unless a tool does not cover the operation.\n- `mcp__android_emulator__android_create_app` generates a minimal Kotlin + Jetpack Compose app suitable for model-driven iteration.\n- `mcp__android_emulator__android_build_app` only builds. `mcp__android_emulator__android_build_and_run` builds, reuses the selected Android target by serial or starts a GUI emulator when needed, installs, and launches the app.\n- Android SDK path, default AVD, API level, build-tools version, system image variant\u002FABI, and JDK major version come from plugin user config and are exposed to the MCP server as `ANDROID_PLUGIN_*` environment variables.\n\n## Project Requirements\n\nWhen creating or repairing a project manually, make sure these files exist before building:\n\n- `settings.gradle` or `settings.gradle.kts`\n- root `build.gradle` or `build.gradle.kts`\n- `app\u002Fbuild.gradle` or `app\u002Fbuild.gradle.kts`\n- `gradle.properties` with `android.useAndroidX=true`\n- `local.properties` with `sdk.dir=\u003CAndroid SDK path>` when the SDK is not otherwise discoverable\n- a Gradle wrapper (`gradlew` \u002F `gradlew.bat`) or `gradle` available on `PATH`\n\n## Build Troubleshooting\n\n- If Gradle reports `android.useAndroidX property is not enabled`, create or update `gradle.properties` with `android.useAndroidX=true`.\n- If `android_preflight` reports `Gradle` as `not found`, follow the quick Gradle fix in `INSTALL_ENVIRONMENT.md`; do not reinstall the Android SDK when Gradle is the only missing check.\n- If `android_preflight` reports no AVDs but a USB device is ready, continue by passing that device `serial` to target tools.\n- If Gradle cannot find the Android SDK, create `local.properties` in the Android Gradle root with `sdk.dir=\u003CAndroid SDK path>`.\n- If `.\u002Fgradlew` or `gradlew.bat` is missing, install Gradle and run `gradle wrapper --gradle-version 8.9`, or let `android_build_app` attempt wrapper generation when `gradle` is available.\n- If `sdkmanager` or `avdmanager` cannot find Java after installing Homebrew `openjdk@\u003Cconfigured JDK major>`, export the matching `JAVA_HOME` from `INSTALL_ENVIRONMENT.md` and retry. Use the optional symlink step only after user confirmation.\n- On Windows, if SDK package installation fails because Android SDK licenses are not accepted, ask the user for explicit approval before running `sdkmanager.bat --licenses`, then retry the same package installation command.\n- On Windows, if emulator acceleration is unavailable, ask the user to enable virtualization\u002FWHPX or finish Android Emulator driver setup in Android Studio Device Manager, then rerun `android_preflight`.\n- If system image downloads time out, prefer the `default` image first and retry the exact `sdkmanager --install` command with a longer timeout before switching to larger `google_apis` images.\n\n## Extension Point\n\nThe Android backend is deliberately isolated. P0 uses Android SDK tools, ADB\u002FUI Automator, and Gradle. Future backends can map the same public operations to Android Studio semantic tools, a UI Automator helper APK, Appium\u002Fuiautomator2, or another automation bridge without changing the skill workflow.\n",{"name":5,"description":7},"main","cf24e347c4aaf1182ef9fa1f9743a80ab14ff638","apps\u002Fzcode-cli\u002Fpackages\u002Fandroid-emulator-plugin\u002Fskills\u002Fandroid-dev",20,"https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium","https:\u002F\u002Fzcodium-project.github.io\u002F","https:\u002F\u002Fgithub.com\u002FZCodium-project","zcodium-project.github.io\u002F","Zcode Open Audit Version.","2026-11-13 18:44:38",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ZCodium-project\u002FZCodium --skill android-dev",{"tool":40,"command":41},"bunx","bunx skills add ZCodium-project\u002FZCodium --skill android-dev",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ZCodium-project\u002FZCodium --skill android-dev","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fandroid-emulator-plugin\u002Fskills\u002Fandroid-dev\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"INSTALL_ENVIRONMENT.md","REFERENCE","参考文档",13302,"https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fandroid-emulator-plugin\u002Fskills\u002Fandroid-dev\u002FINSTALL_ENVIRONMENT.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7DBYM2HAMB3K65Q3XET0XWW","plugin-mcp-ping","E2E workspace Plugin skill marker","https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fpackages\u002Fdesktop\u002Ftest\u002Fe2e\u002Ffixtures\u002Fplugin-mcp-skill\u002Fe2e-plugin-mcp-ping\u002Fskills\u002Fplugin-mcp-ping\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DBYCTV753XKE9TRBT8CRSX","zcode-configuration-guide","Use when configuring ZCode's extension resources (MCP servers, slash commands, skills, hooks, and plugins) or instruction files such as AGENTS.md in the ZCode client. Explains where each resource is configured at the user and workspace scope, the discovery order, precedence, and merge rules, plus guidance on which location to choose. Use when someone asks how to add an MCP server, command, skill, hook, plugin, or AGENTS.md instructions, where a configuration file lives, why a configuration is not taking effect, or needs routing to a specific diagnostic skill.","https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fzcode-guide-plugin\u002Fskills\u002Fzcode-configuration-guide\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DBY4P7GEEPQZ5VSWCF0YS1","diagnosing-skills","Use to diagnose and fix ZCode skill configuration problems in the ZCode client. Applies when a skill is not discovered, is installed but does not trigger automatically, is shadowed by a higher-precedence skill of the same name, is disabled by configuration, has a SKILL.md frontmatter error, fails to load because its description is too long, or disappears because the plugin providing it is disabled. Provides the discovery order, how to inspect skills in the client, common pitfalls, and a step-by-step localization and repair workflow.","https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fzcode-guide-plugin\u002Fskills\u002Fdiagnosing-skills\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DBXS9PAV8Z09309HMYMNPC","diagnosing-plugins","Use to diagnose and fix ZCode plugin and marketplace problems in the ZCode client. Applies when a plugin is not listed, adding a marketplace or installing a plugin fails, a plugin is enabled but its skills or commands are missing, a built-in plugin still appears after being disabled, a plugin is not enabled as expected, a plugin.json manifest has a parse error, a plugin name is invalid, a dependency is unresolved or blocked across marketplaces, or a sensitive configuration value cannot be entered in the interface. Provides the plugin lifecycle, manifest schema, how to manage plugins in the client, and a step-by-step localization and repair workflow.","https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fzcode-guide-plugin\u002Fskills\u002Fdiagnosing-plugins\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DBXHJ0G1KZDC405HYQBHB6","diagnosing-mcp","Use to diagnose and fix ZCode MCP (Model Context Protocol) server configuration problems in the ZCode client. Applies when an MCP server will not connect, its tools (mcp__server__tool) do not appear, it shows as disabled or failed, connections time out, a command cannot be found, template variables are not expanded, or a server defined in a configuration file has no effect. Provides configuration locations, how to inspect status in Settings, common pitfalls, and a step-by-step localization and repair workflow.","https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fzcode-guide-plugin\u002Fskills\u002Fdiagnosing-mcp\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7DBXABP8ZRNM6TFWDJXJH9Z","diagnosing-hooks","Use to diagnose and fix ZCode hook configuration problems in the ZCode client. Applies when a hook does not trigger, an event name is wrong, a matcher does not match a tool name, a script is not executable, template variables are not expanded, a timeout unit is mistaken (seconds versus milliseconds), the command and process field styles are mixed, a hook's JSON output fails validation, a hook blocks the session unexpectedly, or configuration-file hooks are not enabled. Provides configuration sources, the hooks.json schema, how to inspect hooks in the client, and a step-by-step localization and repair workflow.","https:\u002F\u002Fgithub.com\u002FZCodium-project\u002FZCodium\u002Fblob\u002Fmain\u002Fapps\u002Fzcode-cli\u002Fpackages\u002Fzcode-guide-plugin\u002Fskills\u002Fdiagnosing-hooks\u002FSKILL.md",[],[]]