Skip to content
Data
Skill

/brightdata-cli

Runs Bright Data jobs from a terminal with the bdata CLI, the published npm package @brightdata/cli. Use when the agent itself needs to run a Bright Data job from a shell right now, when it is building or testing a scraper, when a quick one-off check of a page, a search, a zone

From plugin
skills
27211 skills

Claude Code

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

SKILL.md

brightdata-cli.SKILL.md
name: brightdata-cli
description: Runs Bright Data jobs from a terminal with the bdata CLI, the published npm package @brightdata/cli. Use when the agent itself needs to run a Bright Data job from a shell right now, when it is building or testing a scraper, when a quick one-off check of a page, a search, a zone or a bill is enough, or when the user names bdata, brightdata, or the Bright Data CLI. Not for deterministic code that repeats the same job on a schedule, which belongs to brightdata-sdk. Not for an AI app that picks its tools at run time, which belongs to brightdata-mcp. Not for a first-time install or a login that will not go through, which belongs to agent-onboarding.

Bright Data CLI

`bdata` runs a Bright Data job straight from a shell. Reach for it when the agent does the work itself, right now.

Is this the right skill

| The job | Skill | |---|---| | Setup, building or testing a scraper, a quick one-off check, run it now from a shell | this skill | | The same job repeated on a schedule, inside app code | `brightdata-sdk` | | An AI app that chooses its own tool at run time | `brightdata-mcp` | | First-time setup only: nothing installed yet, or login will not go through | `agent-onboarding` |

Project setup the agent does for itself stays here. Only the first-time install and a login that will not go through bounce to `agent-onboarding`.

Package `@brightdata/cli`.

Before the first command

Install and login belong to `agent-onboarding`. One free call proves the account works:

bdata zones --json

When a command says a zone is not found

The CLI uses zone names from its config, and it never checks them against the account. A `zone "<name>" not found` error means the config names a zone this account does not have: a leftover `default_zone_serp`, or an account made by agent registration, whose zones carry other names. The check and the fix are in [references/commands.md](references/commands.md#zone-resolution-and-the-stale-serp-zone).

Pick the command

| Want | Start with | |---|---| | A page as markdown, HTML, screenshot or JSON | `bdata scrape <url>` | | Search results from Google, Bing or Yandex | `bdata search "<query>"` | | Records from a site a pre-built scraper covers (Amazon, LinkedIn, TikTok, ...) | `bdata pipelines search "<site>"`, then `info`, then `run` | | Results ranked against a stated intent | `bdata discover "<query>"` | | A scraper for a site no pre-built scraper covers | `bdata scraper create`, then `run` | | To click through a page step by step | `bdata browser open <url>` | | Balance and spend | `bdata budget` | | Skills or MCP wired into this repo | `npx -y skills add brightdata/skills -y`; for MCP, `bdata add mcp --agent <agent>` with `--project` or `--global` (limits in [references/commands.md](references/commands.md#wire-up-a-repo)) |

Flags are in `bdata <command> --help`. What the help text leaves out (the key order, pipelines, zones, output) is in [references/commands.md](references/commands.md).

Rules

  • Pass `--json --pretty` whenever the output gets parsed. For billing use bare `bdata budget --json`; in CLI 0.4.1 `budget balance`, `budget zones` and `budget zone` print text. `-o <path>` writes a file: for structured results the extension (`.json`, `.md`, `.html`, `.csv`) picks the format, while `scrape` keeps the format `-f` chose, so `-o page.html` needs `-f html`.
  • Never print the API key. The CLI owns the file it sits in.
  • There is no schedule command. Recurring runs are set up in the control panel.
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.

agent-onboarding

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…

@brightdata@brightdataInstall Skill
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-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,…

mem012d69k
@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…

posthog2w41k
@posthog@posthogInstall Skill

Questions about brightdata-cli.

Which coding agents can use brightdata-cli?
brightdata-cli 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.