SkillsReviewed · microsoft

CUAWright Web

CUAWright Web is a set of instructions (a skill) written for Claude Code to guide an AI coding assistant through web tasks such as searching, filtering or filling forms. The assistant is instructed to write and run a Python Playwright browser script tailored to the site, save screenshots and an action log, and check the results visually. An optional mode produces a reusable command-line interface.

Researched 15 Nov 2026

In short.

CUAWright Web is a set of instructions (a skill) written for Claude Code to guide an AI coding assistant through web tasks such as searching, filtering or filling forms. The assistant is instructed to write and run a Python Playwright browser script tailored to the site, save screenshots and an action log, and check the results visually. Its reusable CLI mode adds parameter documentation, matching command-line flags and import-safety requirements. The supplied files establish the intended process, but provide no execution results, success rates, compatibility measurements or total costs.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to all six captured files under skills/cuawright-web and the related root LICENSE and NOTICE at revision 35dbcf389ce2d9a77eb22f539c79a1274ea53559. Referenced runtime source, package configuration, original harness configuration, desktop documentation, the OSWorld runtime and its separate Apache license text are excluded. No code or browser task was executed. Installation, generated-script correctness, website compatibility, task success, performance and operating costs remain untested or unknown.

The overview

identity

The resource is the skills/cuawright-web folder in microsoft/CUAWright. Its entry point is SKILL.md, supported by two command templates and three reference documents. It describes the cuawright.webwright browser subsystem and explicitly separates it from CUAWright's OSWorld desktop runtime. Original source folder: [https://github.com/microsoft/CUAWright/tree/main/skills/cuawright-web].

This is an instruction package loaded by an AI assistant. It is written for Claude Code, where the assistant uses terminal and file tools directly in place of the original Webwright model loop.

assessment

The skill's strongest feature is its detailed definition of an acceptable result. A task becomes independently checkable requirements, and the generated script must save evidence for relevant interactions and the final answer. Dedicated filters and sorting controls must be used when available; a search phrase cannot stand in for an explicit filter.

That structure is useful for work where the route to an answer matters, such as checking that a displayed price actually reflects the requested filters. However, the supplied material contains instructions and templates rather than completed task results. Reliability, speed and the quality of the assistant's visual judgments are not established.

users

The intended users are people asking an AI assistant to search websites, apply filters, fill forms, extract information or complete multi-step browser flows while producing inspectable scripts and screenshots. Developers who want to rerun the same kind of task with different inputs are the clearest audience for CLI mode.

A beginner can describe the task in ordinary language, but the surrounding environment still involves a repository checkout, Python, browser installation and generated code. The captured files do not provide a complete beginner installation guide or establish compatibility with assistant hosts other than the described Claude Code setup.

capabilities

Default mode produces final_script.py for the literal task values. CLI mode instead requires a reusable function, documented parameters and argparse flags whose defaults reproduce the original task. The documented shortcuts are /cuawright:run and /cuawright:craft.

Required outputs include plan.md, numbered final_runs/run_<id>/ folders, screenshots, final_script_log.txt and the requested final datum. CLI mode additionally requires a parameter echo in the log, a no-argument reproduction run, an import-safety check and displayed help text. These are prescribed outputs, not demonstrated results in the supplied files.

Using it

requirements

The documented environment needs a CUAWright checkout, Python with Playwright, installed Firefox browser binaries and an assistant able to run Bash commands, read and edit files, and inspect PNG images. The assistant supplies the reasoning and visual verification that the original harness delegated to separate tools.

Each script launches a fresh local headless Firefox session. Persistent browser state is not retained, so any necessary session state must be reconstructed. Supported Python and Playwright versions, operating systems, hardware requirements and handling of authenticated sessions are not established by the captured files.

mechanism

The assistant first translates the request into critical points: exact conditions or results that can be checked independently. It explores the site with scratch scripts, observes command output, reads screenshots and examines accessibility snapshots, which expose page roles and labels. It then writes an instrumented final script and checks each critical point against the resulting screenshots or log.

Browser examples use Playwright's asynchronous Python API, role-based selectors and a fixed 1280 by 1800 viewport. Full-page screenshots are prohibited. The guidance favors filling visible controls over constructing parameterized URLs, then reading the form state again to confirm that the requested values actually applied.

setup

From the CUAWright repository root, the documented one-time setup is pip install -e . followed by playwright install firefox. During task execution, the skill assumes dependencies are already available and forbids installing additional packages.

The assistant then chooses a workspace for generated scripts, notes, logs and screenshots. The supplied files explain the workspace layout and command behavior, but do not explain how to register the skill and shortcuts in an assistant installation. Installation success and dependency compatibility remain untested.

example

An illustrative request would be to find the lowest-priced item matching a chosen brand and price limit on a catalogue that provides those filters and a price-sort control. Under this skill, the assistant would use the actual controls, capture their applied state and record the displayed result in the final log. This is a hypothetical application, not an observed successful run.

For a reusable version, the brand and price limit would become function arguments and matching CLI flags. The original values would remain the defaults, the log would record the resolved inputs, and importing the script would leave the browser closed and files untouched.

Assessment & evidence

limitations

Completion depends on the assistant correctly interpreting page state and judging its own screenshots and logs. The prescribed checks do not establish an independent correctness guarantee. Fresh browser sessions also require reconstructing state on every run; saved login continuity is not provided by this design.

The code examples need adaptation. They contain placeholder URLs and task-specific gaps, and the CLI wrapper example calls _run without defining it in the shown snippet. The general instrumentation example creates directories and resets its log at module level, while CLI mode explicitly forbids import-time file writes. A generated CLI must move that setup into its execution path.

No supplied execution results establish handling of particular websites, browser failures or site changes. Success rates, performance and authentication behavior remain unknown.

reasoning

The design should make browser-generated answers easier to inspect because it connects each requirement to visible state or a recorded action. Exact filter checks reduce ambiguity, while CLI parameter logging makes the inputs behind a repeated result explicit. These are expected benefits inferred from the documented structure, not measured improvements.

The tradeoff is additional exploration, screenshots and checking for every workflow. The skill is therefore most compelling when reusable code and evidence of applied constraints matter enough to justify that work. It supplies no measurements showing how much effort this adds or saves.

alternatives

Within the skill, one-shot mode fits a fixed request, while CLI mode fits repeated requests with changing values. Someone already comfortable with Python and Playwright could instead write the browser script directly; the skill adds assistant instructions for planning, instrumentation and verification. That comparison follows from the examples rather than comparative testing.

The source points to cuawright-desktop for OSWorld desktop tasks and describes an original Webwright harness with separate image-QA and reflection tools. Their implementations are outside the supplied evidence, so their setup, cost and effectiveness cannot be compared here.

evidence

The supplied evidence comprises the complete six-file skill folder: SKILL.md, commands/run.md, commands/craft.md, reference/cli_tool_mode.md, reference/playwright_patterns.md and reference/workflow.md. Root LICENSE and NOTICE provide the related rights statements.

These are primary-source instructions and code templates. They support the described modes, output requirements and browser patterns, but contain no completed run artifacts, benchmark results or demonstrated task outcomes. The underlying runtime implementation and dependency declarations are not included.

Access & freshness

costs

The skill documentation says no separate model API key is required: the host assistant's native image reading and reasoning replace the original OpenAI-backed image_qa and self_reflection tools. This does not establish that using the host assistant is free.

The captured MIT license grants permission without a license fee. Assistant access, model usage, local computing, storage and per-task costs are not priced in the supplied files. Total operating cost is unknown.

rights

The captured root LICENSE is MIT and names Microsoft Corporation as copyright holder. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices accompany copies or substantial portions. It also disclaims warranty.

NOTICE identifies the Webwright browser runtime as MIT and separately identifies an imported OSWorld desktop runtime as Apache-2.0. That desktop runtime and its separate Apache license text are outside the captured scope. Redistribution of the captured skill should retain the supplied LICENSE and NOTICE.

freshness

The supplied snapshot identifies revision 35dbcf389ce2d9a77eb22f539c79a1274ea53559, captured at 2026-11-15T18:16:59.646Z. The corresponding fixed folder is [https://github.com/microsoft/CUAWright/tree/35dbcf389ce2d9a77eb22f539c79a1274ea53559/skills/cuawright-web].

These findings apply to that revision. The supplied files do not establish a release version, supported dependency versions or changes after capture. The contents currently available through the moving main branch are unknown.

actions

Choose one-shot mode for a fixed request or CLI mode when the same task must accept different inputs. Specify exact filters, units, dates, sorting and the final value you need so that the assistant can turn them into independently checkable requirements.

Before relying on a generated script, confirm that the saved screenshots show the requested controls applied and that the log contains the final datum. For CLI output, also check that every parameter has a matching flag, defaults reproduce the original request and importing the module causes no browser launch or file writes. The supplied resource does not establish that any generated script already meets those conditions.

Evidence for this report

LICENSEnotice · checked 2026-11-15
NOTICEnotice · checked 2026-11-15
skills/cuawright-web/SKILL.mdselected · checked 2026-11-15
skills/cuawright-web/commands/craft.mdselected · checked 2026-11-15
skills/cuawright-web/commands/run.mdselected · checked 2026-11-15
skills/cuawright-web/reference/workflow.mdselected · checked 2026-11-15