/trust-ladder:control-mobilefrom trust-ladder
Build or adapt a local harness to drive and inspect an Android, iOS, Flutter, or Kotlin Multiplatform app on an emulator or simulator. Use for mobile UI verification, screenshots and screen recordings, UI hierarchy dumps, logs, startup and frame timing, deep links, or reproducing mobile bugs. The mobile counterpart of team-workflows's control-ui.
Ships in trust-ladder. 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.
None: SKILL.md is the whole skill.
Use an emulator or simulator to verify mobile behavior with evidence. First reuse the repository's own harness if it has one (Maestro flows, Espresso or UI Automator tests, XCUITest, Flutter integration_test, Detox). Otherwise assemble one from the commands below. When the harness proves useful, turn it into a project verification skill with /create-verification-skill so the next agent does not rebuild it.
verify-this and pull requests.emulator -list-avds
emulator -avd <avd> -no-window -no-audio -no-snapshot-save &
adb wait-for-device && until [ "$(adb shell getprop sys.boot_completed | tr -d '\r')" = 1 ]; do sleep 1; done
./gradlew :app:installDebug
adb shell am start -W -n <package>/<activity>
adb shell uiautomator dump /sdcard/ui.xml && adb pull /sdcard/ui.xml /tmp/ui.xml
adb shell input tap <x> <y>
adb shell input text "<text>"
adb exec-out screencap -p > /tmp/after.png
adb shell screenrecord --time-limit 20 /sdcard/run.mp4
adb logcat -d -v time --pid "$(adb shell pidof -s <package>)"
adb shell dumpsys gfxinfo <package> framestats
adb shell am start -a android.intent.action.VIEW -d "<scheme>://<path>"
am start -W prints TotalTime, the cold start time. Take tap coordinates from a hierarchy dump captured immediately before the tap, using the node's bounds.
xcrun simctl list devices available
xcrun simctl boot "<device name or udid>"
xcodebuild -scheme <scheme> -destination "platform=iOS Simulator,name=<device name>" -derivedDataPath /tmp/dd build
xcrun simctl install booted /tmp/dd/Build/Products/Debug-iphonesimulator/<App>.app
xcrun simctl launch --console-pty booted <bundle id>
xcrun simctl io booted screenshot /tmp/after.png
xcrun simctl io booted recordVideo /tmp/run.mp4
xcrun simctl openurl booted "<scheme>://<path>"
xcrun simctl privacy booted grant photos <bundle id>
xcrun simctl spawn booted log stream --predicate 'subsystem == "<subsystem>"'
simctl cannot tap. Drive touches with Maestro or an XCUITest target. The iOS Simulator needs macOS; in a Linux cloud session, verify iOS on a macOS runner instead.
flutter devices
flutter run -d <device id> --debug
flutter test integration_test -d <device id>
flutter screenshot -d <device id> -o /tmp/after.png
flutter run -d <device id> --profile
integration_test drives widgets by key or text and runs on Android, iOS, and desktop devices. Profile mode plus DevTools gives frame timing and CPU profiles.
Verify shared logic with ./gradlew allTests. Verify each platform's UI with the Android and iOS sections above. Compose Multiplatform desktop targets can be driven like any desktop app.
Maestro drives Android and iOS with the same YAML, by visible text or accessibility id:
appId: <package or bundle id>
---
- launchApp
- tapOn: "Checkout"
- assertVisible: "Order placed"
- takeScreenshot: after-checkout
Run it with maestro test flow.yaml, and inspect targets with maestro hierarchy. A folder of Maestro flows is a good core for a mobile verification skill's CLI.
adb shell pm clear <package>, xcrun simctl uninstall).adb emu kill for your emulator, xcrun simctl shutdown <udid> for your simulator, and the processes you launched. Keep the evidence files.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/setup-cloud-agentsMake the repository start, build, test, and run its app in a fresh cloud container, so engineers can run agents in parallel and designers, marketers, and founders can use the kit from a browser or phone with nothing installed. Writes one idempotent setup script, makes the kit load in every cloud session, wires it into Claude Code on the web, picks how screenshots reach pull requests for each surface, and proves it all in a fresh session. Use for /setup-cloud-agents, "run agents in the cloud", "let non-engineers use this without installing anything", or before scaling past a handful of parallel agents./setup-faker-kitPrepare a repository so agents can work in it unattended and anyone on the team can use the kit. Writes AGENTS.md, CLAUDE.md and STYLE.md around the repository's own build, test, and lint commands; links project skills for Claude Code; adds team settings so teammates get the kit automatically; and starts the corrections ledger. It adds no check script or lint configuration of its own; the one CI step it adds checks the repository's skill links. Use for /setup-faker-kit, "set this repo up for agents", or a repo with no AGENTS.md./setup-hermes-projectConnect a GitHub repository to this machine's Hermes dispatch. Two parts. The machine side, run from the owner's own Claude Code: checks the Hermes install, creates the project bot and the checkout its Claude Code sessions launch from (faker-kit marks it trusted in Claude Code itself), and starts the setup session. The repository side, run by that setup session inside the repository: writes .agents/dispatch.json and .agents/dispatch.md, describes the layout in AGENTS.md, and fills in the kit setup the repository still lacks, in one pull request. The owner only answers a few questions and merges the setup pull request. Use for /setup-hermes-project, "add this repo to Hermes", "set up faker-kit dispatch for OWNER/REPO", "set up this repo for Hermes dispatch", or after a dispatch refusal about dispatch.json.Other plugins' skills for the same job
npx claudepluginhub tsnanh/faker-kit --plugin trust-ladder