agentleFS
Adonis0123Adonis0123/hermes-kit/skills/desktop-browser-chrome/SKILL.md

desktop-browser-chrome

Skill1 starsChanged 50 days agoMITView on GitHub

Use when opening URLs in the user's real Chrome.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a tab title already is the target site → click that tab.

    line 46
  2. Very specific:

    Default computer_use is background.

    line 60
  3. Distinctive:

    Do not re-type a URL that already confirmed in the omnibox.

    line 67

≈ “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

Desktop browser chrome (Chrome via computer_use)

Load computer-use first for the full capture / escalate ladder. This skill only adds browser chrome navigation validated on the owner's macOS Chrome (cua-driver background + foreground).

When to use

  • User asks to open a site in their Chrome (not headless)
  • Task needs logged-in profile / extensions / existing tabs
  • Omnibox / tabs / window chrome — not page DOM (for page content prefer cua_browser_* when binding is exact, or headless browser_*)

Success criteria (hard)

Do not claim navigation success from address-bar text alone.

SignalEnough?
Omnibox value = target URLno
type → effect: confirmedno
Window title / web-area label matches siteyes
Address bar + main content both matchyes (best)

Example: after https://example.com, wait until title looks like Example Domain … (not still the previous page, e.g. … Jenkins).

Preferred open-URL sequence (macOS)

  1. list_apps / focus_app(app="Google Chrome", raise_window=false).
  2. capture(mode="som", app="Google Chrome").
  3. If a tab title already is the target site → click that tab; done.
  4. Else navigate with foreground chrome focus (one coherent sequence):
key(keys="cmd+l", delivery_mode="foreground")
type(text="https://example.com", delivery_mode="foreground")
key(keys="return", delivery_mode="foreground", capture_after=true)
  1. Re-check title / web area. If still on old page → one more foreground cmd+l → type → return, or ask user to press Enter once.

Background-first still applies — then escalate

Default computer_use is background. For Chrome omnibox:

AttemptTypical resultNext
Click address field + type + background returnURL written; page may not change; Enter often unverifiableEscalate submit to foreground
Foreground cmd+l + type + returnPage actually navigatesVerify title

Do not re-type a URL that already confirmed in the omnibox; only re-submit (or re-run the full foreground jump).

Pitfalls

SymptomCauseFix
Omnibox shows URL, content still old siteBackground Enter / AXPress did not submit navigationForeground cmd+l → type → return
Click address field feels flakyOmnibox UX / focusPrefer cmd+l over clicking the text field
Huge SOM trees on Jenkins-like pagesDense AXScope app="Google Chrome"; ignore page body until chrome is done
User said "continue yourself"Expect agent to escalate, not stop at half-stateKeep going until title/content verify or one clear blocker

Related

  • Full tool vocabulary + escalate ladder: skill computer-use
  • Session notes: references/chrome-omnibox-navigation.md

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.