Browser Local QA
Purpose
Help agents choose the smallest reliable browser-verification surface for local UI work, then capture evidence that actually proves the claim. This is a guardrail, not a browser automation manual.
Use When
- the task is about localhost, file URLs, or another local UI surface
- the page is already open in the Codex in-app browser and needs inspection
- the work needs a repeatable browser flow, artifact capture, or regression proof
- the target is a desktop or native window and browser capture is not enough
Do Not Use When
- the surface is already fixed and only execution remains
- the task is general web research or remote scraping
- the user wants implementation detail for one browser surface instead of surface selection
Quick Start
- Start with the live surface the task already has, not with the most powerful tool.
- Choose the smallest reliable layer that can prove the claim: in-app browser, Playwright CLI, Playwright Interactive, or screenshot capture.
- If the claim is visual, collect screenshot evidence; if it is structural, collect DOM or snapshot evidence.
- Prefer Playwright Interactive only when the same browser state must be reused across iterations.
- Stop once one authoritative signal proves the point; do not re-prove it through extra surfaces.
- End with the next verifier and the evidence that was intentionally captured.
Operating Constraints
- Do not use DOM-only proof for a visual claim.
- Do not use screenshot-only proof for a structural claim.
- Do not treat screenshot capture as a replacement for actual interaction.
- Do not start with persistent Playwright unless state reuse is the reason.
- Do not escalate to a heavier surface when the current surface already proves the claim.
- Do not turn this into a bootstrap or command-reference skill.
- Do not keep checking the same fact across multiple surfaces after one authoritative signal exists.
Inputs This Skill Expects
- The local UI surface and whether it is already open.
- Whether the claim is visual, structural, interactive, or desktop-native.
- Whether the flow needs repeatable automation or persistent session reuse.
- Whether browser capture can reach the needed chrome or window boundary.
Output Contract
- Name the chosen surface first.
- Name the first thing to inspect before the next action.
- Name the evidence artifact that will actually be useful to the next verifier.
- Explain why DOM-only proof or screenshot-only proof would be insufficient when that is the case.
- Keep the answer at planning level unless the task explicitly asks for execution detail.
Procedure
- Read the surface the user already has before switching tools.
- Classify the claim as visual or structural, then pick the narrowest surface that can prove it.
- Use the in-app browser when the Codex browser already has the context and the task is visible-state oriented.
- Use Playwright CLI when the flow needs repeatable terminal-driven automation, snapshots, or artifacts.
- Use Playwright Interactive when the same browser session must survive across iterations.
- Use screenshot capture when the browser cannot reach the needed desktop or native chrome boundary.
- Capture only the evidence that proves the claim and hand that forward.
Pitfalls And Gotchas
- Rejected trope: defaulting to the most automated surface because it feels more rigorous.
- Better alternative: choose the smallest surface that can still prove the claim and keep the proof direct.
- Rejected trope: using screenshots to stand in for interaction evidence.
- Better alternative: interact on the real surface, then capture screenshots only as proof.
- Rejected trope: relying on DOM alone for visible layout, overlay, or pixel-sensitive state.
- Better alternative: pair structural evidence with screenshots only when the claim is visual.
- Rejected trope: bouncing across surfaces after one authoritative signal already answered the question.
- Better alternative: stop when the selected surface has already proven the point.
Progressive Disclosure
Start with the narrowest read of the task: what surface exists, what kind of claim must be proven, and what evidence the next verifier will need. Expand only enough to choose between in-app browser, Playwright CLI, Playwright Interactive, and screenshot capture cleanly. Keep the skill compact so it behaves like a guardrail instead of a browser automation course.
Verification Pattern
- Confirm the selected surface matches the claim type.
- Confirm visual claims have screenshot evidence when needed.
- Confirm structural claims have DOM or snapshot evidence when needed.
- Confirm Playwright Interactive is only chosen when session reuse matters.
- Confirm the response names one actionable artifact and one next verifier.
- Confirm the answer avoided redundant cross-surface re-checking.
1---2name: browser-local-qa3description: Guardrail for choosing the smallest reliable local browser verification surface and evidence type.4---56# Browser Local QA78## Purpose9Help agents choose the smallest reliable browser-verification surface for local UI work, then capture evidence that actually proves the claim. This is a guardrail, not a browser automation manual.1011### Use When12- the task is about localhost, file URLs, or another local UI surface13- the page is already open in the Codex in-app browser and needs inspection14- the work needs a repeatable browser flow, artifact capture, or regression proof15- the target is a desktop or native window and browser capture is not enough1617### Do Not Use When18- the surface is already fixed and only execution remains19- the task is general web research or remote scraping20- the user wants implementation detail for one browser surface instead of surface selection2122## Quick Start231. Start with the live surface the task already has, not with the most powerful tool.242. Choose the smallest reliable layer that can prove the claim: in-app browser, Playwright CLI, Playwright Interactive, or screenshot capture.253. If the claim is visual, collect screenshot evidence; if it is structural, collect DOM or snapshot evidence.264. Prefer Playwright Interactive only when the same browser state must be reused across iterations.275. Stop once one authoritative signal proves the point; do not re-prove it through extra surfaces.286. End with the next verifier and the evidence that was intentionally captured.2930## Operating Constraints31- Do not use DOM-only proof for a visual claim.32- Do not use screenshot-only proof for a structural claim.33- Do not treat screenshot capture as a replacement for actual interaction.34- Do not start with persistent Playwright unless state reuse is the reason.35- Do not escalate to a heavier surface when the current surface already proves the claim.36- Do not turn this into a bootstrap or command-reference skill.37- Do not keep checking the same fact across multiple surfaces after one authoritative signal exists.3839## Inputs This Skill Expects40- The local UI surface and whether it is already open.41- Whether the claim is visual, structural, interactive, or desktop-native.42- Whether the flow needs repeatable automation or persistent session reuse.43- Whether browser capture can reach the needed chrome or window boundary.4445## Output Contract46- Name the chosen surface first.47- Name the first thing to inspect before the next action.48- Name the evidence artifact that will actually be useful to the next verifier.49- Explain why DOM-only proof or screenshot-only proof would be insufficient when that is the case.50- Keep the answer at planning level unless the task explicitly asks for execution detail.5152## Procedure531. Read the surface the user already has before switching tools.542. Classify the claim as visual or structural, then pick the narrowest surface that can prove it.553. Use the in-app browser when the Codex browser already has the context and the task is visible-state oriented.564. Use Playwright CLI when the flow needs repeatable terminal-driven automation, snapshots, or artifacts.575. Use Playwright Interactive when the same browser session must survive across iterations.586. Use screenshot capture when the browser cannot reach the needed desktop or native chrome boundary.597. Capture only the evidence that proves the claim and hand that forward.6061## Pitfalls And Gotchas62- Rejected trope: defaulting to the most automated surface because it feels more rigorous.63- Better alternative: choose the smallest surface that can still prove the claim and keep the proof direct.64- Rejected trope: using screenshots to stand in for interaction evidence.65- Better alternative: interact on the real surface, then capture screenshots only as proof.66- Rejected trope: relying on DOM alone for visible layout, overlay, or pixel-sensitive state.67- Better alternative: pair structural evidence with screenshots only when the claim is visual.68- Rejected trope: bouncing across surfaces after one authoritative signal already answered the question.69- Better alternative: stop when the selected surface has already proven the point.7071## Progressive Disclosure72Start with the narrowest read of the task: what surface exists, what kind of claim must be proven, and what evidence the next verifier will need. Expand only enough to choose between in-app browser, Playwright CLI, Playwright Interactive, and screenshot capture cleanly. Keep the skill compact so it behaves like a guardrail instead of a browser automation course.7374## Verification Pattern75- Confirm the selected surface matches the claim type.76- Confirm visual claims have screenshot evidence when needed.77- Confirm structural claims have DOM or snapshot evidence when needed.78- Confirm Playwright Interactive is only chosen when session reuse matters.79- Confirm the response names one actionable artifact and one next verifier.80- Confirm the answer avoided redundant cross-surface re-checking.