Skip to content
Firecrawl Map

Firecrawl Map Skill

Firecrawl's official skill for mapping a website with its CLI: list every URL on a site or search within it to find the one page you need before scraping or crawling.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from firecrawl/cli.

$ npx skills add firecrawl/cli --skill firecrawl-map

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/firecrawl-map/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/firecrawl/cli.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/firecrawl-map ~/.claude/skills/firecrawl-map

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/firecrawl-map/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • Official Firecrawl skill for the firecrawl map command
  • Search within a site's URLs to find one page
  • List up to hundreds of URLs as text or JSON
  • Map-then-scrape pattern instead of crawling whole sites
  • Saves results under .firecrawl/ for the next step
  • Links to the scrape, crawl and download sibling skills

Firecrawl Map is one of the official skills in Firecrawl's CLI repository. It teaches an agent to use firecrawl map, which discovers the URLs on a website, for requests like "map this site" or "find the page about X on this docs site", where the user knows the domain but not the exact page, or wants to see a site's structure.

The skill gives two patterns: firecrawl map <url> --search "authentication" to find a specific page within a large site, and firecrawl map <url> --limit 500 --json to list all URLs. Results are saved under .firecrawl/, and the task counts as done once the URL list is written and the next URLs to scrape or crawl are chosen. Its main tip is the map-then-scrape pattern: search the map for the right URL, then pass it to firecrawl-scrape, rather than crawling a whole site to read one page. It points to the sibling firecrawl-scrape, firecrawl-crawl and firecrawl-download skills, and to firecrawl-build-search for building URL discovery into an app.

Requirements: the Firecrawl CLI (run directly or through npx firecrawl-cli) and a Firecrawl account. map has no keyless free tier, so without credentials the CLI asks for an interactive login. ISC-licensed.

Try it

Once installed, ask your agent something like:

Find the authentication page on docs.example.com and scrape it.

SKILL.md

The instructions your agent loads, as published by Firecrawl.

SKILL.md
name
firecrawl-map
description
Discover and list a site's URLs, with search filtering. Use for "map the site" or "find the URL for" requests — when the user knows the site but not the exact page, or wants site structure.
allowed-tools
- Bash(firecrawl *) - Bash(npx firecrawl-cli *)

firecrawl map

Discover URLs on a site. Use --search to find a specific page within a large site.

Prerequisite: map requires authentication (no keyless free tier); without credentials the CLI prompts an interactive login.

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

Run firecrawl map --help for the full option list (sitemap handling, subdomains, etc.).

Done when: the URL list is saved under .firecrawl/ and you have selected the URLs to scrape or crawl next.

Tips
  • Map + scrape is a common pattern: use map --search to find the right URL, then scrape it.
  • Example: map https://docs.example.com --search "auth" → found /docs/api/authentication → scrape that URL.
See also
  • [firecrawl-scrape](../firecrawl-scrape/SKILL.md) — scrape the URLs you discover
  • [firecrawl-crawl](../firecrawl-crawl/SKILL.md) — bulk extract instead of map + scrape
  • [firecrawl-download](../firecrawl-download/SKILL.md) — download entire site (uses map internally)
  • firecrawl-build-search — building URL discovery into an app instead of running it here
Install
New

Firecrawl's official skill for web search from the CLI: query-relevant excerpts, optional full-page scraping of results, news and time filters, and discovery of structured data tools.

Firecrawl's official routing skill for its CLI: lets an agent search the web, scrape and map sites, crawl sections, monitor pages for changes and interact with pages behind clicks or logins, saving clean markdown to .firecrawl/.

New

Firecrawl's skill for bulk-extracting a site or section with its CLI: follow links to a depth or page limit, scope to paths like /docs, poll crawl jobs, and save results under .firecrawl/.

New

Firecrawl's official skill for its autonomous agent command: navigate a site and return structured JSON, optionally to a schema, with job polling, credit caps and Alexandria data providers.

Browse all skills →