/mstack:m-cuafrom mstack
Drives real desktop apps, Android devices, or browsers for L3/L4 acceptance testing. Operates real UIs, records replayable scripts, and produces evidence receipts.
Ships in mstack. 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.
Computer use for acceptance: operate the real UI, then leave a replayable script and a receipt. The driver is a tool with no model inside; the observe, act, observe loop runs in you. Read the UI as a tree of elements with refs. A screenshot is evidence for a person, not how you find a button.
Use when the acceptance level is L3 (installed and launched) or L4 (behavior driven) in m-verify's references/ladder.md, and the thing under test has a window, a device screen or a page. Use it too when the user asks you to operate an app.
Do not use it for what a command already proves: unit tests and builds belong to m-verify. A project that already has a scripted driver (.claude/skills/verify/, kept by m-qa) is driven through that; m-cua supplies the driver when there is none, and its script is what m-qa then records.
First line you say: Using m-cua: drive the real UI, keep the script.
desktop. Android app → android. Web page → web. One target, one driver. For Android the doctor names the tool it found: mola-cua (refs, verified input) or plain adb; references/drivers.md has a table for each.node "<this skill dir>/scripts/cua-doctor.mjs" --need <driver>. <this skill dir> is the directory this SKILL.md was loaded from. Exit 0 means usable: go on. It prints one state per driver:
ready: call the tool by name.not-on-path (still exit 0): the tool works but the shell cannot see it. Call it by the full path the doctor printed. Do not reinstall and do not rerun the doctor. The script must not hard-code that path: it reads it at run time from cua-doctor.mjs --need <driver> --json (drivers[0].bin).no-device: start the emulator or authorise the device, then rerun.missing: install with the printed command if the user allowed installs; otherwise report it and stop.broken: run the command it names and read the error.references/drivers.md is the fallback and is always what the final script uses, so the check runs anywhere.references/drivers.md..mstack/cua/<slug>.mjs (or .sh): launch, wait for a named element, act, assert on text or state read back from the UI, exit non-zero on any miss. Selectors are roles and names, never screen coordinates or refs from your session. Waits name an element or text, never a fixed sleep.node "<m-verify dir>/scripts/receipt.mjs" write --level <3|4> --cmd "<the script command>" --exit <code>..mstack/cua/<slug>.mjs: the replayable script..mstack/cua/<slug>/: the last snapshot or UI dump as JSON or XML, plus one screenshot when a person will read the report.POLICY_DENIED, or the step seems to need --headed (real pointer and keyboard) or --force → stop and ask the user. Never add either flag to get past a failure: headed input lands in whatever window the user is working in.'@s8f3k2p9:e8'); a bare @token is the splatting operator..mstack/ and out of PR text and public logs.What SKILL.md sets; muted values are Claude Code's defaults
A claim needs the built artifact installed, launched and operated through its real UI, or the user asks to operate a desktop app, Android device or emulator.
npx claudepluginhub mola-maker/mstack --plugin mstack17 skills in this plugin
/m-debugRoot-cause a bug or failing test: reproduce, competing hypotheses, regression test. Use for debug一下/为什么报错/这个测试挂了./m-deslop删掉 AI 味和冗余——多余注释、死代码、无谓抽象、套话堆砌,先保护行为再减。Use when the user says "deslop / 去AI味 / 删冗余 / 这段太啰嗦 / 精简一下", or a diff feels bloated./m-dispatchFan independent subtasks out to Claude subagents, DSH headless, Codex or Orca; isolate, merge, verify. Use for 分派/并行/开N个agents./m-goalLong-running goal loop: goal file, checkpoints, stop rules, mandatory closeout. Use for run-until-done work, 别停/一直做到完成./m-guardGuardrails: destructive-command checks, folder freeze, plugin vetting, loop brake, known traps. Use for 小心点/冻结目录/这插件安全吗/死循环了./m-handoffSave or restore working state in .mstack/handoff.md before compact, model switch or session end. Use for 存档/交接/接着上次/compact.Other plugins' skills for the same job