Logo Fetch

Fetch

Tổ chức
brightdata
fetch

Use when the user wants one known URL returned as content: "get me this page", read this article, this page as markdown, save the raw HTML, screenshot this page, or page text for a RAG index or model context. Also when a plain fetch of a URL came back blocked or challenged instead of the real page: a 403 or another error status, a CAPTCHA, a bot wall, or an empty body. Wraps Bright Data Web Unlocker, so a blocked page still comes back. Not records or many pages of data from a site (use scrape), not a search query with no URL (use search), not driving a browser with your own Playwright, Puppeteer or Selenium code (use browser), not cost or credits (use billing), not auth or KYC failures (use agent-onboarding).

Tổng quan

Nhà phát hànhbrightdata
Kho mãskills
Tên kỹ năngfetch
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 Fetch 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/fetch
  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/fetch .claude/skills/fetch
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 Fetch 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 Fetch 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 Fetch 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 - Fetch

One URL in, one page out, as markdown, HTML, or a screenshot. Nothing is parsed for you.

Every request is unblocked: IP rotation, browser fingerprints, cookies, CAPTCHA solving and automatic retries, from a country you choose. JavaScript rendering can be forced with the REST body's render parameter. The CLI has no flag for it, so a CLI fetch cannot force rendering (a -f screenshot is still an image of the rendered page).

The call

CLI. The command is bdata scrape, which runs Web Unlocker.

bdata scrape https://example.com/article

Markdown is the default. A first bdata login tries to create cli_unlocker and, when no default is set, stores it as the zone default, so a fresh login on a normal account needs no --zone. It never overwrites a default you already set. A key from agent registration cannot create zones and its account has no cli_unlocker, so run bdata config set default_zone_unlocker agent_unlocker once. An account set up any other way carries its unlocker zone under another name (agent_unlocker from agent registration, mcp_unlocker from the MCP server, any name at all when a person made it by hand): find it by the entry whose "type" is "unblocker" in bdata zones --json, and pass that name. Override with --zone <name>, or BRIGHTDATA_UNLOCKER_ZONE, or bdata config set default_zone_unlocker <name>.

If bdata is not recognized, the CLI is not installed or npm's global directory is not on PATH; both fixes live in the agent-onboarding skill's Install section.

REST. The same request, for any machine with no CLI.

POST https://api.brightdata.com/request
     Authorization: Bearer $BRIGHTDATA_API_KEY
     Content-Type: application/json

     {"zone":"cli_unlocker","url":"https://example.com/article",
      "format":"raw","data_format":"markdown"}

cli_unlocker is the name after bdata login. On any other account use the name of your unblocker zone, as above.

format is the envelope and data_format is the page. "format":"raw" returns the body itself, "format":"json" wraps it with status and headers.

For code the user keeps, the SDK wraps this same call in one line: const html = await client.scrapeUrl('https://example.com/article'). The brightdata-sdk skill owns that surface. The scrape skill's references/web-unlocker.md covers the same one-POST shape and the KYC error codes. The full parameter list, including render, country and method, is in Bright Data's Web Unlocker API docs.

Formats

WantCLIREST bodyNote
Markdown (default)-f markdown"format":"raw","data_format":"markdown"For a model, an index, or a human
Raw HTML-f html"format":"raw", no data_formatWhen the user's own code parses it
Screenshot-f screenshot"format":"raw","data_format":"screenshot"Binary PNG. The CLI writes screenshot.png unless -o <path> says otherwise
Response metadata-f json"format":"json"Status and headers around the body

One honest note on the markdown: links come back exactly as the page wrote them, so a relative link like /pricing stays relative and points nowhere once the text leaves the site. That is fine when the output feeds a model, an index or a RAG store. For a standalone document a person will read and click, resolve the links against the page URL first, and say that you did.

The other flags that exist: --country <code>, --async, -o <path>, --json, --pretty, --timing, and --mobile, which has no effect in the current CLI release.

Example - one blocked article

The ask: "my script gets a 403 on this URL, I just need the article text"

  1. One URL, and the page itself is the answer. Stay in this skill.
  2. The 403 is the reason to be here, not a problem to route around. Unblocking is the product.
  3. Text for a human or a model, so markdown, which is already the default.
bdata scrape https://www.example-news.com/2026/08/some-article

Then state the choice in one line the user can override with one word:

Fetched the page with Web Unlocker as markdown. Say fields if you want the data fields pulled out instead, and I will use a maintained scraper.

When a fetch is refused

Read the error first. A 403 from the target site is not on this list, because that is the ordinary case this skill exists to solve.

The message containsWhat it means
No Web Unlocker zone specified.No zone resolved. Take the name of the "type":"unblocker" entry in bdata zones --json and pass it as --zone, or save it once with bdata config set default_zone_unlocker <name>. Do not log in again: it replaces the stored key.
zone "<name>" not foundThe resolved zone does not exist on this account, often cli_unlocker on an account made by agent registration. Take the "type":"unblocker" entry from bdata zones --json and save it with bdata config set default_zone_unlocker <name>.

Two other refusals are not this skill's to fix. A missing or dead key (No API key found, or 401) means the machine is not logged in. A few targets need KYC on the account before Bright Data will serve them: sites that block themselves in robots.txt such as Reddit, government sites, sites on Bright Data's blocked list, and targets its compliance policy does not permit. Most sites need none of this. Both belong to the agent-onboarding skill, which carries the exact error codes. Send the user there, and never send anyone to KYC before a call has actually been refused.

Handoff boundaries

The askSkill
Data fields, or many pages of one sitescrape
The same site fetched twice with a parser in betweenscrape, because that is a scraper being written by hand
A query with no URLsearch
Their own browser code, pointed at an unblocked browserbrowser

A fetch whose real purpose is pulling data fields out of the page is a scrape ask. Hand it over.

Never promise JavaScript rendering on a CLI markdown or HTML fetch; when a page needs it, use the REST call with "render":"true". Never reach for a browser or a proxy because a page returned 403. That is what this one call already handles.

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

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

Use when the user wants one known URL returned as content: "get me this page", read this article, this page as markdown, save the raw HTML, screenshot this page, or page text for a RAG index or model context. Also when a plain fetch of a URL came back blocked or challenged instead of the real page: a 403 or another error status, a CAPTCHA, a bot wall, or an empty body. Wraps Bright Data Web Unlocker, so a blocked page still comes back. Not records or many pages of data from a site (use scrape), not a search query with no URL (use search), not driving a browser with your own Playwright, Pupp...

Vì sao nên dùng Fetch 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. Fetch 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 Fetch 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/fetch. 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 Fetch?

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 Fetch 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 Fetch 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 Fetch 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 👇