/kstack:k-e2e-qafrom K-stack
Drives and verifies macOS, iOS, Android, and web UIs using AgentController, Maestro, adb, and Playwright. Use for E2E testing, QA automation, and simulator/device verification.
Ships in K-stack. 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.
Verify on the real surface: drive the app or page, assert on elements, capture screenshots. A green test suite is not evidence the UI works.
agentcontroller (macOS apps; the menu-bar app must be running) and agentcontroller-ios (simulators and physical iPhones). See docs/claude-setup.md in the repo for the registration commands.mcp__maestro__* tools or the CLI), or raw adb with no MCP at all./chrome) when the extension is available, else a Playwright MCP if one is configured.When the needed server is not in the session's tool list, stop and report which target has no transport instead of improvising one.
| Target | Use |
|---|---|
| macOS app | mcp__agentcontroller__* |
| iOS simulator or physical iPhone | mcp__agentcontroller-ios__* |
| Android phone or emulator | Maestro, or raw adb. AgentController has no Android transport. |
| Web page or app | Claude in Chrome (/chrome) when available; else Playwright MCP if configured; else report the gap. |
Prefer AgentController over Maestro for every target it covers: element-level control and honest failures beat YAML flows. For Android, raw adb is often better than Maestro: adb exec-out screencap returns true framebuffer pixels, so tap coordinates and screenshot coordinates share one space. Maestro reports hierarchy bounds that need scaling against a resized screenshot, a recurring source of mis-taps.
launch_app and open_url do not activate; input is PID-targeted; screenshots and video work with the window covered or hidden. The user keeps working undisturbed.activate_app and foreground: true. Never reach for them, and never bypass them with osascript activate or open without -g. screenshot_window captures background and hidden windows, so an app never needs to be frontmost.list_apps, then snapshot or describe_screen once for element ids (e1, e2, ...), then send one run_steps batch that uses those elementIds. Re-snapshot only when the UI shape changed.isError on failure, so pass/fail is unambiguous: assert_visible, assert_not_visible, assert_value (equals/contains/enabled/focused/checked, with timeout).labelContains when you see on-screen text but do not know which AX attribute holds it (SwiftUI varies). Interaction tools default to the focused window (scope:"app" to widen); assert/read/find tools default to the whole app (scope:"window" to narrow). Interaction finds retry briefly, so first-frame races self-heal.hide_app makes the tested app fully invisible while interactions and screenshots keep working. While hidden, the AX windows list is empty (use scope:"window"). Clipboard and responder-chain shortcuts need an active app. unhide_app restores without stealing focus.read_text/read_all_text, get_focused_element, get_clipboard/set_clipboard, scroll/scroll_until_visible/swipe/drag_drop, right_click, navigate_menu (silent, reads the menu tree without opening), wait_for_element, window tools, reset_app_state, and replayable flows (run_steps, save_flow, run_saved_flow).list_simulators → boot_simulator → launch_app → describe_screen or scan_ui → tap_element/device_action → wait_for_element → get_screenshot.setup_device first (builds and launches WebDriverAgent on the phone). The screen must stay unlocked or every AX read fails. If WDA is not running, the tool returns the exact commands to run.tap_element/wait_for_element over repeated describe_screen: the physical-device transport's /source call is the slow path.list_devices → start_device → launch_app (by bundle or app id) → inspect_view_hierarchy → tap_on/input_text/back → take_screenshot.run_flow for multi-step sequences and run_flow_files for saved YAML tests.k-mode's verify steps call this skill for UI, native app, and device work. Whatever surface you drive, return the evidence with the result:
start_recording/stop_recording for flows).isError.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kasempiternal/k-stack --plugin kstack14 skills in this plugin
/k-agent-timeUse when asked to improve, optimize, redesign or solve an open-ended technical problem, or before dismissing an option as too big, slow or costly. Prices effort for agents, not human-hours./k-cursor-architectDelegate focused implementation or investigation from Claude Code to the Cursor Agent CLI (cursor-agent) running Grok 4.7. Use when the user invokes /k-cursor-architect, asks Claude to hand work to Cursor or Grok, or enables session-only delegation. Session mode makes Cursor the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode./k-designDesign before implementing. Opus produces the data shape, interface, file plan, failure cases, tests, and verification commands for a change, and runs a competing-designs bakeoff when the design is contested or has no precedent. Use for architecture, system or API design, implementation plans, repo restructuring, RFC-grade decisions, or from k-mode before code that crosses a function boundary./k-effortSwitch K-stack's routing level the way /effort switches session effort. Levels are lean < balanced < quality, plus burn on top. A typed level applies now and is saved as the default; add "session" to keep it to this session. Use for /k-effort, "kstack effort", "cheaper kstack routing", or "more effort on kstack"./k-exploreExplain how a subsystem works, trace a runtime flow, answer where code should live, or dig up why something was built this way (git history). Read-only. Use for "how does X work", "walk me through", "why is this like this", "where should this live", onboarding onto unfamiliar code, or from k-mode before changing a subsystem./k-gpt-architectDelegate focused implementation or investigation from Claude Code to the Codex MCP. Use when the user invokes /k-gpt-architect, asks Claude to hand work to Codex, or enables session-only delegation. Session mode makes Codex the exclusive delegation backend and blocks native Claude teammates. Never enables a global or persistent mode.Other plugins' skills for the same job