Logo Agent Onboarding

Agent Onboarding

Tổ chức
brightdata
agent-onboarding

Onboard an agent to Bright Data. Use when a coding agent first encounters Bright Data — for live web work (search, scrape, structured data), for wiring Bright Data into product code, for installing the agent skill bundle, or for getting an API key. One install command sets up the CLI, agent skills, and authentication. Routes the reader to the right path: live tools, app integration, MCP, auth-only, or direct REST without any install.

Tổng quan

Nhà phát hànhbrightdata
Kho mãskills
Tên kỹ năngagent-onboarding
Sao
268
Bản fork
36
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được brightdata công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Agent Onboarding trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/brightdata/skills/tree/main/skills/agent-onboarding
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brightdata/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/agent-onboarding .claude/skills/agent-onboarding
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Agent Onboarding trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Agent Onboarding ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Agent Onboarding không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Bright Data — Agent Onboarding

Bright Data gives agents reliable access to the open web: SERP results that look like a real browser, clean markdown from any URL (with CAPTCHA + JS handled), structured data from thousands of pre-built scrapers (Amazon, LinkedIn, Instagram, TikTok, YouTube, Reddit, Crunchbase, …), and a Browser API for pages that need real interaction.

This skill is the entry point. Read it once, pick a path, then hand off to the narrower skill that owns that path.

Install

One command installs the CLI and the agent skills, and walks the human through OAuth in the browser:

bash
# macOS / Linux — fastest install
curl -fsSL https://cli.brightdata.com/install.sh | bash

# Cross-platform (or if you don't want the install script)
npm install -g @brightdata/cli

# One-off, no install
npx --yes --package @brightdata/cli brightdata <command>

Requires Node.js >= 20. After install, both brightdata and bdata (shorthand) are available.

Then authenticate once:

bash
bdata login

This single command:

  1. Opens the browser for OAuth (or use bdata login --device on headless / SSH machines)
  2. Saves the API key locally — you never need to paste a token again
  3. Auto-creates the required proxy zones (cli_unlocker, cli_browser)
  4. Sets sensible default configuration

For non-interactive setups you can pass the key directly:

bash
bdata login --api-key <key>
# or
export BRIGHTDATA_API_KEY=<key>

Verify the install before doing real work:

bash
bdata version
bdata config            # confirms auth + zones
bdata zones             # should list cli_unlocker, cli_browser
bdata budget            # confirms account + balance

Branch deterministically on the result — don't eyeball it:

  • If bdata config or bdata budget exits non-zero, route to Path C (auth) before continuing.
  • If either exits zero but its output contains an auth or zone error string (e.g. unauthorized, invalid api key, not logged in, no such zone, zone not found), treat it as a failure and route to Path C.
  • Only proceed to a path below when both commands exit zero and show an authenticated account with the cli_unlocker / cli_browser zones.

Install agent skills (optional, recommended)

The CLI ships an installer that drops Bright Data skills directly into your coding agent's skill directory:

bash
# Interactive picker — choose skills + target agent
bdata skill add

# Install a specific skill
bdata skill add scrape
bdata skill add data-feeds
bdata skill add competitive-intel

# See everything available
bdata skill list

These are the skills you'll hand off to from the paths below (scrape, search, data-feeds, scraper-builder, brightdata-cli, bright-data-mcp, …).

Choose your path

All paths share the same install + auth above. The difference is what you do next.

SituationPath
Need web data during this sessionPath A — live CLI tools
Need to add Bright Data to app codePath B — SDK / REST integration
Want a drop-in tool layer for an LLM agentPath M — MCP server
Need an API key firstPath C — auth only
Don't want to install anythingPath D — REST API directly

If your task spans paths, do them in order: auth → live tools to explore → app integration once the shape is known.


Path A — Live web tools (CLI)

Use this when the agent itself needs web data right now: discovering URLs, fetching clean content, pulling structured records from a known platform, or running a quick competitive scan.

After install + login, hand off to the narrower skills:

  • brightdata-cli — overall command surface (scrape, search, pipelines, zones, budget, config)
  • search — discovery via bdata search (Google / Bing / Yandex SERP, structured JSON)
  • scrape — clean content from a known URL via bdata scrape (markdown / HTML / JSON / screenshot)
  • data-feeds — structured records from thousands of pre-built scrapers via bdata pipelines search / info / run (Amazon, LinkedIn, Instagram, TikTok, YouTube, Reddit, Crunchbase, Google Maps, …)
  • discover-api — intent-ranked semantic web search via bdata discover (relevance-scored results + optional page content)
  • scraper-studio — generate and run an AI-built scraper from a plain-English description via bdata scraper create / bdata scraper run
  • competitive-intel — packaged competitor / pricing / review / hiring / SEO analyses on top of the CLI
  • price-comparison — "where is this cheapest, in stock?" across Amazon, Walmart, eBay, Best Buy, Google Shopping, into one ranked table
  • brand-listening — social-listening / sentiment digest of what people are saying about a brand across Reddit, X, TikTok, news, reviews
  • live-research — multi-query Discover → dedup → a cited research brief
  • seo-audit — sitemap-stratified live SEO audits

Default flow for live web work:

  1. Search first when you need discovery bdata search "query" --json
  2. Pipelines next if a pre-built scraper covers the site — you get structured JSON with no parsing. Look it up, never guess the dataset_id or fields: bdata pipelines search "<site or data type>", then bdata pipelines info <dataset_id> <method>, then bdata pipelines run <dataset_id> <method> "<url>"
  3. Scrape when you have a URL and no platform pipeline applies bdata scrape "https://example.com" -f markdown
  4. Browser API only when the page truly needs clicks, forms, or login (see the brightdata-cli skill for bdata browser and the bright-data-best-practices browser-api reference)

When the task shifts from "fetch data now" to "wire this into an app," switch to Path B.


Path B — Integrate Bright Data into an app

Use this when you're building an application, agent, or workflow that calls Bright Data from code and needs BRIGHTDATA_API_KEY (and a zone) in .env or runtime config.

The required question on this path is:

What should Bright Data do in the product?

Use the answer to pick the API:

Job in productAPISkill
Fetch a single page as markdown / HTML / JSONWeb Unlockerbright-data-best-practices → web-unlocker.md
Search engine results in structured JSONSERP APIbright-data-best-practices → serp-api.md
Structured records from supported platformsWeb Scraper APIbright-data-best-practices → web-scraper-api.md
JS-heavy / interactive pages with Playwright/PuppeteerBrowser APIbright-data-best-practices → browser-api.md
Build a custom scraper for an arbitrary siteAll four, picked by site shapescraper-builder

Pick a stack

  • Python → use the official SDK

    bash
    pip install brightdata-sdk

    Hand off to python-sdk-best-practices for client setup (async/sync), platform scrapers, SERP, datasets, Browser API, and error handling.

  • Node / TypeScript → use the official JS/TS SDK

    bash
    npm install @brightdata/sdk

    Hand off to js-sdk-best-practices for client setup (bdclient), platform scrapers, SERP, Discover, datasets, Browser API, Scraper Studio, and error handling.

  • Shell / other languages → call the REST API directly (Path D below has the endpoints), or use the CLI as a library via npx @brightdata/cli.

  • Raw proxy access (route HTTP through Bright Data IPs) → hand off to proxy for network/pool choice, the brd-customer- username format, SSL CA setup, and framework integrations.

  • Web-grounded retrieval / RAG for an LLM → hand off to rag-pipeline (Discover as the retrieval / ingestion layer).

  • LLM tool layer (Claude, ChatGPT, etc.) → use the MCP server (Path M).

Set credentials

dotenv
BRIGHTDATA_API_KEY=...
BRIGHTDATA_UNLOCKER_ZONE=cli_unlocker   # created automatically by `bdata login`
BRIGHTDATA_SERP_ZONE=cli_unlocker       # or a dedicated SERP zone

If you don't have a key yet, do Path C first.

Smoke test before writing real code

Always run one real Bright Data request before scaling up integration work — catches auth, zone, and quota issues before they hide inside your app's error paths.

bash
# Web Unlocker via REST
curl -sS https://api.brightdata.com/request \
  -H "Authorization: Bearer $BRIGHTDATA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "zone": "'"$BRIGHTDATA_UNLOCKER_ZONE"'",
    "format": "raw",
    "data_format": "markdown"
  }' | head -40

If this prints clean markdown, you're wired up. If not, check the zone name and key.


Path M — MCP server (LLM tool layer)

Use this when the consumer is an LLM agent that should call Bright Data as tools (e.g., Claude Code, ChatGPT desktop, custom agent loops). The MCP server exposes 30+ tools — search, scrape, structured data from 1,200+ pre-built scrapers, browser automation — over a single URL.

Connect with:

https://mcp.brightdata.com/mcp?token=YOUR_BRIGHTDATA_API_TOKEN

All tools are on by default. Add &groups= (scrapers, browser, advanced_scraping, geo) or &tools= to limit them.

Hand off to the bright-data-mcp skill for tool selection and workflow patterns. That skill explicitly replaces WebFetch / WebSearch with Bright Data MCP equivalents.

MCP requests run on the Unlocker API and draw from the same monthly free-credit pool described under Path C — there's no separate MCP allowance.


Path C — Get an API key (auth only)

Use this when the human still needs to sign up, sign in, or generate a key. Skip this path if bdata config already shows an authenticated account, or if BRIGHTDATA_API_KEY is already set in the environment.

Free tier — no card needed to start. Every new account gets 5,000 free credits / month (~$7.50) from one shared pool, so you can build and test before depositing anything. The docs are the source of truth for these numbers: https://docs.brightdata.com/general/account/billing-and-pricing/free-tier

  • Shared pool across Unlocker API, SERP API, Web Scraper API, and Scraper Studio — 1 credit per request/record (Scraper Studio: 1 credit per page load).
  • Bright Data MCP server requests draw from the same pool — MCP runs on the Unlocker API.
  • Hard stop when credits run out if no funds are deposited — never a surprise bill.
  • Credits reset on the 1st of each month and do not roll over.
  • Not covered by monthly credits: Proxy products and the Browser API. Those use a separate one-time $2 trial (7 days) plus a $5 bonus (30 days) after adding a payment method.
  • Not eligible: custom-PAYG and pre-commit plans.

Easiest: use the CLI's OAuth flow

bash
bdata login            # browser-based OAuth
bdata login --device   # headless / SSH (device-code flow)

This handles signup-or-signin, key generation, zone creation, and local config in one step. Prefer this over manual flows.

Manual: dashboard

If the human prefers the web UI:

  1. Go to https://brightdata.com/cp (sign up if needed)
  2. Create a Web Unlocker zone ("Add" → "Unlocker zone")
  3. Copy the API key from the dashboard
  4. Save it where the rest of the app reads secrets:
bash
echo "BRIGHTDATA_API_KEY=..." >> .env
echo "BRIGHTDATA_UNLOCKER_ZONE=<zone-name>" >> .env

Verify

bash
bdata budget    # any successful response means the key works

If verification fails, the key is wrong, the zone is wrong, or the account has no active subscription — surface the error to the human rather than guessing.


Path D — Use Bright Data without installing anything

Use this when the environment can't run npm / curl | bash, or when you only need one or two requests and don't want the CLI / SDK. Works for both live agent work and app integration.

You still need an API key and a zone. Two ways to get them:

  • Human pastes it in — if a key already exists, set BRIGHTDATA_API_KEY=... and BRIGHTDATA_UNLOCKER_ZONE=... in the environment
  • Browser flow — do Path C; the dashboard issues both

Base URL: https://api.brightdata.com Auth header: Authorization: Bearer $BRIGHTDATA_API_KEY

Core endpoints

http
# Web Unlocker — clean content from any URL
POST /request
{
  "url": "https://target.com",
  "zone": "<unlocker-zone>",
  "format": "raw",
  "data_format": "markdown"   // or "html", "screenshot", "parsed_light"
}
http
# SERP API — structured search results
# Use the same /request endpoint with a SERP zone and a search URL,
# adding `brd_json=1` to receive parsed JSON instead of raw HTML.
POST /request
{
  "url": "https://www.google.com/search?q=web+scraping&brd_json=1",
  "zone": "<serp-zone>",
  "format": "raw"
}
http
# Web Scraper API — structured data from pre-built scrapers (async)
POST /datasets/v3/trigger?dataset_id=<id>
[ { "url": "https://amazon.com/dp/B09V3KXJPB" } ]

# then poll
GET  /datasets/v3/snapshot/<snapshot_id>?format=json

For the full parameter surface (special headers like x-unblock-expect, async response IDs, dataset progress states, Browser API CDP commands), read the bright-data-best-practices skill — its references are the source of truth for REST-level work.

Documentation


After onboarding — where to go next

Once the agent is set up, route the work to the narrowest skill that fits. Quick map:

User says…Skill
"scrape this URL" / "get this page"scrape
"search Google for…" / "find URLs about…"search
"find pages about matching " / "semantic / intent search"discover-api
"get Amazon / LinkedIn / Instagram / TikTok / YouTube / Reddit data"data-feeds
"build a scraper for " (I want runnable code I own)scraper-builder
"generate a scraper from a description" / "bdata scraper run" (AI-built, no code)scraper-studio
"analyze my competitor" / "competitor's pricing strategy" / "market landscape"competitive-intel
"compare prices" / "cheapest place to buy X" / "price check" (shopping)price-comparison
"what are people saying about us" / "monitor mentions" / "brand sentiment"brand-listening
"research deeply" / "write a cited brief"live-research
"build a RAG pipeline" / "add web search to my LLM" / "ground my model"rag-pipeline
"audit SEO" / "rank check" / "schema check"seo-audit
"make my app look like " / "mirror this design"design-mirror
"write Bright Data code in Python"python-sdk-best-practices
"write Bright Data code in JS / TypeScript"js-sdk-best-practices
"route requests through a Bright Data proxy" / "brd-customer- username"proxy
"plug Bright Data into my LLM agent"bright-data-mcp
"use the CLI" / "run from terminal"brightdata-cli
"debug a Browser API / Scraping Browser session"brd-browser-debug

When in doubt, prefer the more specific skill: data-feeds over scrape for supported platforms, scraper-builder over scrape for multi-page extraction, bright-data-mcp over brightdata-cli when the consumer is an LLM agent rather than a human at a terminal.

Two pairs are easy to confuse:

  • scraper-builder vs scraper-studio — scraper-builder writes a scraper you own and run yourself (real code + selectors + pagination). scraper-studio turns a URL + plain-English description into an AI-generated Bright Data collector you run via bdata scraper create / bdata scraper run — no code to maintain.
  • competitive-intel vs price-comparison — competitive-intel is business analysis of a competitor's pricing strategy and positioning; price-comparison is consumer purchase research ("where is this product cheapest and in stock").

Câu hỏi thường gặp

Kỹ năng AI Agent Onboarding làm được gì?

Onboard an agent to Bright Data. Use when a coding agent first encounters Bright Data — for live web work (search, scrape, structured data), for wiring Bright Data into product code, for installing the agent skill bundle, or for getting an API key. One install command sets up the CLI, agent skills, and authentication. Routes the reader to the right path: live tools, app integration, MCP, auth-only, or direct REST without any install.

Vì sao nên dùng Agent Onboarding trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Agent Onboarding là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Agent Onboarding trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/brightdata/skills/tree/main/skills/agent-onboarding. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Agent Onboarding?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Agent Onboarding với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Agent Onboarding với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Agent Onboarding có miễn phí không?

Có. Kỹ năng này được brightdata phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇