Let Claude Code or Codex use your logged-in Chrome (without opening a debug port)
Описание и применение
Коды агента могут использовать ваш уже вошедший в Chrome, не открывая порт отладки, благодаря расширению chrome‑use и CLI, которые подключаются через native messaging, сохраняя состояние сессии.
Задача
Coding agents often get stuck because they launch a fresh browser context that is not signed in, preventing access to logged‑in sites and requiring manual login steps.
Результат
Agents can now interact with the user’s signed‑in Chrome without opening a remote‑debugging port, preserving session state, avoiding repeated confirmation dialogs, and allowing the user to handle 2FA or CAPTCHA steps directly.
Рабочий процесс
- Install the chrome‑use CLI via a one‑line script
- Add the chrome‑use extension from the Chrome Web Store and register the native‑messaging host
- Configure the agent (Claude Code, Codex, Cursor, or custom scripts) to use the chrome‑use skill
- Run a read‑only task to verify the agent can interact with the user’s signed‑in Chrome
- Proceed to authenticated tasks once verified
Доказательства
Ask a coding agent to "check the open issues on our dashboard" and it usually gets stuck at the first step. The browser it drives is a fresh automation browser, and that browser is signed in to nothing.
chrome-use takes a third path.
The CLI talks to a small extension over Chrome native messaging: a local inter-process channel with no network socket, no token and no remote server.
- Дата записи: 2026-10-27T08:26:18.230Z