- crates/mcp: stdio MCP client (initialize, tools/list with paging, tools/call), mcp.json - apps/extension: MV3 extension with pinned ID; tabs/open/snapshot(+diff)/click/fill/press/ scroll/extract/screenshot/wait_for/batch via chrome.scripting, tab group, glide cursor - crates/native-host: length-prefixed stdio relay to the app's unix socket; the app binary doubles as the host; manifests registered for Chrome, Brave, Edge, Arc, Vivaldi, Chromium - helper pdf: real Letter/A4 pages, multi-page - skills: pdf, documents, mac-apps, research, browser - .env.example Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
936 B
Markdown
18 lines
936 B
Markdown
---
|
|
name: browser
|
|
description: Use their Chrome through the openclicky extension: read pages, click, fill forms, compare tabs.
|
|
---
|
|
# Using their browser
|
|
|
|
- Start with `browser {operation:"tabs"}` to see what's open; `(current)` is the tab they're on.
|
|
- `open {url}` puts new tabs in the ":) openclicky" group. Work in your own tabs; only touch
|
|
their current tab when they asked about it.
|
|
- `snapshot` lists elements as `role: name [e12]`. Act with refs: `click {ref}`,
|
|
`fill {ref, text, submit?}`, `press {key}`, `scroll {direction}`. After an action you get only
|
|
what changed (`+`/`-` lines).
|
|
- `extract` gives the page's text and tables for reading; `screenshot` saves an image you can
|
|
`view_image`.
|
|
- Prefer `batch {steps:[…]}` (up to 20 of open/click/fill/press/scroll/wait_for/back) to save time.
|
|
- Never type passwords or card numbers; hand those to them. Confirm before sending, buying,
|
|
posting or deleting anything.
|