functions init scaffolds a Stagehand project
Introduced 2026-09-30 · score 0.96
HOW TO USE IT
To scaffold a Stagehand project, run `browse functions init <project-name>`; the release note says the initializer installs `@browserbasehq/stagehand`, installs its Zod version, and writes a Stagehand starter function.
browse functions init <project-name>WHY THIS HELPS
Initialize a Stagehand project from the CLI.
REQUIREMENTS AND LIMITATIONS
- Version: 0.11.1
- <project-name>: Project name; the current official skill shows it as the command argument but does not document a default.
- Prerequisite: Install the `browse` CLI; the official skill specifies Node.js 18+ and pnpm or npm.
- Docs conflict: The current official Functions skill documents `browse functions init <name>` and shows a Playwright `playwright-core` starter. The release note for 0.11.1 says the initializer installs Stagehand and writes a Stagehand starter. The current documentation may describe a different version; it does not establish 0.11.1 behavior.
FIRST-PARTY EVIDENCE
- https://github.com/browserbase/stagehand/blob/main/packages/cli/CHANGELOG.md#0111
- https://github.com/browserbase/skills/blob/main/skills/functions/SKILL.md
Check the installed version and the source before using it. Entry JSON