browserbase-cli
browserbase/skills
`browse` CLI를 통해 Browserbase 플랫폼 리소스, 함수 및 API 워크플로를 관리할 수 있습니다.
...모든 것을 확장하십시오Browserbase CLI
Browserbase 플랫폼 운영, Functions 워크플로 및 Fetch API 호출을 위해 공식 Browserbase CLI를 사용하세요.
설정 확인
CLI를 사용하기 전에 설치 여부를 확인하세요:
which browse || npm install -g browse
browse --help
인증이 필요한 명령을 실행하려면 API 키를 설정하십시오:
export BROWSERBASE_API_KEY="your_api_key"
이 스킬을 사용할 때
사용자가 다음을 원할 때 이 스킬을 사용하세요:
browse를통해 Browserbase 명령어를 실행하고자 할 때- Browserbase 명령어를 실행하려는 경우 Browserbase Functions를 스캐폴딩, 개발, 게시 또는 호출하려는 경우
- Browserbase 세션, 프로젝트, 컨텍스트 또는 확장 프로그램을 검사하거나 관리하려는 경우
- 브라우저 세션을 열지 않고 Browserbase를 통해 페이지를 가져오려는 경우
- 브라우저 세션을 열지 않고 Browserbase를 통해 웹 검색을 수행하려는 경우
browse templates를사용하여 스타터 템플릿을 탐색하거나 스캐폴딩
이 스킬을 사용하지 말아야 할 경우
- 대화형 브라우징, 페이지 검사, 스크린샷 촬영, 클릭, 입력 또는 로그인 절차가 필요한 경우에는
브라우저스킬을 사용하는 것이 좋습니다. - 사용자가 CLI를 특별히 사용할 필요가 없는 간단한 HTTP 콘텐츠 검색의 경우, 전용
fetch스킬이 더 적합한 경우가 많습니다. - 사용자가 명시적으로 CLI 경로를 원하거나 이미
브라우징중심의 워크플로우에서 작업하고 있는 경우에만 최상위 드라이버 명령(browse open,browse get,browse click등)을 사용하십시오.
명령어 선택
- 로컬 개발, 패키징, 게시 및 호출을 위한
browse 함수 - Browserbase 플랫폼 리소스에 대한
‘browse cloud sessions’,‘browse cloud projects’,‘browse cloud contexts’,‘browse cloud extensions’ - Fetch API 요청을 위한
‘browse cloud fetch’ - Search API 요청을 위한
browse cloud search "" 템플릿 탐색: 스타터 템플릿 탐색 및 스캐폴딩- 로컬/원격 브라우저를 직접 제어하기 위한
'browse open','browse get','browse click' 등 Browse Skills Install: Claude Code용 Browserbase 에이전트 스킬 설치
로컬 브라우저 작업을 위해서는 ` browse open `을 실행하여 깨끗하고 격리된 브라우저를 시작합니다. 기존 디버깅 가능한 Chrome 세션에 연결해야 할 때만 ` browse open `를 사용하십시오.
일반적인 워크플로
함수
browse functions init my-function
cd my-function
browse functions dev index.ts
browse functions publish index.ts
browse functions invoke --params '{"url":"https://example.com"}'
새로운 호출을 생성하는 대신, ` browse functions invoke --check-status 사용하여 기존 호출을 조회하세요.
플랫폼 API
browse cloud projects list
browse cloud sessions create --proxies --verified --region us-east-1
browse cloud projects list
browse cloud sessions create --solve-captchas --context-id ctx_abc --persist
browse cloud sessions get
browse cloud sessions downloads get --output session-artifacts.zip
클라우드 컨텍스트 탐색 create --body '{"region":"us-west-2"}'
클라우드 확장 프로그램 탐색 upload ./my-extension.zip
Fetch API
클라우드 Fetch 탐색 https://example.com
클라우드 Fetch 탐색 https://example.com --allow-redirects --output page.html
검색 API
cloud search "browser automation" 탐색
cloud search "web scraping" --num-results 5 탐색
cloud search "AI agents" --output results.json 탐색
템플릿
템플릿 목록 둘러보기
템플릿 목록 둘러보기 --tag Python --source Browserbase
템플릿 둘러보기 form-filling 복제 --language typescript
템플릿 둘러보기 amazon-product-scraping 복제 --language python ./my-scraper
모범 사례
- 플래그를 추측하기 전에
browse --help및 subgroup--help를먼저 확인해 보세요. - 대시(-) 대소문자 구분을 포함한 플래그는 CLI 도움말에 표시된 대로 정확히 사용하십시오.
- 결과를 파일에 저장하려면
browse cloud fetch및browse cloud search에서--output사용하십시오.을 - 사용자가 명시적으로 일회성 재정의(override)를 원하지 않는 한, 인증에는 환경 변수를 사용하십시오.
--body또는--params에JSON 문자열을 사용하여 구조화된 요청 본문을 전달하십시오.- 두
browse 함수(...및browse cloud ...)모두 API 기본 URL을 재정의할 때--base-url을사용한다는 점을 기억하십시오.
문제 해결
- API 키 누락:
BROWSERBASE_API_KEY를설정하거나--api-key를전달하십시오. - 알 수 없는 플래그:
--help를사용하여 관련 명령을 다시 실행하고 대소문자를 정확히 일치시켜 입력하십시오. - 명령을 찾을 수 없음:
npm install -g browse를다시 실행하고어떤 browse인지확인하십시오.
명령어별 참조 및 더 많은 예제는 REFERENCE.md를 참조하십시오.
---
name: browserbase-cli
description: Manage Browserbase platform resources, Functions, and API workflows through the `browse` CLI.
license: MIT
---
# Browserbase CLI
Use the official `browse` CLI for Browserbase platform operations, Functions workflows, and Fetch API calls.
## Setup check
Before using the CLI, verify it is installed:
```bash
which browse || npm install -g browse
browse --help
```
For authenticated commands, set the API key:
```bash
export BROWSERBASE_API_KEY="your_api_key"
```
## When to use this skill
Use this skill when the user wants to:
- run Browserbase commands through `browse`
- scaffold, develop, publish, or invoke Browserbase Functions
- inspect or manage Browserbase sessions, projects, contexts, or extensions
- fetch a page through Browserbase without opening a browser session
- search the web through Browserbase without opening a browser session
- browse or scaffold starter templates with `browse templates`
## When not to use this skill
- For interactive browsing, page inspection, screenshots, clicking, typing, or login flows, prefer the `browser` skill.
- For simple HTTP content retrieval where the user does not care about using the CLI specifically, the dedicated `fetch` skill is often a better fit.
- Use the top-level driver commands (`browse open`, `browse get`, `browse click`, …) only when the user explicitly wants the CLI path or is already working in a `browse`-centric workflow.
## Command selection
- `browse functions` for local dev, packaging, publishing, and invocation
- `browse cloud sessions`, `browse cloud projects`, `browse cloud contexts`, `browse cloud extensions` for Browserbase platform resources
- `browse cloud fetch <url>` for Fetch API requests
- `browse cloud search "<query>"` for Search API requests
- `browse templates` to browse and scaffold starter templates
- `browse open`, `browse get`, `browse click`, etc. for direct local/remote browser driving
- `browse skills install` to install Browserbase agent skills for Claude Code
For local browser work, `browse open <url> --local` starts a clean isolated browser. Use `browse open <url> --auto-connect` only when you need to attach to an existing debuggable Chrome session.
## Common workflows
### Functions
```bash
browse functions init my-function
cd my-function
browse functions dev index.ts
browse functions publish index.ts
browse functions invoke <function_id> --params '{"url":"https://example.com"}'
```
Use `browse functions invoke --check-status <invocation_id>` to poll an existing invocation instead of creating a new one.
### Platform APIs
```bash
browse cloud projects list
browse cloud sessions create --proxies --verified --region us-east-1
browse cloud sessions create --solve-captchas --context-id ctx_abc --persist
browse cloud sessions get <session_id>
browse cloud sessions downloads get <session_id> --output session-artifacts.zip
browse cloud contexts create --body '{"region":"us-west-2"}'
browse cloud extensions upload ./my-extension.zip
```
### Fetch API
```bash
browse cloud fetch https://example.com
browse cloud fetch https://example.com --allow-redirects --output page.html
```
### Search API
```bash
browse cloud search "browser automation"
browse cloud search "web scraping" --num-results 5
browse cloud search "AI agents" --output results.json
```
### Templates
```bash
browse templates list
browse templates list --tag Python --source Browserbase
browse templates clone form-filling --language typescript
browse templates clone amazon-product-scraping --language python ./my-scraper
```
## Best practices
1. Prefer `browse --help` and subgroup `--help` before guessing flags.
2. Use dash-case flags exactly as shown in CLI help.
3. Use `--output <file>` on `browse cloud fetch` and `browse cloud search` to save results to a file.
4. Use environment variables for auth unless the user explicitly wants one-off overrides.
5. Pass structured request bodies with JSON strings in `--body` or `--params`.
6. Remember that both `browse functions ...` and `browse cloud ...` use `--base-url` for API base URL overrides.
## Troubleshooting
- Missing API key: set `BROWSERBASE_API_KEY` or pass `--api-key`
- Unknown flag: rerun the relevant command with `--help` and use the exact dash-case form
- Command not found: re-run `npm install -g browse` and verify with `which browse`
For command-by-command reference and more examples, see [REFERENCE.md](REFERENCE.md).
모든 파일
1개 파일browserbase-cli 설치
스킬 파일을 다운로드하여 .claude/skills/ 디렉터리에 압축을 풀어 주세요.
ZIP 다운로드저장소를 클론하고 스킬 파일을 프로젝트에 복사하세요.
git clone https://github.com/browserbase/skills/tree/main/skills/browserbase-cli # Copy SKILL.md to your .claude/skills/ directory
복사





집
