| name | browser-harness |
| description | Site-specific browser playbooks (domain-skills, interaction-skills) for Naver, GitHub, etc. Automate the browser with the browser-use CLI (state/indexed elements, eval, screenshots)โsame stack as skills/browser-use. Upstream browser-harness Python repo is optional for advanced CDP. |
| allowed-tools | Bash(browser-use:*) |
browser-harness (reference pack) + browser-use CLI
This folder bundles domain-skills/ and interaction-skills/ from browser-use/browser-harness (site maps, UI mechanics). Automation in this project uses the browser-use command, documented in detail in ../browser-use/SKILL.mdโsame flow as that skill.
| Topic | Where |
|---|
Install, commands, state / click / input / eval / cloud / profiles | ../browser-use/SKILL.md |
| Naver, domains, gotchas, CAPTCHA, APIs (this tree) | domain-skills/<site>/ โ e.g. domain-skills/naver/scraping.md |
| Dialogs, iframes, scroll, โฆ (bundled) | interaction-skills/*.md |
Do not use the separate browser-harness shell command as the default driver here unless the user explicitly asks for the upstream Python harness / helpers.py / new_tab+js workflow.
Browser automation: browser-use CLI (default)
Prerequisites: browser-use doctor โ see browser-use skill README / upstream CLI docs.
- Navigate:
browser-use open <url> (add --headed to see the window, --connect to attach to running Chrome, or --profile "Default" for saved logins)
- Inspect:
browser-use state โ indices for click targets
- Interact:
browser-use click <index>, browser-use input <index> "text", browser-use keys "Enter"
- Scripted DOM / one-off:
browser-use eval "JavaScript returning a value" (replaces a harness js("...") snippet)
- Screenshot:
browser-use screenshot [path.png] (or no path for base64)
- Session stays open between commands โ for โsame tab, donโt open againโ, do not run
open for the same task; use state / eval / click on the current page
- Done:
browser-use close
Maps from harness docs โ CLI (when reading domain-skills/)
js("...") / in-page script โ browser-use eval "..." (escape quotes for shell; use browser-use python for multiline if needed)
capture_screenshot(path) โ browser-use screenshot path.png
new_tab(url) / first visit โ browser-use open <url>
- โWhich element?โ โ
browser-use state first, then click / input by index
- Remote cloud browser โ
browser-use cloud connect and related commands in browser-use skill (not the harness start_remote_daemon + BU_NAME unless user insists on the harness)
Chaining (same session)
browser-use open https://search.shopping.naver.com/search/all?query=demo
browser-use state
browser-use eval "document.body.innerText.slice(0,2000)"
Read ../browser-use/SKILL.md for the full command table, profiles, CDP, cloud, and troubleshooting.
Search first (this directory)
rg --files domain-skills
rg -n "naver|shopping" domain-skills
Examples: domain-skills/naver/scraping.md, domain-skills/github/scraping.md, โฆ
Paths: from repo root, under application/skills/browser-harness/.
When to use this skill
- Domain-specific navigation (Naver security, site APIs, URL patterns) โ read
domain-skills/ then drive the page with browser-use.
- Reusable UI patterns (iframes, scrolling) โ
interaction-skills/; implement with browser-use (eval, wait, state, scroll).
Always contribute back
Non-obvious site learnings belong in upstream domain-skills/ as PRs. This projectโs domain-skills/ is a snapshot; refresh from upstream when appropriate.
What a domain skill should capture
Durable site shape: URL patterns, APIs, selectors, quirks, traps โ not one-off run logs or secrets.
Optional: upstream browser-harness command (not default here)
browser-harness is a separate Python tool: new_tab / click_at_xy / helpers.py / CDP daemon. Use only if the user explicitly wants that flow; install and SKILL.md live in the upstream repo, not in this file.
- Docs: upstream
SKILL.md, install.md, helpers.py
- This projectโs default for agents is
browser-use CLI as above
References
Skill location in this project
| Path | Role |
|---|
SKILL.md (this file) | Use browser-use CLI + where to read bundled skills |
domain-skills/ | Site-specific reference (bundled) |
interaction-skills/ | UI mechanics reference (bundled) |