/browserbase-cookbook:browserbase-cookbookfrom browserbase-cookbook
Finds and adapts Browserbase cookbook examples for browser automation, Stagehand, Playwright, authentication, extraction, agent frameworks, and business workflows.
Ships in browserbase-cookbook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Treat every recipe as demo/reference code rather than a vetted production implementation. Preserve the repository disclaimer when adapting code, and require independent review, authorization, and validation for the target environment. Use at your own risk.
Route the user's task to an existing recipe. Inspect that recipe before writing a new implementation.
If BROWSERBASE_COOKBOOK_DIR is set, look there for catalog.json. Otherwise look in the current repository, then two directories above this skill's resolved location. A cookbook root has both catalog.json and SOURCE_MANIFEST.json. A separately installed skill may have references without a checkout.
If no checkout is available, stop after identifying the topic and ask for the matching cookbook checkout. Topic references contain historical provenance links, but those pinned upstream files predate cookbook migrations and are not runnable substitutes for the local recipe. Do not assume browserbase/cookbook exists remotely. Use only recipes present in this public artifact. Do not substitute invented code when a local source path is absent.
Paths in topic references are relative to the cookbook root, not the skill directory.
Read only the reference that matches the request. Read a second reference when the task crosses topics.
| User intent | Reference |
|---|---|
| First session, Search, Fetch, raw Playwright, Puppeteer, Selenium, or Go | Getting started |
| Login, saved cookies, contexts, MFA, or authentication | Authentication |
| Proxies, caching, CAPTCHA, session options, or browser configuration | Browser features |
| Download, upload, PDF, financial statements, or document parsing | Downloads and documents |
| Scrape, extract, research, search, or collect structured data | Extraction and research |
| Fill a form, prepare an application, or adapt a transaction flow | Forms and transactions |
| Computer use, agents, tools, or pause for a human | Agents and human handoff |
| Convex, Eve, OpenClaw, AgentKit, Agno, Box, Braintrust, Cartesia, CrewAI, Inngest, LangChain, Mastra, MongoDB, Stripe, Temporal, Trigger.dev, or Vercel | Integrations and orchestration |
| Link checks, traces, evaluation, or observability | Testing and observability |
| Prices, products, flights, shopping, or travel | Commerce and travel |
| Finance, healthcare, public records, support, or another business workflow | Business operations |
Honor the requested language and framework. Prefer a matching current public template for a general task. Use Playbook code when it demonstrates a needed capability. Inspect the actual manifest and migrated entrypoint before adapting it.
Within a checkout, keyword search can narrow candidates without loading the full catalog:
python3 scripts/catalog.py search "persistent login" --language python --limit 5
Search uses the public recipes in this artifact.
Open the selected recipe guide, its dependency manifest, and its entrypoint. If a setup command disagrees with the manifest or source, explain the mismatch and use the actual contract. A filename match alone is insufficient. Check whether the example performs the user's intended operation.
The guide records a working directory. Preserve it for shared Playbook helpers and integration workspaces. Do not copy only a leaf file when relative imports or workspace:* dependencies need the surrounding project.
Explain the selected recipe, why it fits, where the code lives, and what needs to change. Give a second option only if it exposes a useful tradeoff.
Keep the source SDK generation consistent. Do not mix Stagehand v2, v3, and v4 APIs. Use installed package contracts for code and the live Browserbase docs or Stagehand docs for current product behavior.
Environment-variable lists include optional settings as well as credentials. Inspect defaults and the entrypoint before calling every variable mandatory. Never print credential values.
Selecting a recipe does not authorize executing its business actions. Check form submissions, payments, messages, uploads, and account mutations against the user's actual task before running the example. Inspect the target and input data first.
Run an appropriate local check after adapting code. For live automation, verify the actual page result or session replay. Report source inspection, installation, compilation, and live execution separately. current and source-inspected do not mean runtime-verified.
If no example fits, say which part is missing and use the nearest verified building block. Do not invent a recipe, command, or verification result.
agents/openai.yaml (opens in a new tab)references/agents-and-human-handoff.md (opens in a new tab)references/authentication.md (opens in a new tab)references/browser-features.md (opens in a new tab)references/business-operations.md (opens in a new tab)references/commerce-and-travel.md (opens in a new tab)references/downloads-and-documents.md (opens in a new tab)references/extraction-and-research.md (opens in a new tab)references/forms-and-transactions.md (opens in a new tab)references/getting-started.md (opens in a new tab)references/integrations-and-orchestration.md (opens in a new tab)references/testing-and-observability.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
browser-automation, cookbook, playwright, stagehand, web-scraping
npx claudepluginhub browserbase/cookbook --plugin browserbase-cookbookOther plugins' skills for the same job