agentleFS
tim-osterhustim-osterhus/millrace-skills/skills/browser-local-qa/SKILL.md

browser-local-qa

Skill0 starsChanged 7 months agoApache-2.0View on GitHub

Guardrail for choosing the smallest reliable local browser verification surface and evidence type.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 17 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start with the live surface the task already has, not with the most powerful tool.

    line 39
  2. Distinctive:

    If the claim is visual, collect screenshot evidence.

    line 41
  3. Distinctive:

    Prefer Playwright Interactive only when the same browser state must be reused across iterations.

    line 42
  4. Distinctive:

    Stop once one authoritative signal proves the point.

    line 43
  5. Distinctive:

    Do not use DOM-only proof for a visual claim.

    line 47
  6. Distinctive:

    Do not use screenshot-only proof for a structural claim.

    line 48
  7. Distinctive:

    Do not treat screenshot capture as a replacement for actual interaction.

    line 49
  8. Distinctive:

    Do not start with persistent Playwright unless state reuse is the reason.

    line 50
  9. Distinctive:

    Do not escalate to a heavier surface when the current surface already proves the claim.

    line 51
  10. Distinctive:

    Do not turn this into a bootstrap or command-reference skill.

    line 52
  11. Distinctive:

    Do not keep checking the same fact across multiple surfaces after one authoritative signal exists.

    line 53
  12. Distinctive:

    Keep the answer at planning level unless the task explicitly asks for execution detail.

    line 66
  13. Distinctive:

    Read the surface the user already has before switching tools.

    line 69
  14. Distinctive:

    Use the in-app browser when the Codex browser already has the context and the task is visible-state oriented.

    line 71
  15. Distinctive:

    Use Playwright CLI when the flow needs repeatable terminal-driven automation, snapshots, or artifacts.

    line 72
  16. Distinctive:

    Use Playwright Interactive when the same browser session must survive across iterations.

    line 73
  17. Distinctive:

    Use screenshot capture when the browser cannot reach the needed desktop or native chrome boundary.

    line 74

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Start with the live surface the task already has, not with the most powerful tool.
  2. Choose the smallest reliable layer that can prove the claim: in-app browser, Playwright CLI, Playwright Interactive, or screenshot capture.
  3. If the claim is visual, collect screenshot evidence; if it is structural, collect DOM or snapshot evidence.
  4. Prefer Playwright Interactive only when the same browser state must be reused across iterations.
  5. Stop once one authoritative signal proves the point; do not re-prove it through extra surfaces.
  6. 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

  1. Read the surface the user already has before switching tools.
  2. Classify the claim as visual or structural, then pick the narrowest surface that can prove it.
  3. Use the in-app browser when the Codex browser already has the context and the task is visible-state oriented.
  4. Use Playwright CLI when the flow needs repeatable terminal-driven automation, snapshots, or artifacts.
  5. Use Playwright Interactive when the same browser session must survive across iterations.
  6. Use screenshot capture when the browser cannot reach the needed desktop or native chrome boundary.
  7. 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.