Agent skill · software engineering · brightdata

brightdata-sdk-js

Web data extraction and discovery using the Bright Data JavaScript/TypeScript SDK (`@brightdata/sdk`). Use when the user is working in Node.js/TypeScript and asks to "scrape", "get data from", "extract", "search for", or "find" information from websites. Also use when the user mentions specific platforms like Amazon, LinkedIn, Instagram, Facebook, TikTok, YouTube, Reddit, Pinterest, ChatGPT, Perplexity, or DigiKey, or asks for "bulk data", "historical data", or "dataset" from JS. Covers scraping, SERP search, AI discovery, datasets, browser automation, and Scraper Studio. For Python, use brightdata-sdk; for the terminal CLI, use brightdata-cli.

Why this skill is useful

Provides specific commands and patterns for scraping various platforms that the AI wouldn't reliably generate on its own.

What it needs

Requires @brightdata/sdk installed locally. Requires brightdata account access. About 6k tokens when loaded. Last updated 2026-06-25. 244 stars on the source repository.

What this skill does

Bright Data JavaScript SDK Access web data through a unified Node.js/TypeScript SDK (@brightdata/sdk). One client, several services: web unlocking (scrapeUrl), platform scraping (scrape.<platform>), SERP search (search.google/bing/yandex), AI discovery (discover), datasets, browser automation, and Scraper Studio. Requires Node.js ≥ 20. Ships ESM + CommonJS with full TypeScript types. The client is exported as bdclient (lowercase — not a typo). Setup gate (do first) The client reads the BRIGHTDATAAPITOKEN env var, or you pass { apiKey }. Get a token at https://brightdata.com/cp/setting/users. await using client = new bdclient() (TS 5.2+ / Node ≥20) auto-closes at scope end. Service Selection (decide first, then look up the method) Pick the service BEFORE reaching for a specific method. Most routing mistakes come from skipping this step and pattern-matching on keywords. Edge cases: Supported-platform URL BUT user mentions login/click/scroll/JS → Browser API (the interaction trumps the platform). Supported-platform scrape returns 403/blocked → fall back to client.scrapeUrl() (web unlocker). "Find/research who are X" with a URL alongside ("competitors of acme.com") → still Discover; the URL is context, not the scrape target. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills brightdata/js-sdk-best-practices

View the source on GitHub

Browse the @skills marketplace