go-browser-use
БесплатноБез исполняемых скриптовНе проверенWrites Go code with go-browser-use (package browseruse, github.com/psyb0t/go-browser-use), an unofficial generated client for the Browser Use Cloud API v4…
от psyb0t904 установки в других каталогахОб этом скилле
go-browser-use
Unofficial, typed Go client for the Browser Use Cloud API v4, in package browseruse at the module root. Read references/setup.md before writing an integration, for authentication, operation names, pagination, and response handling.
Security & safety
- Load
BROWSER_USE_API_KEYfrom the caller's environment or secret store. SetX-Browser-Use-API-Keyin aWithRequestEditorFn. Never hardcode or log credentials, task contents, secret bindings, CDP URLs, or presigned URLs. - The API base URL is
https://api.browser-use.com/api/v4. Use an HTTP client with a timeout or a context deadline. - Starting runs or browsers can incur charges. Cancellation, deletion, purging, sharing, uploads, and integration changes affect account state. Perform those actions only when the user requested them.
- Presigned file transfers use a separate HTTP request. Do not forward the Browser Use API key to the storage host.
When to use
- A Go project needs Browser Use Cloud v4 agent runs, session queues, files, browser sessions, profiles, or integrations.
- The project already imports
github.com/psyb0t/go-browser-use.
When not to use
- The caller needs a non-Go or provider-maintained SDK.
- The task targets API v2 or v3; this module uses v4 only.
- The task changes the generated client. Read the repository's
AGENTS.mdfor the generation pipeline instead.
Finding endpoints and types
The examples cover a few calls. Every operation in the spec has a generated method, and the spec's descriptions are on them as Go doc comments. Look names and fields up instead of guessing. After go get github.com/psyb0t/go-browser-use, from inside your module:
go doc github.com/psyb0t/go-browser-use ClientWithResponsesInterface # every endpoint method
go doc github.com/psyb0t/go-browser-use ListRunsRunsGetParams # one method, params type or model
go doc -all github.com/psyb0t/go-browser-use # the whole package
The same documentation is at https://pkg.go.dev/github.com/psyb0t/go-browser-use.
Method names come from the spec's operation IDs, which keep the resource and HTTP method suffixes (ListRunsRunsGet). <OperationId>WithResponse takes the context, then the path parameters in order, then *<OperationId>Params when the operation has query or header parameters, then the request body when it has one. The JSON200 field (or JSON201 and so on, per declared status) holds the decoded body; it is nil for any other status.
Workflow
- Add the module through the project's dependency workflow and read its current generated signatures.
- Construct
browseruse.NewClientWithResponseswith the v4 base URL,WithRequestEditorFnauthentication, and appropriate HTTP timeouts. - Use the exact generated operation and request types listed in the reference. Check the returned error, HTTP status, and decoded status field before reading it.
- Follow pagination explicitly. Poll run status until terminal, then fetch the run result. Do not start duplicate paid runs as a retry strategy.
- Verify the integration against an
httptestserver. Stop when the requested call compiles and its method, path, auth, request body, and response handling pass the caller's tests.
The README usage example also lives in example_test.go. Optional nil pointers omit fields; explicit JSON null resets require a raw-body method. Cost responses stay decimal strings.
Установить go-browser-use в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл go-browser-use?
Writes Go code with go-browser-use (package browseruse, github.com/psyb0t/go-browser-use), an unofficial generated client for the Browser Use Cloud API v4. Use when a Go program creates or polls Browser Use agent runs, manages sessions, queues, workspaces, files, browsers, profiles, extensions or integrations, or when a project imports github.com/psyb0t/go-browser-use.
Как установить скилл go-browser-use?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл go-browser-use запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic