Control the user's current Chrome through the local browser-cli daemon and native CDP. Use when a task needs the already-open logged-in browser, daemon reuse, worker tabs, snapshots, clicks, typing, or low-friction current-browser automation instead of a fresh browser session.
Resources
8Install
npx skillscat add li-xiu-qi/browser-cli Install via the SkillsCat registry.
SKILL.md
browser-cli
Use this skill when the best browser path is the current Chrome session, not a fresh browser instance.
Preconditions
- Chrome is already running
chrome://inspect/#remote-debugginghasAllow remote debugging for this browser instanceenabledbrowser-cliis available in this repo or local install
Default Workflow
- If a daemon is already running, inspect it first:
bin\browser-cli.cmd status --port 54000- If no daemon is running, check reachability and start one:
bin\browser-cli.cmd doctor
bin\daemon-start.cmd 54000- Open or reuse a worker tab:
bin\browser-cli.cmd tab-open --port 54000 --url https://example.com --id task-tab- Keep sending actions through the same worker:
bin\browser-cli.cmd snapshot --port 54000 --worker task-tab
bin\browser-cli.cmd click --port 54000 --worker task-tab --json "{\"ref\":\"button.submit\"}"
bin\browser-cli.cmd type --port 54000 --worker task-tab --json "{\"ref\":\"input[name=q]\",\"text\":\"hello\"}"- Stop the daemon when the task line is complete:
bin\daemon-stop.cmd 54000Operating Rules
- Prefer reusing the same daemon and the same worker for one task line.
- Prefer
statusover repeated freshdoctorprobes once a daemon is already attached. - Snapshot before high-risk click or type steps.
- Treat current-browser mode as shared state.
- Do not assume multi-agent parallel work is isolated just because different workers exist.
- If
doctorfails, troubleshoot the browser session first before redesigning the task.
What This Skill Does Not Try To Do
- It does not replace full browser frameworks.
- It does not provide a generic MCP server abstraction.
- It does not hide the fact that current-browser mode shares state.
- It does not bundle site-specific browsing strategies into the skill itself.