browser-automation

browser-automation is a skill for Claude Code, Codex from Zaoqu-Liu/ScienceClaw. It costs 99 tokens per session (1,659 once invoked), scanned A, original, MIT.

A browser-control tool for collecting data from scientific websites that lack usable programming interfaces.

In plain words
What is it for?
Navigate research databases, submit multi-step searches, extract results, and download files such as supplementary datasets.
Why use it?
It helps retrieve publicly viewable information from sites with complex forms or browser-only access.

Skill for Claude CodeCodex

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

Good fit Navigate research databases, submit multi-step searches, extract results, and download files such as supplementary datasets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zaoqu-liu/scienceclaw/browser-automation
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 Zaoqu-Liu/ScienceClaw --skill browser-automation
Clone the repo
git clone --depth 1 https://github.com/Zaoqu-Liu/ScienceClaw

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-automation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zaoqu-liu/scienceclaw/browser-automation"><img src="https://agentmods.dev/badge/skills/zaoqu-liu/scienceclaw/browser-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00099 $0.01659
Opus 5.5 $0.00040 $0.00664
Sonnet 5.5 $0.00020 $0.00332
Haiku 4.5 $0.00010 $0.00166

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

Security

Grade A, and why

browser-automation scanned grade A with 1 finding 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 3mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

description: Browser automation for accessing scientific databases that lack REST APIs. Uses the browser-use Python framework (81k+ GitHub stars) to control a real browser via LLM vision. Enables data extraction from web
skills/browser-automation/SKILL.md · 215 lines

How it starts

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

Browser Automation for Scientific Data Collection

Access scientific databases that have no REST API by controlling a real browser programmatically. Uses the browser-use framework (vision-based LLM browser automation).

When to Use

  • Target database has no REST API (e.g., GEPIA2, some COSMIC pages)
  • curl returns 403/captcha/login required and the data is publicly viewable in a browser
  • Need to navigate multi-step web forms (e.g., TIMER2.0 correlation analysis)
  • Need to download files from web interfaces (e.g., GEO supplementary data)
  • API exists but is severely rate-limited and web access is faster

When NOT to use:

  • REST API is available and working → use curl
  • Data requires paid subscription → do not circumvent paywalls
  • Data can be obtained from an alternative open API → prefer the API

Installation Check

Before using browser automation, verify the environment:

bash: python3 -c "
try:
    import browser_use
    print('✅ browser-use installed')
except ImportError:
    print('❌ browser-use not installed')
    print('   Install: pip install browser-use')

import shutil
if shutil.which('chromium') or shutil.which('chromium-browser') or shutil.which('google-chrome'):
    print('✅ Chromium/Chrome found')
else:
    print('⚠️  No Chromium/Chrome found')
    print('   Install: apt-get install chromium-browser (Linux)')
    print('   Or: brew install --cask chromium (macOS)')

try:
    import playwright
    print('✅ Playwright installed')
except ImportError:
    print('❌ Playwright not installed')
    print('   Install: pip install playwright && python -m playwright install chromium')
"

If not installed:

pip install -q browser-use playwright && python -m playwright install chromium

Usage Pattern

Basic: Extract data from a web page

from browser_use import Agent, Browser, BrowserConfig
from langchain_openai import ChatOpenAI
import asyncio

async def extract_gepia2_data(gene: str, cancer: str):
    """Extract gene expression data from GEPIA2 (no API available)."""
    browser = Browser(config=BrowserConfig(headless=True))
    llm = ChatOpenAI(model="gpt-4o", api_key=os.environ["OPENAI_API_KEY"])

    agent = Agent(
        task=f"""Go to http://gepia2.cancer-pku.cn/#analysis
        1. Click on 'Expression DIY' in the left menu
        2. In the gene input box, type '{gene}'
        3. Select '{cancer}' from the cancer type dropdown
        4. Click 'Plot' button
        5. Wait for the plot to load
        6. Extract the median expression values for Tumor and Normal from the plot
        7. Return the values as JSON: {{"gene": "{gene}", "cancer": "{cancer}", "tumor_median": X, "normal_median": Y}}
        """,
        llm=llm,
        browser=browser,
    )

    result = await agent.run()
    await browser.close()
    return result

result = asyncio.run(extract_gepia2_data("THBS2", "PAAD"))
print(result)

Read the full file on GitHub · 215 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. 3mo ago First seen · 215 lines · 99 tokens per session scan A ca004f4a4d5d

Subscribe to this mod's changes

browser-automation is a skill published in the GitHub repository Zaoqu-Liu/ScienceClaw (60 stars, last pushed 20d ago), licensed MIT. It adds 99 tokens to every session and 1,659 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

browser-automation compared with skills from other repositories

browser-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
browser-automationZaoqu-Liu/ScienceClawSkill6020d agoMITA99Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k5d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.3k3d agoMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.4k2d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
browser_cdpmateaix/mateclawSkill1.2k3d agoApache-2.0A44Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill1.1k6d agoMITA40Claude Code