firecrawl-api

firecrawl-api is a skill for Claude Code, Codex from glebis/claude-skills. It costs 127 tokens per session (1,873 once invoked), scanned A, original, MIT.

A Python client for the Firecrawl web service, which searches, downloads, and extracts information from websites. It also provides access to Firecrawl Alexandria tools for finding structured data, checking their requirements, and running them with a spending limit.

In plain words
What is it for?
Use it in scripts or pipelines that search the web, scrape pages, map sites, or extract structured records. It can also show which Alexandria providers and tools are available without making network calls or spending credits.
Why use it?
It helps when the official command-line tool cannot be used or when a script needs a small Python-based interface. It also avoids unclear costs by supporting a per-run spending ceiling for Alexandria tasks.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it in scripts or pipelines that search the web, scrape pages, map sites, or extract structured records. It can also show which Alexandria providers and tools are available without making network calls or spending credits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/glebis/claude-skills/firecrawl-api
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add glebis/claude-skills --skill firecrawl-api
Clone the repo
git clone --depth 1 https://github.com/glebis/claude-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for firecrawl-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/glebis/claude-skills/firecrawl-api/github.svg)](https://agentmods.dev/skills/glebis/claude-skills/firecrawl-api)
Your own site
<a href="https://agentmods.dev/skills/glebis/claude-skills/firecrawl-api"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/firecrawl-api/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for firecrawl-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/glebis/claude-skills/firecrawl-api"><img src="https://agentmods.dev/badge/skills/glebis/claude-skills/firecrawl-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 127 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,873 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00127 $0.01873
Opus 5.5 $0.00051 $0.00749
Sonnet 5.5 $0.00025 $0.00375
Haiku 4.5 $0.00013 $0.00187

Measured 7d ago against content hash 8ad89f7b0704, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

firecrawl-api scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/build_catalog.py, scripts/firecrawl.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

firecrawl-api/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Firecrawl API script (firecrawl-api)

A standalone Python client for the Firecrawl API, with Alexandria support and a dated local catalog of its tools.

When to Use

  • The official firecrawl CLI is missing, broken, or not allowed in the environment.
  • A script or pipeline needs a plain Python client instead of a Node CLI.
  • A task needs structured records from an Alexandria provider, with an enforced per-run spend ceiling.
  • Looking up which Alexandria providers and tools exist, without spending credits or network calls.

For everyday searching and scraping in an interactive session, use the official firecrawl skill instead.

Setup

FIRECRAWL_API_KEY is read from SOPS (~/.claude/skills/secrets.enc.yaml) first, then from the environment if sops, the file, or the key is unavailable. The only dependency is requests. sops is optional.

All commands below use:

S=~/.claude/skills/firecrawl-api/scripts/firecrawl.py

-o FILE saves stdout to FILE only if the command succeeds. On failure the file is left unchanged and nothing is reported as saved.

Web commands (v1 API)

python3 $S search "query" -n 5 [-f json] [-o out.md]      # web search with page markdown
python3 $S scrape "https://example.com/article" [-o page.md]
python3 $S extract "https://a.com" "https://b.com" -p "Get company name and founding year"
python3 $S map "https://docs.example.com" -n 500 -o sitemap.txt

extract defaults to JSON output. Timeouts: 120 s, or 300 s for extract.

Alexandria (structured data providers)

Alexandria is Firecrawl's catalogue of data providers that return typed, sourced records (e.g. arXiv papers, podcast episodes). Use it when a task needs the same fields across many entities, exact figures, or provenance. Use web search or scrape when pages already answer the question. It requires an API key on a team with Alexandria access; the keyless tier has none.

Flow: check the local catalog → inspect the contract → run.

Read the full file on GitHub · 115 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed 8ad89f7b0704
  2. 1mo ago First seen · 115 lines · 127 tokens per session scan A 63ea63beac3a

Subscribe to this mod's changes

firecrawl-api is a skill published in the GitHub repository glebis/claude-skills (417 stars, last pushed today), licensed MIT. It adds 127 tokens to every session and 1,873 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-19.

Related

firecrawl-api compared with skills from other repositories

firecrawl-api next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
firecrawl-apiglebis/claude-skillsSkill417todayMITA127Claude Code, Codex
fdesuboss87/FDEOpsSkill7722d agoMITA125Claude Code, Codex
board-memosuboss87/FDEOpsSkill7722d agoMITA31Claude Code, Codex
briefsuboss87/FDEOpsSkill7722d agoMITA32Claude Code, Codex
business-casesuboss87/FDEOpsSkill7722d agoMITA29Claude Code, Codex
integratesuboss87/FDEOpsSkill7722d agoMITA33Claude Code, Codex
plansuboss87/FDEOpsSkill7722d agoMITA29Claude Code, Codex