browser-skill

browser-skill is a skill for Claude Code, Codex from HK-hub/AgentSkills. It costs 64 tokens per session (4,445 once invoked), scanned A, original, MIT.

A browser-automation skill for controlling the user's logged-in Chromium browser through the bsk command-line tool.

In plain words
What is it for?
It helps visit and scrape accessible websites, complete multi-step forms, smoke-test deployed interfaces, and inspect pages or user-selected tabs.
Why use it?
It removes the need to manually open pages, read content, fill forms, and click through browser workflows. It keeps normal browser windows protected unless a specific tab is temporarily used.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hk-hub/agentskills/browser-skill
Any agent
npx skills add HK-hub/AgentSkills --skill browser-skill
Clone the repo
git clone --depth 1 https://github.com/HK-hub/AgentSkills

Made for: Claude Code, Codex.

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 browser-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/hk-hub/agentskills/browser-skill.svg)](https://agentmods.dev/skills/hk-hub/agentskills/browser-skill)
Your own site
<a href="https://agentmods.dev/skills/hk-hub/agentskills/browser-skill"><img src="https://agentmods.dev/badge/skills/hk-hub/agentskills/browser-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,445 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
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 $0.00064 $0.04445
Opus 5 $0.00032 $0.02223
Sonnet 5 $0.00013 $0.00889
Haiku 4.5 $0.00006 $0.00445

Measured 5d ago against content hash 7556a415ec61, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

browser-skill 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 5d 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.

browser-skill/SKILL.md · 304 lines

How it starts

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

browser-skill

Drive the user's real Chromium browser (with their logins and cookies) through the bsk CLI. The extension opens an isolated Agent Window for automation; the user's normal windows stay protected unless you explicitly borrow a tab.

When to use

  • Open pages, read titles/text, scrape structured data from sites the user can already access
  • Fill forms, click through multi-step flows, smoke-test a UI change
  • Understand pages with bsk snapshot first; use bsk get-html or bsk screenshot only when the snapshot is insufficient
  • Operate on a specific user tab they point you at (after bsk tab borrow)

When NOT to use

  • Tasks with no browser involved (files, APIs, databases only)
  • Installing or configuring the extension (point the user to setup docs instead)
  • Credential harvesting — never run bsk evaluate on banking, SSO, or password-manager pages to extract tokens, cookies, or secrets
  • Long-lived control of a user's personal login window — borrow only for the immediate step, then bsk tab return or end the session
  • Replacing the user's manual browsing when they only wanted an explanation

Prerequisites

  1. bsk on PATH (Rust CLI from browser-skill)
  2. browser-skill extension loaded in Chromium and connected (popup shows green)
  3. Any bsk command auto-starts background services as needed; use bsk doctor if anything fails

Mandatory workflow

Every automation task must follow this lifecycle. Do not rely on idle timeouts (default session idle is 5 minutes).

1. bsk session start              → capture the 4-letter session id printed on stdout
2. … every tool command …        → always pass --session <id>
3. bsk session stop <id>          → REQUIRED when done (even on error paths)

Optional: bsk session start --browser <instance-id-or-label> when multiple browsers are connected (bsk browsers / error output lists them).

Emergency cleanup: bsk session stop --all or the Agent Window overlay Stop all.

Read the full file on GitHub · 304 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. 5d ago First seen · 304 lines · 64 tokens per session scan A 7556a415ec61

Subscribe to this mod's changes

browser-skill is a skill published in the GitHub repository HK-hub/AgentSkills (6 stars, last pushed 17d ago), licensed MIT. It adds 64 tokens to every session and 4,445 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

playwright-pom-discovery

Use when building or extending a Page Object Model (POM) for the Opik E2E suite (under testsendtoend/e2e/pom/) and you need to choose stable selectors against the live UI. Walks through seeding required state, exploring the running page with the Playwright MCP (accessibility snapshot + data-testid enumeration)…

comet-ml/opik · 112 tokens

search-params

URL search param and hash state management. Use when adding or modifying URL search params, working with useSearchParams, setSearchParams, useSearchParamState, or navigate() with query strings or hash fragments, or fixing browser back/forward button issues.

promptfoo/promptfoo · 55 tokens

southwest

Search Southwest Airlines fares and points pricing via Patchright browser automation. SW is not in any GDS or API. Covers all fare classes, Companion Pass value, and fare drop monitoring.

borski/travel-hacking-toolkit · 40 tokens

vrbo

Search VRBO (Vrbo / Expedia Group) vacation rentals including entire homes, condos, and cabins via Patchright browser automation. VRBO sits behind Akamai Bot Manager so plain HTTP and standard Playwright get a 429 bot wall. Use for whole-home or group stays, multi-bedroom rentals, and Airbnb-vs-VRBO comparisons.…

borski/travel-hacking-toolkit · 97 tokens

agent-browser

Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.

code-yeongyu/oh-my-openagent · 51 tokens

american-airlines

Check American Airlines AAdvantage balance, elite status, and loyalty points via Patchright. Handles email 2FA with 6-box code entry. Uses persistent browser profiles to skip 2FA on subsequent runs.

borski/travel-hacking-toolkit · 47 tokens