browser

browser is a skill for Claude Code, Codex from shibing624/agentica. It costs 71 tokens per session (2,903 once invoked), scanned A, original, Apache-2.0.

A command-line browser controller for real or headless browsers. It can load interactive pages, click and fill forms, inspect errors, take screenshots, and use an existing logged-in browser session.

In plain words
What is it for?
Use it to verify local web UI changes, test interactive flows, inspect console and network problems, and check sites that require a login.
Why use it?
Simple page fetching cannot run JavaScript, interact with controls, or access authenticated pages. This provides a way to check what users actually see and do.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to verify local web UI changes, test interactive flows, inspect console and network problems, and check sites that require a login.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/shibing624/agentica/browser
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 shibing624/agentica --skill browser
Clone the repo
git clone --depth 1 https://github.com/shibing624/agentica

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/shibing624/agentica/browser/github.svg)](https://agentmods.dev/skills/shibing624/agentica/browser)
Your own site
<a href="https://agentmods.dev/skills/shibing624/agentica/browser"><img src="https://agentmods.dev/badge/skills/shibing624/agentica/browser/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 browser

Your own site · 80×15
<a href="https://agentmods.dev/skills/shibing624/agentica/browser"><img src="https://agentmods.dev/badge/skills/shibing624/agentica/browser.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,903 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 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.1 $0.00071 $0.02903
Opus 5.5 $0.00028 $0.01161
Sonnet 5.5 $0.00014 $0.00581
Haiku 4.5 $0.00007 $0.00290

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

Security

Grade A, and why

browser 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 8d 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.

agentica/skills/bundled/browser/SKILL.md · 252 lines

How it starts

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

Browser automation

Two surfaces, in this order:

  1. Preferred — BrowserTool: strong-typed tools when the agent has them installed. It encodes the observation/ref/action contract so the model does not have to reconstruct it from shell text.
  2. Fallback — shell drivers via execute: no schema tokens on turns that do not touch a browser, but the model must manage daemon lifecycle, refs and cleanup itself.

There is no dedicated browser tool in the default tool list on purpose. Enable one explicitly with Agent(tools=[BrowserTool()]). Drive the CLI fallback through execute.

If you only need to read a public static page, use fetch_url first. Reach for a browser when the page needs JavaScript, you are verifying a UI you just edited, or the task requires clicking, filling forms, screenshots, or the user's existing login state.


1. Strong-typed tools (BrowserTool)

from agentica import Agent, BrowserTool

browser = BrowserTool()          # one warm `agent-browser` daemon session
agent = Agent(tools=[browser])
try:
    ...
finally:
    await browser.close()        # application-boundary cleanup

Registered functions: browser_observe, browser_act, browser_press, browser_upload, browser_close. The contract is also injected into the system prompt via get_system_prompt():

  • browser_observe(url, max_elements) returns a compact accessibility tree with short refs ([ref=eN]) plus a generation number; defaults to 240 interactive elements (use snapshot -i semantics).
  • Refs belong to one generation. Navigation, any action, or a re-observation invalidates them; browser_act refuses stale refs with an explicit error.
  • browser_act(ref, action, text, wait_for) combines the action, an optional wait, and a URL read in ONE call. Do not split action + verification into separate turns.
  • browser_press(text=...) inserts a whole text block via keyboard inserttext; never send one character per call.
  • browser_close() ends the daemon; also call await browser.close() in a finally block at the application boundary.

Read the full file on GitHub · 252 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. 8d ago Changed · +139 lines · -10 tokens per session 6644a41ddf3c
  2. 20d ago First seen · 113 lines · 81 tokens per session scan A 6bf99fe68a90

Subscribe to this mod's changes

browser is a skill published in the GitHub repository shibing624/agentica (368 stars, last pushed yesterday), licensed Apache-2.0. It adds 71 tokens to every session and 2,903 once invoked, about $0.0003 per session on Opus 5.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-11-09.

Related

browser compared with skills from other repositories

browser next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
browsershibing624/agenticaSkill368yesterdayApache-2.0A71Claude Code, Codex
web-scrapingginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A51Claude Code, Codex
browserginlix-ai/LangAlphaSkill2.4ktodayApache-2.0A48Claude Code, Codex
svg-chartNUGURI-7/CoCoWorkSkill1611d agoMITA75Claude Code, Codex
playwrightopenai/openai-agents-pythonSkill31ktodayMITA19Claude Code, Codex
web-searchopensquilla/opensquillaSkill7.2k4d agoApache-2.0A76Claude Code, Codex
feature-demo-recordingkirodotdev/KiroCrewSkill5.1ktodayApache-2.0A90Claude Code, Codex