Skip to content

Skills

Skills are the core of UseBrowser. A skill is a reusable browser automation (Playwright script) that Claude generated from watching you work.

Two ways to create them:

Best when: the task involves navigating, clicking, filling forms — things that are easier to show than describe.

  1. Type /ub:record in terminal
  2. Do the task in the browser — Claude captures everything in the background (network requests, DOM changes, page state)
  3. Say “done”
  4. Claude asks 6 questions: name, parameters, expected output, success criteria, test values, confirm
  5. Generates a Playwright script → tests it → saves it
Video
/ub:record — Watch and learn
User types /ub:record in the terminal. "Recording started" appears. User navigates to Shopee, searches for a product, applies filters (price range, rating), scrolls through results, opens a product page, copies details. Then says "done" in the terminal. Claude asks 6 clarifying questions one by one (skill name, parameters, expected output, success criteria, test values, confirm). Claude generates a Playwright script, runs it as a test, and it succeeds. The skill appears in the sidebar skills tab. ~60 seconds.

/ub:learn — I just did it, now make it repeatable

Section titled “/ub:learn — I just did it, now make it repeatable”

Best when: you already completed the task with Claude via Cmd+I or the terminal, and want to capture what worked.

  1. Do the task with Claude (e.g. “scrape the top 10 results from this page”)
  2. Type /ub:learn
  3. Claude reads the conversation, extracts the successful tool calls, generates a reusable script
Video
/ub:learn — Capture what just worked
User presses Cmd+I and types: "Get the top 10 posts from Hacker News with titles, URLs, and point counts." Claude navigates to HN, extracts the data, displays a formatted table in the terminal. Task done. Then user types /ub:learn — Claude reads the conversation history, identifies the extraction pattern, generates a clean Playwright script with parameters, and saves it as a reusable skill. ~45 seconds.
  • In terminal: Claude calls skills directly when relevant
  • Skills tab in sidebar: browse your library, run on demand
  • Compose skills: chain multiple skills into workflows

Skills live at ~/.usebrowser/data/skills/ubs:{name}/