/supergraph:mobile-agentfrom supergraph
Tests mobile apps via iOS WebDriverAgent or Android UiAutomator2 backends. Runs preflight checks for MCP tool availability, device selection, and driver readiness before executing actions.
Ships in supergraph. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
One skill, two independent backends: WebDriverAgent (iOS) and UiAutomator2 (Android). This is an agent procedure, not an automatic device provisioning service. In DSH invoke /mobile-agent; in Claude Code use /supergraph:mobile-agent.
wda_status, wda_session_start, wda_snapshot, wda_tap for iOS; uiauto_status, uiauto_session_start, uiauto_snapshot, uiauto_tap for Android.node <absolute-plugin-dir>/bin/sg-wda-mcp.jsnode <absolute-plugin-dir>/bin/sg-uiautomator2-mcp.js
Restart/reconnect the host MCP connection and verify tools/list. Do not invent tools or say a shell probe is a completed UI test.wda_device_list / uiauto_device_list only when that backend is available.The operator must install platform SDKs and native runner. Do not install APKs, change signing, grant permissions or launch arbitrary apps without authorization.
Requires macOS/Xcode, a trusted unlocked device with Developer Mode, and a signed WebDriverAgentRunner built for that target. Obtain WDA from https://github.com/appium/WebDriverAgent and follow its current signing/build instructions. Start the runner in Xcode. For USB forwarding with current libusbmuxd:
iproxy -u "$IOS_UDID" 8100 8100
curl --fail --max-time 5 http://127.0.0.1:8100/status
Check iproxy --help for the installed CLI version. A booted Simulator can expose WDA locally without USB forwarding. Set WDA_URL on the MCP process if not using port 8100.
Requires Android platform-tools, USB debugging authorized on the selected device, and matching server and test APKs from https://github.com/appium/appium-uiautomator2-server. Use release-matched APKs; do not guess download names or install unrelated builds.
adb devices -l
adb -s "$ANDROID_SERIAL" install -r "$UIA_SERVER_APK"
adb -s "$ANDROID_SERIAL" install -r "$UIA_TEST_APK"
adb -s "$ANDROID_SERIAL" forward tcp:6790 tcp:6790
adb -s "$ANDROID_SERIAL" shell am instrument -w io.appium.uiautomator2.server.test/androidx.test.runner.AndroidJUnitRunner
Keep instrumentation running; verify /status from another terminal. Direct UiAutomator2 routes and payloads differ from the public Appium server API. Set UIAUTOMATOR2_URL on the MCP process for a different forwarded port. Driver/app lifecycle operations may require platform-specific setup; do not assume creating a session installed or launched the app.
Optional environment inventory (not a readiness or E2E gate):
bash plugins/supergraph/skills/mobile-agent/scripts/init-mobile-qa.sh doctor
The existing helper is informational: its exit code alone is not proof of a healthy driver. Validate the selected status tool and a real snapshot separately.
Read the actual tools/list input schema before calling tools. Examples below are JSON arguments, not shell commands.
wda_session_start with {"bundle_id":"com.example.app"}.uiauto_session_start with {"package_name":"com.example.app"}.wda_snapshot or uiauto_snapshot with {}.{"ref":"@e1"} after inspecting that ref in the current snapshot.{"ref":"@e2","text":"test value"}. Android replaces existing input; WDA currently appends and does not clear existing text. Do not assume parity or retry typing blindly. Never put production passwords, OTPs or tokens into reports.delta: true is an optimization, not a substitute for assertions. Refresh after navigation, session restart, dynamic list changes or stale-ref errors. Repeated resource IDs/names are ambiguous: their refs are invalidated on the next snapshot rather than silently redirected to another row. Never retry a stale ref blindly.wda_wait / uiauto_wait with schema-supported arguments and a bounded timeout. A timeout is a failed assertion, not success.wda_screenshot / uiauto_screenshot using the schema's path parameter; record the actual returned path. Do not claim a screenshot was saved unless the tool succeeded.wda_dismiss_keyboard for iOS. Direct UiAutomator2 does not expose the middleware hide-keyboard operation: uiauto_hide_keyboard reports unsupported. An explicit Android Back key (uiauto_press_keycode) may close the keyboard but can navigate away when no keyboard is open; inspect before and after.wda_handle_alert / uiauto_handle_alert only for test-approved permissions. Do not auto-accept security, purchase, account or data-deletion prompts.iOS: wda_status, wda_device_list, wda_session_start, wda_session_stop, wda_snapshot, wda_tap, wda_fill, wda_type, wda_press_button, wda_dismiss_keyboard, wda_swipe, wda_wait, wda_screenshot, wda_app_lifecycle, wda_handle_alert, wda_open_url.
Android: uiauto_status, uiauto_device_list, uiauto_session_start, uiauto_session_stop, uiauto_snapshot, uiauto_tap, uiauto_fill, uiauto_press_keycode, uiauto_hide_keyboard, uiauto_swipe, uiauto_wait, uiauto_screenshot, uiauto_app_lifecycle, uiauto_handle_alert, uiauto_open_url.
Availability is host-dependent; listing a tool here does not mean it is loaded or supported by the installed native server version. The direct Android backend explicitly rejects middleware-only uiauto_hide_keyboard, app activation/termination through uiauto_app_lifecycle, and uiauto_open_url; use separately authorized ADB operations or full Appium when those are required. Treat unsupported-route errors as BLOCKED and include driver version and exact route, not speculative retries.
Scaffold a 7-dimension matrix and defect report:
bash plugins/supergraph/skills/mobile-agent/scripts/init-mobile-qa.sh matrix login com.example.app Android
bash plugins/supergraph/skills/mobile-agent/scripts/init-mobile-qa.sh bug login MOB-BUG-001 "Login button does not respond" Android
Use test data. Cover happy/negative/boundary cases, keyboard, rotation/safe area, permissions and interrupted app state as applicable. Do not change device connectivity or delete data without authorization.
Report each case as PASS, FAIL, BLOCKED or NOT RUN, with expected/observed state and evidence path. Separate parser/unit tests, HTTP contract tests and actual device E2E results. Missing hardware, missing tools, unreachable runner or incompatible endpoints means device tests are BLOCKED, even if unit tests pass. No fixed speed/token-reduction percentages are promised without measurements.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
mobile-testing, webdriveragent, uiautomator2, appium, ios-testing, android-testing
npx claudepluginhub datit309/supergraph --plugin supergraph44 skills in this plugin
/analyzeRisk analysis and approach selection before planning. Use when requirements are ambiguous, approaches vary, or work touches hub/bridge nodes. Skip for typo fixes./architectureProactive architecture review — explore codebase structure, generate a self-contained HTML report with Mermaid diagrams and candidate improvements, then grill the findings. Use when planning a large refactor, onboarding to an unfamiliar codebase, or before a major architectural change./browser-agentAutonomous human-like browser control and professional QA/QC testing. Powered by agent-browser (Rust native CDP, zero Playwright) with ISTQB test matrix generation, automated testcase execution, console/network error tracing, and defect reporting./cavemanPersistent token-compression mode (~75% reduction) — now always-on by default. Strips filler while keeping code exact./database-migrationsDatabase migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate)./design-taste-frontendAnti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.Other plugins' skills for the same job