by firecrawl
Firecrawl CLI and agent skills: search, scrape, and interact with the web from your terminal or any coding agent, plus parse, crawl, map, Agent and Monitor. Firecrawl is the context API for AI agents.
# Add to your Claude Code skills
git clone https://github.com/firecrawl/clicli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by firecrawl. Firecrawl CLI and agent skills: search, scrape, and interact with the web from your terminal or any coding agent, plus parse, crawl, map, Agent and Monitor. Firecrawl is the context API for AI agents. It has 706 GitHub stars.
cli's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/firecrawl/cli" and add it to your Claude Code skills directory (see the Installation section above).
cli is primarily written in TypeScript. It is open-source under firecrawl on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh cli against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else. On the web, your agent can search, read any page and act on it. In Alexandria, it calls data providers for company filings, court records, research papers and more, and gets the answer from the source. It's one account and one key, and it works in the tools you already use.
The CLI brings Firecrawl to your terminal and to any coding agent. Connect through the MCP server, the CLI, the SDKs or the API, all with one key. In Alexandria, discover a data tool, check its inputs and price, then run it.
npm install -g firecrawl-cli
Or set up everything in one command (install CLI globally, authenticate, and install shared skills for your detected coding editors):
npx -y firecrawl-cli@latest init -y --browser
-y runs setup non-interactively--browser opens the browser for Firecrawl authentication automaticallyIf you are using an AI coding agent like Claude Code, you can also install skill groups manually — one command per family:
firecrawl setup core # scrape/search/crawl/interact primitives + index skills ("skills" is an alias)
firecrawl setup build # app-integration skills for the Firecrawl API
firecrawl setup workflows # end-to-end recipes (lead gen, deep research, ...)
Or install a single skill by name — the firecrawl- prefix is optional:
firecrawl setup developer-index
firecrawl setup seo-audit
If no API key is found afterwards, an interactive terminal offers a browser login (pass --browser to log in without the prompt); non-interactive runs never block — they print a hint and the skills walk agents through setup on first use.
Default installs use the shared ~/.agents/skills directory and the coding editors detected by Firecrawl. The npx installer always includes Codex as the shared-directory target, even when Codex is not detected, preserving shared files and agent links. If no editors are detected, only the shared directory is populated. The npx path detects supported global targets, including Kiro and custom configuration locations such as CLAUDE_CONFIG_DIR and XDG_CONFIG_HOME. Project-only targets are excluded. Use --agent <agent> to target a specific editor.
By default skills route to every detected harness. To install and route to only one harness in a single command:
# One-shot from the install script (non-interactive, no TTY needed)
curl -fsSL https://firecrawl.dev/install.sh | bash -s -- --agent openclaw
# Or, once the CLI is installed
firecrawl init --agent openclaw # only OpenClaw
firecrawl setup skills --agent openclaw
firecrawl setup workflows --agent openclaw
Any args after bash -s -- are forwarded to firecrawl init, so you can add
things like --skip-auth for a skills-only, no-login setup. When you run
firecrawl init interactively without --agent, it shows a checkbox of your
detected harnesses (all selected by default) so you can pick a subset.
| Harness | --agent value |
|---|---|
| Claude Code | claude-code |
| Codex | codex |
| Cursor | cursor |
| Windsurf | windsurf |
| OpenCode | opencode |
| OpenClaw | openclaw |
| OpenHands | openhands |
| Hermes Agent | hermes-agent |
The init command installs the CLI skills by default and offers the workflow skills as optional extras, into AI coding agents (Cursor, Claude Code, Windsurf, etc.):
All skill families live in the firecrawl/skills catalog — including the build skills for integrating Firecrawl into application code:
npx skills add firecrawl/skills
Contributing skills? CLI skills (including the research/developer index skills) → PR this repo (
skills/). Build/SDK skills → PR thefirecrawlmonorepo (skills/). Workflow skills → PRfirecrawl/firecrawl-workflows. The catalog (firecrawl/skills) is read-only — never PR it directly.
The Firecrawl Claude Code and Cursor plugins are released separately and do not include these CLI skills. Changes here still reach the skill catalog.
To reinstall skills manually:
firecrawl setup core
firecrawl setup build
firecrawl setup workflows
Global npm, pnpm, bun, and yarn installations, plus standalone binaries on macOS and Linux, check for updates in the background. Commands do not wait for an update, and the updater never writes to stdout. The next invocation uses the updated release, with a one-time notice on an interactive terminal.
For global package installs, the installed package is a stable launcher. The
updater uses npm to install a new release into a separate directory under
~/.firecrawl/versions/, verifies it, then atomically switches the current
version pointer. It never rewrites the global installation or removes files
used by running commands. Managed versions are shared within a Node major
version, so a patch upgrade reuses the saved release. The launcher checks the
release's Node requirements before selecting it. npm must be available on PATH
for automatic package updates; otherwise use your package manager's manual
update command. Install scripts are disabled. Dependencies resolve to versions
published no later than the release itself, so the waiting period covers them
too.
Each global installation has its own version selection. Maintenance retains the current and previous release for each installation, plus any older release still used by a running CLI process. It removes other inactive versions and staging directories older than 24 hours whose installer has exited. Files owned by another machine on shared storage are retained conservatively.
Reinstalling with npm resets the launcher's selection to that package, including an explicit downgrade. Disable automatic updates before reinstalling if you want to stay on the selected version. Disabling updates alone keeps the currently selected release.
Standalone binaries download their release archive, verify its SHA-256 checksum
and reported version, then atomically replace the executable. The previous
binary is retained beside it with a .previous suffix.
A newly observed release waits at least 24 hours before unattended installation. The worker rechecks that it is still the latest release after this delay; a changed candidate starts a new waiting period. Version checks normally refresh about once a day. Automatic updates never cross a major version or install a prerelease. Prerelease installations remain pinned.
To update immediately, bypassing the waiting period, including to a new major version:
firecrawl update
To restore the previous version without the network:
firecrawl update --rollback
For global package installs, the launcher handles rollback without loading the active release, so it works even when that release cannot start. Rollback disables automatic updates so the same release is not immediately installed again. The first managed-package rollback returns to the original package-manager installation; later updates can roll back to the previous managed version. Moving the registry's latest tag back does not automatically downgrade an existing installation.
Control automatic updates with:
firecrawl update --disable-auto
firecrawl update --enable-auto
export FIRECRAWL_NO_AUTO_UPDATE=1
Automatic updates are also off when CI is set, unless it is 0 or false.
FIRECRAWL_NO_UPDATE_CHECK=1 disables both automatic updates and notices.
Explicit updates still work with these settings. Failures leave the active
installation unchanged and back off before retrying. Details are recorded in
~/.firecrawl/auto-update.log.
Homebrew and other system packages, project-local installs, package runners such as npx, and standalone Windows binaries retain their selected release and show the appropriate manual update instruction. Enabling automatic updates on these installations reports that they are externally managed. Disabling updates saves the shared user preference from any installation. Non-writable or differently owned standalone binaries are not replaced.
Package updates use npm's registry configuration. Binary version checks honor
npm_config_registry; binary downloads use GitHub releases, or the mirror set
with FIRECRAWL_RELEASES_URL.
Interactive CLI sessions (except init, setup, and the -y/--yes init
shorthand) show a boxed notice when installed Firecrawl skills differ from the
current catalog. The check includes supporting reference files and runs
independently of CLI releases. Installs record which catalog skills existed, so
the notice announces skills published later, once, in families whose umbrella
skill is installed. Skills skipped during setup are not offered again.
Each affected family gets one command: firecrawl setup core,
firecrawl setup build, or firecrawl setup workflows. These commands install
the entire current family, including previously skipped skills and
new skill