opencli-browser — скилл для Claude Code: что делает и как установить
Скилл управляет Chrome через OpenCLI: читает страницы, работает с авторизованными сайтами и собирает данные о сетевых запросах.
npx skills add jackwener/OpenCLI --skill opencli-browser -a claude-codeЧто делает opencli-browser
opencli-browser даёт агенту команды для работы с Chrome через OpenCLI. Он открывает страницы, читает состояние интерфейса, находит элементы и выполняет действия: заполняет поля, нажимает кнопки, выбирает значения, загружает файлы и работает с диалогами. Скилл также умеет ждать XHR, селекторы, текст и загрузки.
Работа с вкладками идёт через именованные сессии, а профиль Chrome задаётся отдельно. Агент получает JSON-результаты и коды ошибок. Через network можно посмотреть ключи запросов, формы ответов и при необходимости тело ответа; static добавляет кандидатов API из загруженных скриптов, но сам по себе их не подтверждает. Для проверки проблем с подключением есть opencli doctor.
Скилл подходит, если агенту нужно исследовать живой сайт или повторять действия в авторизованной сессии. Для простых задач без Chrome и OpenCLI его ставить не стоит.
Какие задачи решает
- проверить страницу в авторизованной сессии Chrome
- найти элемент и заполнить форму
- собрать ключи и тела API-запросов
- сделать снимок страницы после действия
- создать и сгруппировать вкладки Chrome
Примеры запросов агенту
- Открой сайт через `opencli browser open`, сохрани сессию `research` и проверь состояние страницы.
- Найди кнопку Search по роли и имени, нажми её и дождись ответа XHR.
- Покажи сетевые запросы страницы, затем изучи подробности по ключу через `opencli browser network --detail`.
Как установить opencli-browser
1Через Skills CLI (Vercel)
npx skills add jackwener/OpenCLI --skill opencli-browser -a claude-code2Вручную: положить файлы
~/.claude/skills/opencli-browser/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/opencli-browser/
1Через Skills CLI (Vercel)
npx skills add jackwener/OpenCLI --skill opencli-browser -a codex2Вручную: положить файлы
.agents/skills/opencli-browser/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add jackwener/OpenCLI --skill opencli-browser -a cursor2Вручную: положить файлы
.cursor/skills/opencli-browser/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install jackwener/OpenCLI opencli-browser2Вручную: положить файлы
.github/skills/opencli-browser/SKILL.md1Через Skills CLI (Vercel)
npx skills add jackwener/OpenCLI --skill opencli-browser -a gemini-cli2Командой платформы
gemini skills install https://github.com/jackwener/OpenCLI --path skills/opencli-browserВручную: положить файлы
.devin/skills/opencli-browser/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add jackwener/OpenCLI --skill opencli-browser -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора3
Весь набор →Похожие
Вопросы о opencli-browser
Как установить opencli-browser в Claude Code?
Выполните npx skills add jackwener/OpenCLI --skill opencli-browser -a claude-code. Файл скилла появится в ~/.claude/skills/opencli-browser/SKILL.md.
Что делает opencli-browser?
Скилл управляет Chrome через OpenCLI: исследует страницы, взаимодействует с элементами, получает данные о запросах и управляет вкладками, группами и окнами.
С какими платформами работает opencli-browser?
Скилл рассчитан на Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode.
Исходный текст
SKILL.md · Apache-2.0
---
name: opencli-browser
description: Drive Chrome with OpenCLI to inspect pages, interact with logged-in sites, capture API evidence, and manage native tabs, groups and windows. For reusable adapters, see opencli-adapter-author.
allowed-tools: Bash(opencli:*), Read, Edit, Write
---
# Browser tools for agents
Use the capability that fits the task. Discover commands with `opencli list <query>`;
read exact arguments with `opencli browser <command> --help -f json`.
Run `opencli doctor` when diagnosing a connection problem.
## Scope and results
Page commands require `--session <name>`. Reuse that name across a task; different
sessions isolate page work. `--profile <name>` selects a Chrome profile when needed.
Options can follow command arguments:
```sh
opencli browser open https://example.com --session research
opencli browser state --session research
opencli browser click --role button --name Search --session research
opencli browser close --session research
```
Default output is one JSON value: `{ "ok": true, "data": ... }`.
Failures return `{ "ok": false, "error": { "code": "...", "message": "...", "hint": "..." } }`
and a nonzero exit code. Diagnostic logs go to stderr. `network --follow` and
`console --follow` stream one envelope per line. Help, version and shell completion
are inspection/export surfaces; structured help uses `--help -f json`.
Read the returned data and error fields. When `error.outcome` is `unknown`, inspect
the affected state before retrying a write.
## Page targets and interaction
- `state` returns URL and interactive element refs. `--diagnostics` also reports
page title and available initial-state globals; `--source ax` selects the AX tree.
- `find` locates elements. Interaction targets accept a ref, CSS selector, or
semantic flags such as `--role`, `--name`, `--label`, `--text`, `--testid`.
- Use `--nth` to resolve deliberate multiple matches. On stale refs, read fresh
state or locate the element again; refs describe the observed page.
- `fill` replaces a field and verifies its value; `type` types text. Other actions
include `click`, `select`, `check`, `upload`, `drag`, `keys` and `dialog`.
- `get text|value|attributes|html`, `extract`, `screenshot` and `eval` expose page data.
`eval` executes JavaScript in the page and can mutate state.
- `wait xhr|selector|text|download` observes an expected condition. Consult help for
timeouts and matching rules.
- `tab list|new|select|close` manages session tabs. `--tab` accepts the page identity
returned by these commands; these are different from numeric native Chrome IDs.
- `frames` lists frame targets; `eval --frame` evaluates in a selected frame.
`bind --session research` attaches the current user tab. Bound sessions permit
navigation but block tab creation, selection and closure. `unbind` releases the
binding without closing the user tab. Owned sessions keep leased tabs until
`close` or idle expiry. `--window foreground|background` controls owned windows.
## Network and scripts
```sh
opencli browser network --session research
opencli browser network --detail RequestKey --session research
opencli browser network --static --session research
```
`network` returns captured request keys and response shapes. `--detail` reads a
cached request; `--filter` selects shapes; `--raw` exposes response bodies.
`--static` adds Acorn AST candidates from loaded scripts, with source locations,
methods, query/body parameter names and observed request evidence. `EXPR` means
an unresolved expression. Static candidates are not executed or proven APIs.
Check `analysisComplete`, script errors, omitted scripts and `networkSource`.
An empty live capture can reuse a recent cache; reported provenance distinguishes it.
## Native Chrome management
Native calls need no session and do not attach a page:
```sh
opencli browser chrome describe
opencli browser chrome describe tabs.group
opencli browser chrome call tabs.query '[{}]'
opencli browser chrome call tabs.group '[{"tabIds":[123,456],"createProperties":{"windowId":10}}]'
opencli browser chrome call tabGroups.update '[789,{"title":"Research","color":"blue"}]'
```
Use numeric IDs returned by Chrome, replacing the example IDs. `describe` lists
supported methods, signatures, live permissions and official documentation.
Native-created tabs/windows persist. Mutations touching active OpenCLI session
tabs or managed groups return `managed_resource_conflict`; ordinary groups can be
created, renamed, recolored, moved and dissolved with `tabs.ungroup`.
© jackwener · Apache-2.0 · jackwener/OpenCLI