agentleFS
Tha-vivid-oneTha-vivid-one/claude-skills/browse/SKILL.md

browse

Skill0 starsChanged 7 months agoMITView on GitHub

Browse websites using Playwright with persistent authenticated sessions. Use when asked to check X/Twitter, browse a URL, take a screenshot, extract web content, or interact with sites requiring login. Also use when cron tasks need web content from authenticated sources.

  • Installs packages

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use setup-gbrain, open-gstack-browser and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ShreyRaviSkill

    setup-gbrain

    Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (gstack)

    Also in 9 projects that use this

  • seek888Skill

    open-gstack-browser

    Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".

    Also in 11 projects that use this

  • Saqlain-811Skill

    ios-sync

    Regenerate the iOS debug bridge against the latest upstream gstack templates. (gstack)

    Also in 6 projects that use this

  • ayudaySkill

    setup-deploy

    Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".

    Also in 19 projects that use this

  • ShreyRaviSkill

    landing-report

    Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)

    Also in 9 projects that use this

  • Saqlain-811Skill

    ios-clean

    Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)

    Also in 5 projects that use this

  • +3 more from ShreyRavi
  • +1 more from Saqlain-811

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 49 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If a login session expires, re-login via headed mode (see Setup above).

    line 79

“Common” is measured: kept by at least 6 in 10 of the 49 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Browse

Browse any website using a persistent Playwright session with real Chrome. Authenticated sessions (X, Reddit, etc.) are preserved across runs.

Tool Location

node browser.js <action> <url> [args]

Actions

ActionUsageReturns
navigatenavigate <url>Page text content
screenshotscreenshot <url> [output.png]Screenshot path
extractextract <url> <css_selector>JSON array of matched element texts
evaluateevaluate <url> <js_expression>JS evaluation result
htmlhtml <url> [css_selector]Raw HTML

Examples

# Read X timeline
node browser.js navigate "https://x.com/home"

# Screenshot a specific profile
node browser.js screenshot "https://x.com/elonmusk" screenshot.png

# Extract all tweet texts from a profile
node browser.js extract "https://x.com/elonmusk" "article [data-testid='tweetText']"

# Get page HTML for parsing
node browser.js html "https://x.com/search?q=polymarket" "main"

Setup

Prerequisites

  • Google Chrome installed (real Chrome, not Chromium)
  • Node.js 18+
  • Playwright (npm install playwright)

First Login (Interactive)

For sites requiring authentication, run in headed mode to log in manually:

BROWSER_HEADLESS=false node browser.js navigate "https://x.com/login"

A Chrome window will open. Log in, then close the window. The session is saved and all future headless runs will be authenticated.

Environment Variables

VariableDefaultDescription
BROWSER_USER_DATA_DIR~/.browse-skill/browser-dataPersistent session storage
BROWSER_HEADLESStrueSet false for visible browser
BROWSER_TIMEOUT30000Navigation timeout (ms)

Critical Details

  • Must use real Chrome (channel: 'chrome'). Playwright's bundled Chromium gets blocked by X/Twitter and other anti-bot sites.
  • SingletonLock is auto-cleared before each launch (handles stale headed sessions).
  • Session data persists in BROWSER_USER_DATA_DIR — cookies, localStorage, login state all survive restarts.

Gotchas

  • X/Twitter never reaches networkidle — always use domcontentloaded or load.
  • X splash screen needs ~5s to render feed. The tool waits for article elements automatically.
  • If a login session expires, re-login via headed mode (see Setup above).
  • Body text may be empty on JS-heavy SPAs — use html action + parse, or evaluate with custom JS.
  • Close any headed Playwright windows before running headless (SingletonLock conflict).

When NOT to Use

  • Public APIs exist (crypto, weather, etc.) — use those directly.
  • Simple HTML pages without JS — use a lightweight fetch instead.
  • Sites with anti-bot that blocks even real Chrome — try stealth scraping tools.

Claude Code Skill Integration

To use as a Claude Code skill, copy the SKILL.md and browser.js into your skills directory:

mkdir -p ~/.claude/skills/browse
cp SKILL.md browser.js ~/.claude/skills/browse/

Claude will automatically invoke this skill when you ask it to browse websites, check X, take screenshots, or extract web content.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.