Agent skill

Browser Automation

by lamm-mit in lamm-mit/scienceclaw

Playwright-based browser automation for scraping JavaScript-rendered scientific databases

Apache-2.0Auto-check passedProductivity & Automation

Install Browser Automation

skills CLI
$ npx skills add lamm-mit/scienceclaw --skill browser-automation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lamm-mit/scienceclaw browser-automation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lamm-mit/scienceclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/browser-automation .claude/skills/browser-automation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
browser-automation
GitHub stars
244
Token cost
~414 tokens
SKILL.md length
69 words
Files
3 (incl. scripts)
Skills in repo
85
Repo updated
First seen
Licence
Apache-2.0

At a glance

Playwright-based browser automation for scraping JavaScript-rendered scientific databases

  • Tasks that involve Browser automation
  • SKILL.md covers Overview, Usage, Output Format and Setup
  • Runs Python scripts from its folder; calls python3, pip and playwright; reaches rcsb.org and ncbi.nlm.nih.gov
  • Tasks that involve Web scraping

What it does

Browser Automation is an agent skill from lamm-mit/scienceclaw. Playwright-based browser automation for scraping JavaScript-rendered scientific databases

Its SKILL.md is about 410 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/browser_fetch.py`).

It sits in Productivity & Automation, covering Browser automation, Web scraping and Browser testing. It works with Playwright and JavaScript. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Browser automation
  • Tasks that involve Web scraping
  • Tasks that involve Browser testing

Example prompts

  • “/browser-automation”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit ab9aba1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • pip
    • playwright

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • rcsb.org
    • ncbi.nlm.nih.gov
    • ebi.ac.uk
    • alphafold.ebi.ac.uk

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Browser Automation loads about 414 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 69 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~414

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lamm-mit/scienceclaw at commit ab9aba1, republished under its Apache-2.0 licence (© lamm-mit). 69 words, ~414 tokens.

Download SKILL.mdSave it as .claude/skills/browser-automation/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
browser-automation
description
Playwright-based browser automation for scraping JavaScript-rendered scientific databases

Overview

Web browser automation using Playwright for scraping JavaScript-rendered scientific databases, automating form submissions, and capturing dynamic content unavailable via static scraping. Renders pages fully (including React/Vue/Angular SPAs) and extracts clean text content.

Useful for databases that require JavaScript to display data, interactive tools that need form interaction, and pages where content loads asynchronously after the initial HTML response.

Usage

bash
# Fetch a JavaScript-rendered page
python3 skills/browser-automation/scripts/browser_fetch.py \
  --url "https://www.rcsb.org/structure/1TUP"

# Wait for specific element before extracting
python3 skills/browser-automation/scripts/browser_fetch.py \
  --url "https://www.ncbi.nlm.nih.gov/gene/672" \
  --wait-for ".gene-summary"

# Extract text content
python3 skills/browser-automation/scripts/browser_fetch.py \
  --url "https://www.ebi.ac.uk/chembl/compound_report_card/CHEMBL25/" \
  --extract-text

# Save screenshot
python3 skills/browser-automation/scripts/browser_fetch.py \
  --url "https://alphafold.ebi.ac.uk/entry/P04637" \
  --screenshot /tmp/p53_alphafold.png

Output Format

json
{
  "url": "https://www.rcsb.org/structure/1TUP",
  "content": "1TUP Structure Summary\n\nTumor suppressor p53 bound to DNA...",
  "title": "RCSB PDB - 1TUP",
  "status": "success"
}

Setup

Install Playwright and its browser binaries:

bash
pip install playwright
playwright install chromium

© lamm-mit, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/browser-automation of lamm-mit/scienceclaw.

  • SKILL.md
  • scripts/__pycache__/browser_fetch.cpython-313.pyc
  • scripts/browser_fetch.py

Open the folder on GitHubat commit ab9aba1

Compare with similar skills

Browser Automation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Browser Automation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Browser Automation this skilllamm-mit/scienceclaw244—~414Automated safety check: PassApache-2.0
Agent Browseroxylabs/agent-skills875—~3kAutomated safety check: PassMIT
Anti Detect Browserantibrow/anti-detect-browser-skills932—~9.8kAutomated safety check: WarnMIT
Ego Browserkwakseongjae/oh-my-design5312 repos~4.9kAutomated safety check: PassMIT
Playwright Bowserdisler/bowser265—~1.1kAutomated safety check: NotesNone
Browserjulianromli/opencode-template144—~475Automated safety check: PassNone

Similar skills

  • Agent Browser

    oxylabs/agent-skills

    Connects to Oxylabs remote agent browsers over the Chrome DevTools Protocol (CDP) with Playwright or Puppeteer.

    875 GitHub stars~3k tokensUpdated 8 days ago
    Productivity & AutomationAuto-check passed
  • Anti Detect Browser

    antibrow/anti-detect-browser-skills

    Drive Chromium from standard Playwright APIs with a real-device fingerprint applied in the kernel, one persistent isolated profile per identity, and a per-profile proxy whose exit IP sets timezone…

    932 GitHub stars~9.8k tokensUpdated 1 mo ago
    Testing & QAAuto-check: warnings
  • Ego Browser

    kwakseongjae/oh-my-design

    When you need a browser, read this Skill by default. An agent skill from kwakseongjae/oh-my-design.

    531 GitHub starsUsed in 2 repos~4.9k tokens
    Productivity & AutomationAuto-check passed
  • Playwright Bowser

    disler/bowser

    Headless browser automation using Playwright CLI. An agent skill from disler/bowser.

    265 GitHub stars~1.1k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check: notes
  • Browser

    julianromli/opencode-template

    Minimal Chrome DevTools Protocol tools for browser automation and scraping.

    144 GitHub stars~475 tokensUpdated 8 mo ago
    Productivity & AutomationAuto-check passed
  • Browser Automation

    davila7/claude-code-templates

    Browser automation powers web testing, scraping, and AI agent interactions.

    32k GitHub starsUsed in 3 repos~569 tokens
    Productivity & AutomationAuto-check passed

More from lamm-mit/scienceclaw

All 85 skills in this repo
  • Fred Economic Data

    lamm-mit/scienceclaw

    Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources.

    244 GitHub starsUsed in 4 repos~3k tokens
    Auto-check passed
  • Drug Research

    lamm-mit/scienceclaw

    Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.

    244 GitHub starsUsed in 3 repos~1.7k tokens
    Auto-check passed
  • Imaging Data Commons

    lamm-mit/scienceclaw

    Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index.

    244 GitHub starsUsed in 5 repos~11k tokens
    Auto-check passed
  • Rowan

    lamm-mit/scienceclaw

    Cloud-based quantum chemistry platform with Python API. An agent skill from lamm-mit/scienceclaw.

    244 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check: warnings
  • Infographics

    lamm-mit/scienceclaw

    Create professional infographics using Nano Banana Pro AI with smart iterative refinement.

    244 GitHub starsUsed in 6 repos~4.4k tokens
    Auto-check: notes
  • Disease Research

    lamm-mit/scienceclaw

    Generate comprehensive disease research reports using 100+ ToolUniverse tools.

    244 GitHub stars~946 tokensUpdated 1 mo ago
    Auto-check passed

Questions about Browser Automation

What does Browser Automation do?

Playwright-based browser automation for scraping JavaScript-rendered scientific databases. Browser Automation is an agent skill from lamm-mit/scienceclaw.

When should I use Browser Automation?

Browser Automation fits situations like: tasks that involve Browser automation; tasks that involve Web scraping; tasks that involve Browser testing.

How do I install Browser Automation in Claude Code?

Run `npx skills add lamm-mit/scienceclaw --skill browser-automation -a claude-code`. Or copy the skill folder (skills/browser-automation in lamm-mit/scienceclaw) into .claude/skills/browser-automation in your project. Claude Code loads it when a task matches its description.

How do I install Browser Automation in Codex?

Run `npx skills add lamm-mit/scienceclaw --skill browser-automation -a codex`. Or copy the skill folder (skills/browser-automation in lamm-mit/scienceclaw) into .agents/skills/browser-automation in your project. Codex loads it when a task matches its description.

Can I use Browser Automation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lamm-mit/scienceclaw --skill browser-automation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/browser-automation, .gemini/skills/browser-automation, .github/skills/browser-automation and .opencode/skills/browser-automation in your project.

What does Browser Automation need to run?

Going by SKILL.md and its folder, Browser Automation needs Python for the scripts in its folder and the command-line tools its instructions call (python3, pip and playwright). Our summary lists: Python 3.

Does Browser Automation access the network?

SKILL.md names 4 domains. In commands or code: rcsb.org, ncbi.nlm.nih.gov, ebi.ac.uk and alphafold.ebi.ac.uk; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Browser Automation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Browser Automation use?

Browser Automation is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Browser Automation use?

About 414 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Browser Automation?

Skills that share tags, products or a category with Browser Automation: Agent Browser (oxylabs/agent-skills, 875 stars), Anti Detect Browser (antibrow/anti-detect-browser-skills, 932 stars), Ego Browser (kwakseongjae/oh-my-design, 531 stars) and Playwright Bowser (disler/bowser, 265 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Browser Automation?

lamm-mit (a GitHub user) maintains it in lamm-mit/scienceclaw, which has 244 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on August 21, 2026.

Source: lamm-mit/scienceclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.