sessions

sessions is a skill for Claude Code from leeguooooo/chrome-use. It costs 68 tokens per session (1,563 once invoked), scanned A, original, from a forked repository, Apache-2.0.

A browser-session management skill for running isolated browser sessions, each with its own cookies, tabs, and element references. It also supports recovering tabs and restarting stuck session processes.

In plain words
What is it for?
Running multi-user tests, scraping several flows in parallel, recovering stranded tabs, reusing tabs, and resetting stuck browser sessions.
Why use it?
It prevents parallel browser tasks or agents from sharing state and interfering with one another.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Good fit Running multi-user tests, scraping several flows in parallel, recovering stranded tabs, reusing tabs, and resetting stuck browser sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leeguooooo/chrome-use/sessions
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add leeguooooo/chrome-use --skill sessions
Clone the repo
git clone --depth 1 https://github.com/leeguooooo/chrome-use

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sessions

README.md
[![agentmods](https://agentmods.dev/badge/skills/leeguooooo/chrome-use/sessions/github.svg)](https://agentmods.dev/skills/leeguooooo/chrome-use/sessions)
Your own site
<a href="https://agentmods.dev/skills/leeguooooo/chrome-use/sessions"><img src="https://agentmods.dev/badge/skills/leeguooooo/chrome-use/sessions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sessions

Your own site · 80×15
<a href="https://agentmods.dev/skills/leeguooooo/chrome-use/sessions"><img src="https://agentmods.dev/badge/skills/leeguooooo/chrome-use/sessions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin fork From a forked repository.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.01563
Opus 5.5 $0.00027 $0.00625
Sonnet 5.5 $0.00014 $0.00313
Haiku 4.5 $0.00007 $0.00156

Measured 29d ago against content hash d80005dad2ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sessions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skill-data/sessions/SKILL.md · 119 lines

How it starts

The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.

chrome-use — Sessions & Parallel Browsers

Run several isolated browser sessions at once, adopt a stranded tab across sessions by its CDP targetId, and reset stuck session daemons.

Run multiple browsers in parallel

Each --session <name> is an isolated browser with its own cookies, tabs, and refs. Useful for testing multi-user flows or parallel scraping:

chrome-use --session a open https://app.example.com
chrome-use --session b open https://app.example.com
chrome-use --session a fill @e1 "[email protected]"
chrome-use --session b fill @e1 "[email protected]"

AGENT_BROWSER_SESSION=myapp sets the default session for the current shell.

Concurrent agents MUST each use a distinct --session <name>. Within one session, commands are pinned to the tab you opened (by target_id, so a foreign tab can't drift your eval/screenshot). Two agents sharing the same session (e.g. both on the bare default) share one daemon and one active tab and will clobber each other.

True multi-agent isolation requires the extension-connect path: each --session gets its own colored Chrome tab group, so sessions never touch each other's tabs. Raw --cdp <port> does NOT isolate — every session attaches to the same browser's existing targets, so a second session's first open can navigate a sibling's tab. For concurrent agents on one real Chrome, use the extension (each with a distinct --session), not raw --cdp.

Each session drives only its own tabs (sessions of one project share the project's tab group) and assigns its own t<N> indices (the same physical tab is t8 in one session, t1 in another), so t<N> is not a stable cross-session handle. To reach a specific tab from another session — e.g. a tab that was filled in a session whose handle later died — use the stable CDP targetId:

chrome-use tab list --full --session B   # re-syncs live tabs; prints `target: <id>` per row
chrome-use tab adopt <targetId> --session B # explicitly adopt it, NO reload

Read the full file on GitHub · 119 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed · +13 lines d80005dad2ba
  2. 1mo ago Changed · +1 lines 31905ad8610b
  3. 1mo ago Changed c65adcb6f46f
  4. 3mo ago First seen · 105 lines · 68 tokens per session scan A 97adbe91464a

Subscribe to this mod's changes

sessions is a skill published in the GitHub repository leeguooooo/chrome-use (282 stars, last pushed yesterday), licensed Apache-2.0. It adds 68 tokens to every session and 1,563 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

sessions compared with skills from other repositories

sessions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sessionsleeguooooo/chrome-useSkill282yesterdayApache-2.0A68Claude Code
surfnicobailon/surf-cliSkill7055d agoMITA53Claude Code, Codex
Agent Browser AutomationPramodDutta/qaskillsSkill2531mo agoMITA37Claude Code, Codex
Browser-Use AutomationPramodDutta/qaskillsSkill2531mo agoMITB38Claude Code, Codex
cursor-browserbcharleson/cursor-browser-cliSkill39d agoMITA83Claude Code, Codex
wbrowserw-partners/WbrowserSkill31yesterdayMITC81Claude Code, Codex
ultimate-playwrightpm990320/ultimate-playwright-mcpSkill38mo agononeA74Claude Code, Codex