Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

firecrawl-sdk-patterns

Skill by jeremylongshore

Builds a typed, testable Firecrawl v2 adapter for Node or Python projects. It keeps the Firecrawl SDK behind an application-owned interface with explicit options, errors, and pagination.

  • Score 80
  • 3k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install firecrawl-sdk-patterns

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace /tmp/tons-of-skills-marketplace && mkdir -p ~/.claude/skills && cp -r /tmp/tons-of-skills-marketplace/skills/.curated/firecrawl-sdk-patterns ~/.claude/skills/firecrawl-sdk-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install firecrawl-sdk-patterns in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an assistant in wrapping the Firecrawl v2 SDK in a narrow, application-owned adapter. It asks the assistant to inspect the runtime, the official package and resolved version, and the operations the code needs. It then defines application request and result types, builds one client per process boundary, and injects it into services and tests.

The adapter maps provider responses and errors into a discriminated result model. It keeps API failures, origin errors, validation rejections, partial results, and cancellation distinct. Retry, policy, redaction, metrics, and version reporting are centralized. The skill is for developers who need reusable Firecrawl client code with synthetic contract tests and a pinned dependency.

Written from the project's SKILL.md and checked against it.

What it can do

  • Runtime inspectionChecks the runtime, official package, resolved version, compiler settings, and existing HTTP layer before coding.
  • Typed request and result modelsDefines application types that contain only approved fields, limits, provenance, and pagination metadata.
  • Injected clientConstructs one Firecrawl client per process boundary from validated configuration and injects it into services and tests.
  • Discriminated error mappingMaps provider documents and errors into result states that keep failures, partial results, and cancellation distinct.
  • Centralized retry and redactionPlaces bounded retry, policy hooks, redaction, metrics, and version reporting in one location.
  • Contract tests and pinningAdds synthetic contract tests, pins the dependency through the lockfile, and documents the upgrade and rollback process.

What you need

  • Firecrawl API key for authenticated Cloud operations, injected from an approved secret manager
  • Node.js or Python runtime
  • Access to the target repository
  • Firecrawl SDK packages (named client for Node, firecrawl-py for Python)

Try asking

  • Wrap Firecrawl in a typed client for this Node repository
  • Create a typed Firecrawl adapter in Python with synthetic tests
  • Add a Firecrawl service with injected client and error mapping

Good to know

  • Adding or upgrading the SDK, exposing new operations, or changing retry policy requires approval
  • Does not call Firecrawl, rotate keys, or deploy merely because the skill was invoked
  • Keyless access is only suitable where current Firecrawl documentation allows it

Security check

B
  • Allowed to use Write, Edit without limitsIn SKILL.md

Checked automatically: skills/.curated/firecrawl-sdk-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

Allowed tools: ReadGlobGrepWriteEdit

  • SKILL.md4 KB
  • references/official-docs.md2 KB

Alternatives to firecrawl-sdk-patterns

All alternatives →

Compare with antigravity-workflows, e2e-testing-patterns or upgrade-browser

firecrawl-sdk-patterns: common questions

Does this skill make live Firecrawl requests?

No. The skill says not to call Firecrawl, scrape a target, or deploy merely because it was invoked. Writes are limited to approved implementation or documentation changes.

Which SDK methods does it cover?

The source lists current top-level v2 methods including scrape, crawl, map, batchScrape, search, parse, and agent surfaces. Feature-frozen v1 is kept behind a separate compatibility boundary.

Can I return the SDK object directly from my code?

The skill rejects this approach. It says returning the SDK object everywhere couples domain code to provider drift.

How do I install firecrawl-sdk-patterns?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is firecrawl-sdk-patterns free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is firecrawl-sdk-patterns safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (allowed to use write, edit without limits). Review the code before you install. How grades work.

What are alternatives to firecrawl-sdk-patterns?

Similar skills: antigravity-workflows, e2e-testing-patterns, upgrade-browser, browser-automation.

firecrawl-sdk-patterns Install

Add to stack

Loading.