firecrawl-build-scrape
Skill này làm gì
Skill này giúp nhà phát triển xây dựng tính năng lấy nội dung từ một trang web đã biết, bằng bước scrape của Firecrawl. Skill dành cho các nhóm sản phẩm cần văn bản trang, liên kết hoặc ảnh chụp màn hình bên trong ứng dụng.
Khi nào nên dùng
- ✓Khi một ứng dụng đã có địa chỉ web và cần nội dung của trang đó.
- ✓Khi bạn cần nội dung trang cho tìm kiếm, tóm tắt hoặc làm giàu dữ liệu trong sản phẩm.
- ✓Khi bạn cần liên kết, metadata hoặc ảnh chụp màn hình của một trang như một phần của tính năng ứng dụng.
Liên kết skill
https://github.com/firecrawl/firecrawl/blob/main/skills/firecrawl-build-scrape/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Thêm vào ứng dụng của chúng tôi một tính năng nhận URL sản phẩm và trả về nội dung chính của trang dưới dạng markdown, kèm tiêu đề và giá.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill khuyên nên yêu cầu đầu ra markdown và tập trung vào nội dung chính của trang. Skill cũng giải thích cách kiểm soát độ tươi của dữ liệu, để các lần đọc lặp lại có thể dùng lại kết quả gần đây khi phù hợp.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Firecrawl Build Scrape
Use this when the application already has the URL and needs content from one page.
Use This When
- the feature starts from a known URL
- you need page content for retrieval, summarization, enrichment, or monitoring
- you want the default extraction primitive before considering
/interact
Default Recommendations
- Return
markdownunless the feature truly needs another format. - Use
onlyMainContentfor article-like pages where nav and chrome add noise. - Add waits or other rendering options only when the page needs them.
Freshness and Liveness
- Firecrawl reuses recently indexed content, which is what makes repeat reads of the same URL fast. Set
maxAge(milliseconds) to bound how old a reused copy may be, ormaxAge: 0to skip index reuse for a freshness-critical read. - Read
metadata.cacheStateandmetadata.cachedAtto see what you actually got. - A successful scrape reports what the page returned. Whether the thing the page describes is still active is a source-specific judgment your code makes.
- See references/freshness-and-liveness.md for the tradeoff, the metadata, and the decision rule.
Common Product Patterns
- knowledge ingestion from known URLs
- enrichment from a company, product, or docs page
- pricing, changelog, and documentation extraction
- page-level quality checks or monitoring
Escalation Rules
- If you do not have the URL yet, start with firecrawl-build-search.
- If content requires clicks, typing, or multi-step navigation, escalate to firecrawl-build-interact.
Implementation Notes
- Keep the integration narrow: one feature, one URL, one extraction contract.
- Treat
/scrapeas the default primitive for downstream LLM or indexing pipelines. - Request richer formats only when the consumer needs them, such as links, screenshots, or branding data.
Docs (Source of Truth)
Read the source-of-truth page for your project language before writing integration code:
- Node / TypeScript: docs.firecrawl.dev/agent-source-of-truth/node
- Python: docs.firecrawl.dev/agent-source-of-truth/python
- Rust: docs.firecrawl.dev/agent-source-of-truth/rust
- Java: docs.firecrawl.dev/agent-source-of-truth/java
- Elixir: docs.firecrawl.dev/agent-source-of-truth/elixir
- cURL / REST: docs.firecrawl.dev/agent-source-of-truth/curl
See Also
Câu hỏi thường gặp
Nên yêu cầu định dạng đầu ra nào?
Skill cho biết nên trả về markdown trừ khi tính năng cần định dạng khác.
Tôi có thể buộc đọc lại mới không?
Có. Skill mô tả cài đặt maxAge, và giá trị bằng không sẽ bỏ qua việc dùng lại kết quả cũ.
Khi nào nên dùng tính năng khác?
Skill cho biết nên chuyển sang skill interact khi trang cần nhấp hoặc điền biểu mẫu.
Chi tiết
Mô tả gốc của tác giả
Integrate Firecrawl `/scrape` into product code for single-page extraction. Use when an app already has a URL and needs markdown, HTML, links, screenshots, metadata, or structured page output. Prefer this skill over broader crawl patterns when the feature is page-level.
repo: firecrawl/firecrawl
Độ phổ biến
- Sao GitHub
- 198k
- Vị trí xếp hạng
- #631
- Giấy phép
- AGPL-3.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
firecrawl-build-interact
198kHướng dẫn nhà phát triển thêm tính năng interact của Firecrawl vào ứng dụng, để ứng dụng có thể nhấp, điền biểu mẫu và đi qua các trang web.
firecrawl-build-onboarding
198kGiúp nhà phát triển thiết lập Firecrawl trong dự án bằng cách cài công cụ, thêm API key vào file môi trường và chọn SDK.
firecrawl-build-search
198kHướng dẫn nhà phát triển thêm tìm kiếm web vào ứng dụng bằng Firecrawl, để sản phẩm tìm được trang từ một truy vấn trước khi đọc chúng.
firecrawl-build
198kGiúp nhà phát triển thêm dữ liệu web trực tiếp vào ứng dụng bằng Firecrawl, gồm tìm kiếm, scrape trang, trích xuất có cấu trúc và thao tác trình duyệt.
Skill tương tự
tavily
394kGiúp agent của bạn tìm kiếm web bằng Tavily và lấy văn bản từ các trang cụ thể, với tùy chọn về độ sâu, tên miền và ngày tháng.
blogwatcher
394kCho phép agent của bạn theo dõi blog và nguồn cấp RSS hoặc Atom, kiểm tra bài viết mới và đánh dấu những bài bạn đã đọc.
data-scraper-agent
280kGiúp agent tự động thu thập dữ liệu từ mọi nguồn công khai. Có thể lên lịch, bổ sung thông tin và lưu kết quả. Hữu ích để theo dõi dữ liệu trực tuyến.