Logo 03 Firecrawl Research

03 Firecrawl Research

Tổ chức
Zevenue
03-firecrawl-research

Scrapes a company website into clean, page-typed markdown using Firecrawl map + scrape + extract. Triggers on: "scrape this company", "read their website", "extract pages from", "research this domain", "fetch their careers page", or any URL + "scrape/extract/read". Covers single domain, batch processing, structured LLM extraction, and Google Sheets output.

Tổng quan

Nhà phát hànhZevenue
Kho mãheadless-gtm
Tên kỹ năng03-firecrawl-research
Sao
30
Bản fork
7
Tệp đi kèm
5
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 dùng hướng dẫn viết bằng Markdown thay vì 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ộ.

  • 5 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Zevenue công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI 03 Firecrawl Research 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 của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Zevenue/headless-gtm/tree/main/skills/03-firecrawl-research
  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/Zevenue/headless-gtm.git /tmp/headless-gtm
mkdir -p .claude/skills
cp -r /tmp/headless-gtm/skills/03-firecrawl-research .claude/skills/03-firecrawl-research
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 03 Firecrawl Research 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ự nạp 03 Firecrawl Research 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 bạn có thể dùng 03 Firecrawl Research với cả những mô hình khác ngoài mô hình ban đầu. 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 khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổ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.

Firecrawl Research

Given a company domain, scrape its website and return clean markdown organized by page type. Downstream skills (signal-builder, email-writer) consume this output. This skill fetches only - scoring and interpretation belong to signal-builder.

Quick start

The user provides domain(s) and optionally a mode. Default to standard.

ModeCreditsPages
standard5-8Homepage, About, Careers, Blog, Pricing, Customers, Integrations, Product
deep5-11Standard + Changelog, Leadership
minimal3Homepage, About only
extracttoken-billed (varies)Structured JSON via LLM extraction

If the user doesn't specify a mode, use standard. Confirm mode before running only when the choice is ambiguous or the batch is large (>50 domains).

Running the scraper

bash
# Single domain
python3 scripts/firecrawl_scrape.py --domain "acme.com" --mode standard

# Batch (one domain per line in file)
python3 scripts/firecrawl_scrape.py --batch domains.txt --mode standard

# Resume interrupted batch
python3 scripts/firecrawl_scrape.py --resume runs/<run-folder-name>

All paths are relative to the skill folder (03-firecrawl-research/).

The script creates a timestamped run folder under runs/ with a tracker.json for progress and per-domain JSON scan files under runs/<name>/scans/.

After a scrape completes, read the tracker and show the user a summary (completed/failed count, total credits).

Writing to Google Sheet

Use scripts/sheets_writer.py - the Google Sheets MCP fails on large content.

bash
python3 scripts/sheets_writer.py \
  --run-dir runs/<run-folder> \
  --spreadsheet-id <SHEET_ID>

Options: --summary (char counts instead of full content), --tab-name "name".

Output columns

ColumnContent
Domainacme.com
Statussuccess / partial / blocked
Modestandard / deep / minimal / extract
Date2026-06-18
URLs Found47
Pages Scraped6
Credits Used7
Homepage…ProductPage content (or empty if not found)

Page types

See references/page-types.md for full classification and multilingual patterns.

TierPagesModes
1Homepage, About, Careers, BlogAll
2Customers, Pricing, Integrations, ProductStandard + Deep
3Changelog, LeadershipDeep only

Careers scrapes the main /careers page only (1 credit).

Extract mode

When the user picks extract without a custom schema, the script uses:

json
{
  "founder": "string", "headcount_clues": "string",
  "tech_mentions": "array", "funding_clues": "string",
  "product_category": "string", "customers_mentioned": "array",
  "partners": "array", "investors": "array",
  "year_founded": "string", "locations": "array"
}

Extract mode is the best way to get customer/partner/investor data - it uses LLM-powered extraction that understands context better than HTML parsing. The user can override with a custom schema.

Directory and registry extraction

Extract mode pointed at a listing site instead of a company site: one directory, registry, or association URL in, N company records out. This is the discovery path for web-scattered ICPs and the cold-start workflow (run-first-campaign) - a licensing registry, professional college, trade association directory, or marketplace category page is itself the list.

Run it through the same script, with the built-in listing-row schema:

bash
# One listing page -> N company records
python3 scripts/firecrawl_scrape.py \
  --domain "https://registry.example.com/search?page=1" --mode extract --schema listing

# Paginated registry: one listing-page URL per line in the file
python3 scripts/firecrawl_scrape.py --batch pages.txt --mode extract --schema listing

--schema listing selects this schema (pass a JSON file path instead for a custom one):

json
{
  "companies": [{
    "name": "string",
    "website": "string - empty when the listing shows none",
    "phone": "string - as listed; often the only contact channel",
    "location": "string - city / region as listed",
    "category": "string - the listing's own classification",
    "listing_url": "string - the row's detail-page URL, if any",
    "registry_id": "string - licence / registration number, if shown"
  }]
}

How it differs from company-site extraction:

  • Extract on the listing pages, not the homepage. Map the site (or read the search/index page) to find where rows actually render. Registries usually paginate: collect the page 2..N URLs from the first page's pagination links into a file and run the --batch form above - one extract call per page.
  • Extract bills by tokens, not per call - 1 credit = 15 tokens (references/firecrawl-endpoints.md), so cost scales with how much text each page carries. Extract the first page alone, read the actual charge (the script records reported usage in the tracker; when the API omits it, check the Firecrawl dashboard), and use that as the per-page figure: a 15-page registry costs ~15x page one. State that estimate before running the rest, and the batch thresholds in the cost table below apply as usual.
  • Rows without websites are normal - many registrants list no site. The script keeps them with domain empty (never a guessed URL): they enter the chain on the name|city dedup fallback (headless-gtm-shared/schema.py:dedup_key), the phone and listing link stay on the record as the contact channel, and a domain can be resolved later.
  • The script emits chain records, not raw extraction JSON. One record per row - company, domain (may be empty), website, phone, city/region from the location field, category, plus the listing provenance (listing_url, registry_id, source_url) - written to records.jsonl per headless-gtm-shared/CONVENTIONS.md and deduped across pages, so 01-icp-qualify can judge each row and cite where it came from.
  • Blocked or empty extraction is a source problem, not a retry loop. Registries defend themselves. Report what happened and fall through to the next candidate source (second registry, association directory, marketplace, Maps via 02) instead of burning credits on stealth-proxy retries against a hardened site.

Cost and credit rules

TriggerAction
Single domain > 10 creditsWarn before proceeding
Batch > 50 domainsShow estimated total, ask confirmation
Batch > 500 domainsSuggest minimal mode, require confirmation
Estimated batch > $10Hard stop, require user approval

Credit math: credits x $0.001 (Standard plan) or credits x $0.0004 (Growth).

Credit tracking rules - these prevent silent cost overruns:

  • Read actual credits from response.metadata.credits_used, not hardcoded counts. Firecrawl's stealth proxy charges 5 credits instead of 1 and activates automatically on blocked sites.
  • Always map before scraping - blind scraping wastes credits on wrong URLs.
  • Check the Firecrawl dashboard credit balance before large batches. Stealth proxy can silently 5x expected cost.
  • Running scrape + extract together on the same domain has no benefit over running them separately and costs more.

Shared output (records.jsonl)

After each run (single or batch), the script writes records.jsonl and meta.json to the run folder alongside tracker.json and scans/. Each record carries the stage-03 fields per headless-gtm-shared/CONVENTIONS.md - scraped_markdown keyed by page type (capped at 15K chars/page; scans/*.json keep the full text), pages_scraped, and scrape_status - plus has_<page> labels in filters_matched:

jsonl
{"company": "Acme Corp", "domain": "acme.com", "person": null, "scraped_markdown": {"homepage": "# Acme...", "about": "## Our story..."}, "pages_scraped": 2, "scrape_status": "success", "filters_matched": ["has_homepage", "has_about"]}

--batch also accepts an upstream records.jsonl (from 01/02/04) directly: it reads the domains from it and carries every upstream field through into the output records, so the chain record keeps evolving instead of restarting here.

Scope boundaries

Not this skillUse instead
Score or rank signalssignal-builder
Find email addressesprospeo-resolve
Discover domainsprospeo-discover

Troubleshooting

IssueFix
FIRECRAWL_API_KEY not foundAdd to .env file
Map returns 0 URLsScript falls back to homepage-only scrape
All pages thin_contentSite is JS-heavy or blocked
Credits running lowSwitch to minimal mode
Sheet writer auth failsRe-auth: rm ~/.google/token.json then re-run
Interrupted batchResume with --resume <run-folder-path>
Script import errorpip install -r ../headless-gtm-shared/requirements.txt

Auth

  • Firecrawl: FIRECRAWL_API_KEY in .env
  • Google Sheets: OAuth2 token at ~/.google/token.json

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Scrapes a company website into clean, page-typed markdown using Firecrawl map + scrape + extract. Triggers on: "scrape this company", "read their website", "extract pages from", "research this domain", "fetch their careers page", or any URL + "scrape/extract/read". Covers single domain, batch processing, structured LLM extraction, and Google Sheets output.

Vì sao nên dùng 03 Firecrawl Research 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. 03 Firecrawl Research 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 03 Firecrawl Research trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Zevenue/headless-gtm/tree/main/skills/03-firecrawl-research. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng 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 03 Firecrawl Research?

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.

Có thể dùng 03 Firecrawl Research 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 03 Firecrawl Research 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 03 Firecrawl Research có miễn phí không?

Có. Kỹ năng này được Zevenue 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 các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công 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à những tiêu chí mà kết quả cần đáp ứng. 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 👇