Agent Skills
› firecrawl/cli
› firecrawl-map
firecrawl-map
GitHub用于发现网站上的所有URL或查找特定子页面。支持通过搜索过滤、限制数量及处理站点地图,适用于构建网站地图、在爬取前获取URL列表或定位具体页面结构。
Trigger Scenarios
用户希望查看网站的整体结构或列出所有页面
用户需要在大型网站中搜索特定的子页面或URL
用户提到'map the site'、'find the URL for'或'list all pages'
用户知道目标域名但不确定具体页面路径
Install
npx skills add firecrawl/cli --skill firecrawl-map -g -y
SKILL.md
Frontmatter
{
"name": "firecrawl-map",
"description": "Discover and list all URLs on a website, with optional search filtering. Use this skill when the user wants to find a specific page on a large site, list all URLs, see the site structure, find where something is on a domain, or says \"map the site\", \"find the URL for\", \"what pages are on\", or \"list all pages\". Essential when the user knows which site but not which exact page.\n",
"allowed-tools": [
"Bash(firecrawl *)",
"Bash(npx firecrawl *)"
]
}
firecrawl map
Discover URLs on a site. Use --search to find a specific page within a large site.
When to use
- You need to find a specific subpage on a large site
- You want a list of all URLs on a site before scraping or crawling
- Step 3 in the workflow escalation pattern: search → scrape → map → crawl → interact
Quick start
# Find a specific page on a large site
firecrawl map "<url>" --search "authentication" -o .firecrawl/filtered.txt
# Get all URLs
firecrawl map "<url>" --limit 500 --json -o .firecrawl/urls.json
Options
| Option | Description |
|---|---|
--limit <n> |
Max number of URLs to return |
--search <query> |
Filter URLs by search query |
--sitemap <include|skip|only> |
Sitemap handling strategy |
--include-subdomains |
Include subdomain URLs |
--json |
Output as JSON |
-o, --output <path> |
Output file path |
Tips
- Map + scrape is a common pattern: use
map --searchto find the right URL, thenscrapeit. - Example:
map https://docs.example.com --search "auth"→ found/docs/api/authentication→scrapethat URL.
See also
- firecrawl-scrape — scrape the URLs you discover
- firecrawl-crawl — bulk extract instead of map + scrape
- firecrawl-download — download entire site (uses map internally)
Version History
- 6c50c5d Current 2026-07-24 11:49


