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:
/ub:record — Watch me, then learn
Section titled “/ub:record — Watch me, then learn”Best when: the task involves navigating, clicking, filling forms — things that are easier to show than describe.
- Type
/ub:recordin terminal - Do the task in the browser — Claude captures everything in the background (network requests, DOM changes, page state)
- Say “done”
- Claude asks 6 questions: name, parameters, expected output, success criteria, test values, confirm
- Generates a Playwright script → tests it → saves it
/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.
- Do the task with Claude (e.g. “scrape the top 10 results from this page”)
- Type
/ub:learn - Claude reads the conversation, extracts the successful tool calls, generates a reusable script
/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.
Running skills
Section titled “Running skills”- 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}/