firecrawl-build-scrape — скилл для Claude Code: как установить
Скилл помогает встроить вызов Firecrawl /scrape в код продукта для извлечения данных со страницы. Он пригодится, когда URL уже известен и нужен чистый markdown или метаданные.
npx skills add firecrawl/skills --skill firecrawl-build-scrape -a claude-codeЧто делает firecrawl-build-scrape
Скилл помогает встроить эндпоинт /scrape в код на Node, Python, Rust, Java или Elixir. Он рассчитан на работу с известным URL. По умолчанию инструмент рекомендует запрашивать markdown и очищать разметку флагом onlyMainContent. Если же контент требует кликов или ввода текста, этот скилл не справится: правила требуют переключаться на firecrawl-build-interact.
В логику заложена работа со свежестью данных. Firecrawl может повторно использовать индекс, поэтому параметр maxAge: 0 полностью отключает кэш для критичных проверок. Результат кэширования проверяется по полям cacheState и cachedAt. Для облачных запросов обязательно нужен FIRECRAWL_API_KEY. Если развёрнут собственный сервер, подключение задаётся через FIRECRAWL_API_URL.
Какие задачи решает
- извлечь чистый markdown из отдельной веб-страницы по известному URL
- убрать навигацию и лишние блоки статьи с помощью
onlyMainContent - настроить проверку кэша через параметры
maxAgeи метаданныеcacheState - подключить эндпоинт
/scrapeк бэкенду на Python или Node.js
Примеры запросов агенту
- Напиши функцию на Python для парсинга статьи по URL через Firecrawl /scrape, чтобы на выходе был только markdown без шапки и меню
- Добавь в сервис вызов Firecrawl /scrape с параметром maxAge: 0 для получения свежих цен со страницы товара
Как установить firecrawl-build-scrape
1Через Skills CLI (Vercel)
npx skills add firecrawl/skills --skill firecrawl-build-scrape -a claude-code2Вручную: положить файлы
~/.claude/skills/firecrawl-build-scrape/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/firecrawl-build-scrape/
1Через Skills CLI (Vercel)
npx skills add firecrawl/skills --skill firecrawl-build-scrape -a codex2Вручную: положить файлы
.agents/skills/firecrawl-build-scrape/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add firecrawl/skills --skill firecrawl-build-scrape -a cursor2Вручную: положить файлы
.cursor/skills/firecrawl-build-scrape/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install firecrawl/skills firecrawl-build-scrape2Вручную: положить файлы
.github/skills/firecrawl-build-scrape/SKILL.md1Через Skills CLI (Vercel)
npx skills add firecrawl/skills --skill firecrawl-build-scrape -a gemini-cli2Командой платформы
gemini skills install https://github.com/firecrawl/skills --path skills/build/firecrawl-build-scrapeВручную: положить файлы
.devin/skills/firecrawl-build-scrape/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add firecrawl/skills --skill firecrawl-build-scrape -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора4
Весь набор →Похожие
Вопросы о firecrawl-build-scrape
Как установить firecrawl-build-scrape в Claude Code?
Выполните в терминале команду npx skills add firecrawl/skills --skill firecrawl-build-scrape -a claude-code.
Что делает firecrawl-build-scrape?
Скилл учит агента внедрять эндпоинт Firecrawl /scrape для постраничного парсинга. Он формулирует правила выбора форматов, очистки лишней навигации и контроля устаревания кэша.
Когда нужно использовать firecrawl-build-interact вместо этого скилла?
Если для отображения данных на странице нужны клики, заполнение форм или многошаговая навигация, базовый скрапинг не подойдёт. Документация прямо требует переходить на firecrawl-build-interact.
Исходный текст
SKILL.md · ISC
---
name: firecrawl-build-scrape
description: 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.
license: ISC
metadata:
author: firecrawl
version: "0.1.0"
homepage: https://www.firecrawl.dev
source: https://github.com/firecrawl/skills
inputs:
- name: FIRECRAWL_API_KEY
description: Firecrawl API key for hosted Firecrawl requests.
required: true
- name: FIRECRAWL_API_URL
description: Optional base URL for self-hosted Firecrawl deployments.
required: false
references:
- references/freshness-and-liveness.md
---
# 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 `markdown` unless the feature truly needs another format.
- Use `onlyMainContent` for 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, or `maxAge: 0` to skip index reuse for a freshness-critical read.
- Read `metadata.cacheState` and `metadata.cachedAt` to 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](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](../firecrawl-build-search/SKILL.md).
- If content requires clicks, typing, or multi-step navigation, escalate to [firecrawl-build-interact](../firecrawl-build-interact/SKILL.md).
## Implementation Notes
- Keep the integration narrow: one feature, one URL, one extraction contract.
- Treat `/scrape` as 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](https://docs.firecrawl.dev/agent-source-of-truth/node)
- **Python**: [docs.firecrawl.dev/agent-source-of-truth/python](https://docs.firecrawl.dev/agent-source-of-truth/python)
- **Rust**: [docs.firecrawl.dev/agent-source-of-truth/rust](https://docs.firecrawl.dev/agent-source-of-truth/rust)
- **Java**: [docs.firecrawl.dev/agent-source-of-truth/java](https://docs.firecrawl.dev/agent-source-of-truth/java)
- **Elixir**: [docs.firecrawl.dev/agent-source-of-truth/elixir](https://docs.firecrawl.dev/agent-source-of-truth/elixir)
- **cURL / REST**: [docs.firecrawl.dev/agent-source-of-truth/curl](https://docs.firecrawl.dev/agent-source-of-truth/curl)
## See Also
- [firecrawl-build](../firecrawl-build/SKILL.md)
- [firecrawl-build-search](../firecrawl-build-search/SKILL.md)
- [firecrawl-build-interact](../firecrawl-build-interact/SKILL.md)
© firecrawl · ISC · firecrawl/skills