Skip to content

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

— (0 ratings) 2.3K downloads brightdata
$ npx skills add https://github.com/brightdata/skills --skill brightdata-cli

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

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.

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)

Flags are in bdata <command> --help. What the help text leaves out (the key order, pipelines, zones, output) is in 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.

Installs: 2.3K | GitHub stars: 272 | First seen: Mar 20, 2026

Related skills

New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Coding & dev tools

improve-codebase-architecture

Analyze codebases for architectural friction and propose module-deepening refactors as testability improvements.

New • 1.3M
New

Coding & dev tools

tdd

Test-driven development with vertical slices, behavior-focused tests, and incremental red-green-refactor cycles.

New • 1.3M