firecrawl-knowledge-base — скилл для Claude Code: как установить
Скилл выгружает веб-страницы через Firecrawl и собирает из них локальную базу знаний в Markdown. Пригодится для подготовки контекста RAG или обучающих датасетов.
npx skills add firecrawl/firecrawl-workflows --skill firecrawl-knowledge-base -a claude-codeЧто делает firecrawl-knowledge-base
Скилл превращает сайты или тематические подборки в структурированные файлы. Он опрашивает пользователя о задаче, если контекста не хватает, после чего запускает сбор через карту сайта или поисковые запросы. Скрипты очищают страницы от навигационного мусора, сохраняя таблицы и блоки с примерами исходного кода.
Результаты раскладываются по каталогу .firecrawl/<hostname>/<path>/index.md. Режим выгрузки зависит от цели: обычная справка с sources.json, чанки с manifest.json для RAG, файлы training-data.jsonl для дообучения моделей или зеркало документации с оглавлением. Если объём страниц большой, скилл может запускать параллельных субагентов по разным разделам.
Для отправки запросов обязательно нужен ключ FIRECRAWL_API_KEY, без него платный или облачный сбор не запустится. Это повод проверить переменные окружения ещё до старта рабочего процесса.
Какие задачи решает
- сохранять онлайн-документацию в локальное Markdown-зеркало с оглавлением
- генерировать размеченные чанки и
manifest.jsonдля RAG-систем - готовить файлы
training-data.jsonlдля дообучения нейросетей - очищать спарсенные страницы от шаблонной навигации сайта
Примеры запросов агенту
- Собери документацию с сайта библиотеки в локальную папку для RAG с чанками.
- Выгрузи все статьи по теме в Markdown и сохрани список источников в sources.json.
- Подготовь датасет в формате training-data.jsonl на основе официального руководства.
Как установить firecrawl-knowledge-base
1Через Skills CLI (Vercel)
npx skills add firecrawl/firecrawl-workflows --skill firecrawl-knowledge-base -a claude-code2Вручную: положить файлы
~/.claude/skills/firecrawl-knowledge-base/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/firecrawl-knowledge-base/
1Через Skills CLI (Vercel)
npx skills add firecrawl/firecrawl-workflows --skill firecrawl-knowledge-base -a codex2Вручную: положить файлы
.agents/skills/firecrawl-knowledge-base/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add firecrawl/firecrawl-workflows --skill firecrawl-knowledge-base -a cursor2Вручную: положить файлы
.cursor/skills/firecrawl-knowledge-base/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install firecrawl/firecrawl-workflows firecrawl-knowledge-base2Вручную: положить файлы
.github/skills/firecrawl-knowledge-base/SKILL.md1Через Skills CLI (Vercel)
npx skills add firecrawl/firecrawl-workflows --skill firecrawl-knowledge-base -a gemini-cli2Командой платформы
gemini skills install https://github.com/firecrawl/firecrawl-workflows --path skills/firecrawl-knowledge-baseВручную: положить файлы
.devin/skills/firecrawl-knowledge-base/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add firecrawl/firecrawl-workflows --skill firecrawl-knowledge-base -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора6
Весь набор →Похожие
Вопросы о firecrawl-knowledge-base
Как установить firecrawl-knowledge-base в Claude Code?
Выполните команду npx skills add firecrawl/firecrawl-workflows --skill firecrawl-knowledge-base -a claude-code в терминале. Также можно вручную поместить файл конфигурации по пути ~/.claude/skills/firecrawl-knowledge-base/SKILL.md.
Что делает firecrawl-knowledge-base?
Скилл запрашивает веб-страницы через Firecrawl и преобразует их в структурированный Markdown. Он сохраняет примеры кода и таблицы, удаляет лишнее меню и складывает файлы в каталог .firecrawl/.
Что нужно подготовить для запуска сбора?
Обязательно задайте переменную окружения FIRECRAWL_API_KEY. Без действующего ключа API веб-краулер не сможет отправлять запросы и выгружать страницы.
Исходный текст
SKILL.md · ISC
---
name: firecrawl-knowledge-base
description: Build a knowledge base from web content with Firecrawl. Use for local reference docs, RAG-ready chunks, fine-tuning datasets, documentation mirrors, topic corpora, or LLM-ready markdown organized from web sources.
license: ISC
metadata:
author: firecrawl
version: "0.1.0"
homepage: https://www.firecrawl.dev
source: https://github.com/firecrawl/firecrawl-workflows
inputs:
- name: FIRECRAWL_API_KEY
description: Firecrawl API key for hosted Firecrawl requests.
required: true
---
# Firecrawl Knowledge Base
Use this to turn URLs or topics into organized LLM-ready content.
## Onboarding Interview
Infer the source, goal, depth, and output location from context. If the source and goal are clear, proceed immediately.
Ask at most 1-3 concise questions only if blocked, such as the source URL/topic, whether the output is reference/RAG/training/docs, or training format if training is requested.
## Firecrawl Collection Plan
Use Firecrawl map for documentation sites, search for topic-based corpora, scrape pages into markdown, and preserve code examples and tables.
For files, follow the Firecrawl download-style convention:
```text
.firecrawl/
<hostname>/
<path>/
index.md
```
## Parallel Work
If appropriate, use sub-agents or equivalent parallel task runners:
- one docs section per researcher
- official docs, tutorials, community discussions, and references by source type
- source scraping vs chunk generation vs manifest generation
## Output Modes
- Reference: markdown files, `index.md`, and `sources.json`.
- RAG: markdown files plus chunk files and `manifest.json`.
- Training: scraped source files plus `training-data.jsonl` and `training-metadata.json`.
- Docs mirror: complete markdown mirror with a table of contents.
## Final Deliverable
```markdown
# Knowledge Base: [Source]
## Summary
[What was collected and why]
## Output Structure
[Files/directories created]
## Coverage
[Sections, source types, counts]
## Usage Notes
[How to use in RAG, docs, training, or agent context]
## Sources
[URLs collected]
## Rerun Inputs
workflow: firecrawl-knowledge-base
source: [url/topic]
goal: [reference/rag/train/docs]
depth: [quick/thorough/exhaustive]
output_dir: [.firecrawl/]
```
## Quality Bar
- Preserve code examples and formatting.
- Remove boilerplate navigation where possible.
- Include source URLs in frontmatter or metadata.
© firecrawl · ISC · firecrawl/firecrawl-workflows