Skip to content
Data
Skill

/agent-onboarding

The entry point to all Bright Data skills - start here, and it guides the agent to the right skill for the task at hand - web data and scraping, fetching or unblocking a page, search, browser automation, and the CLI, SDK and MCP surfaces. Use when Bright Data is not set up or

From plugin
skills
27211 skills

Claude Code

$ npx -y skills add brightdata/skills --skill agent-onboarding --agent claude-code

SKILL.md

agent-onboarding.SKILL.md
name: agent-onboarding
description: The entry point to all Bright Data skills - start here, and it guides the agent to the right skill for the task at hand - web data and scraping, fetching or unblocking a page, search, browser automation, and the CLI, SDK and MCP surfaces. Use when Bright Data is not set up or stops authenticating - the CLI is missing ("bdata is not recognized"), login is needed or fails ("No API key found"), there is no Bright Data account yet and one must be created without a browser, a call is refused with 401, 407 or another auth error, an expected zone like cli_unlocker is missing, a key must be set in a project's .env, CI, or a container (BRIGHTDATA_API_KEY), or the user asks to install Bright Data, log in, get started, or which skill fits their task. Auth for every other Bright Data skill lives here.

Bright Data - Start Here

Install the CLI and the skills, log in once, then route to the task skill.

**Never ask the user to paste an API key into chat.** Login is one browser approval. The key never touches the conversation.

Already set up?

Three free checks before doing any work:

1. `bdata --version` works: skip to Add the skills. 2. Pick the skill from the route table below (Route to the task skill), then run `node <this skill's folder>/scripts/check-auth.mjs --for <skill>` ([scripts/check-auth.mjs](scripts/check-auth.mjs)). The path is relative to this skill's folder, not to the project: a "Cannot find module" error means a wrong path, never a login problem. One free call, and the exit code is the answer: `0` ready, go to that skill. `2` means log in. `3` means the key was never tested (network or server), so fix that instead of logging in. `1` means the key works but the account has no zone of the type that skill needs, which is one free call (in Log in below), never another login. `4` means bad usage: a `--for` value that is not a skill name from the route table, or a `BRIGHTDATA_API_BASE` that is not an https brightdata.com host. Fix the command; nothing about the account. Zone names do not matter: they differ by how the account was set up, and the script matches by type. 3. The skill folders already exist in the project: the skills are installed, so skip Add the skills entirely rather than running the installs again.

Check 1 passes but check 2 answers logged out: go to Log in. On Windows, "bdata is not recognized" can also mean installed but not on PATH - apply the PATH fix in Install before reinstalling. In Windows PowerShell, `bdata.ps1 cannot be loaded because running scripts is disabled on this system` means the CLI is installed but the default execution policy blocks npm's PowerShell shims. Run `bdata.cmd` and `npm.cmd` instead (the same fix as `npx.cmd` under Add the skills), or ask the user to run `Set-ExecutionPolicy -Scope CurrentUser RemoteSigned`.

Install

| OS | Command | |---|---| | Windows | `npm install -g @brightdata/cli` | | macOS and Linux | `npm install -g @brightdata/cli`, or `curl -fsSL https://cli.brightdata.com/install.sh \| bash` |

The curl script is for interactive machines only: it runs `bdata login` by itself at the end, so on a headless machine it exits 1 after installing, and on a logged-in machine it replaces the saved key. In CI and containers use npm or npx.

The npm command needs Node.js. Windows notes: if `npm` is missing, install Node.js LTS first (nodejs.org or `winget install OpenJS.NodeJS.LTS`), then retry. If `bdata` is still not recognized after install, npm's global directory is not on PATH. Fix it for this session and tell the user to add it permanently. In PowerShell:

$env:PATH += ";$(npm.cmd config get prefix)"

cmd rejects that line. The cmd version:

for /f "delims=" %p in ('npm config get prefix') do set PATH=%PATH%;%p

Both lines die with the session. To make it permanent, the user adds npm's prefix directory, the path `npm config get prefix` prints, to their user PATH through the Windows environment variable settings (Start, "Edit the system environment variables", then Environment Variables). Do not reach for `setx` here. It truncates PATH at 1024 characters, so on a machine with a long PATH it destroys the value it was meant to extend.

If `npm install -g` is blocked on the machine, skip installing: `npx -y @brightdata/cli <command>` runs the same CLI on demand, use it wherever a command says `bdata`.

Add the skills

These are the skills the agent will route to. One command installs all of them:

npx -y skills add brightdata/skills -y

Run it from the project root, because it installs into the current directory's agent folders. Keep both `-y` flags: the first lets npx fetch the installer, the second skips its prompts, so no person is needed. In Windows PowerShell, where the default policy blocks `npx.ps1`, call `npx.cmd` instead of `npx`. The installer also needs git on PATH, because it clones the repo. If `git --version` fails, install git first (Windows: `winget install --id Git.Git -e`; macOS: `xcode-select --install`; Linux: the distribution's package manager, for example `sudo apt install git`).

Prefer `bdata login` over `bdata init` for agent setups: `init` is the interactive wizard for humans, and it also writes a `default_zone_serp` config value that login flows never need. If a machine has run `init` and `bdata search` later answers `zone "<name>" not found`, pick a real zone from `bdata zones` and pass `--zone`, or make it the CLI default with `bdata config set default_zone_serp <name>`.

Log in

bdata login

The browser opens on the user's machine, they approve once, and the CLI writes the key by itself. Nothing to paste anywhere.

On SSH, in containers, or on any machine without a browser, use `bdata login --device` instead. It prints a pairing code and a URL (to stderr), show both to the user, they approve from any device, and the command waits and then writes the key. The code expires after about 15 minutes. Bare `bdata login` cann

Read more
@brightdata
Ships withskills

Stars on GitHub

Momentum

stars in total
272
Star history of brightdata/skills on GitHub, a chart by star-history.com

Other skills on skills.

billing

billing

Use when the question is about money on a Bright Data account: current balance, credit left, what was charged, spend or cost…

@brightdata@brightdataInstall Skill
brightdata-cli

brightdata-cli

Runs Bright Data jobs from a terminal with the bdata CLI, the published npm package @brightdata/cli. Use when the agent itself…

@brightdata@brightdataInstall Skill
brightdata-mcp

brightdata-mcp

Bright Data's MCP server, the tool layer that gives an LLM agent live web access with no shell. Use when wiring Bright Data tools…

@brightdata@brightdataInstall Skill
brightdata-sdk

brightdata-sdk

Bright Data's Python and Node.js SDKs for calling Web Scraper API, SERP, Web Unlocker and Scraper Studio from application code.…

@brightdata@brightdataInstall Skill
browser

browser

Use when the user already has browser automation and wants it unblocked or run in the cloud: Playwright, Puppeteer, Selenium or…

@brightdata@brightdataInstall Skill
datasets

datasets

Use when the data is already collected and sold as a download, a huge generic corpus needed once where a few months old is fine…

@brightdata@brightdataInstall Skill

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem02w69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog3w41k
@posthog@posthogInstall Skill

Questions about agent-onboarding.

Which coding agents can use agent-onboarding?
agent-onboarding installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.