firecrawl-performance-tuning
Provides strategies to improve Firecrawl scraping speed and reduce credit usage through batching and optimal format selection.
Install
mkdir -p .claude/skills/firecrawl-performance-tuning && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/3378" && unzip -o skill.zip -d .claude/skills/firecrawl-performance-tuning && rm skill.zipInstalls to .claude/skills/firecrawl-performance-tuning
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Optimize Firecrawl scraping performance with caching, batch scraping,Key capabilities
- →Minimize data formats requested for faster scrapes
- →Tune `waitFor` parameters for dynamic JavaScript-heavy pages
- →Implement caching mechanisms for scraped content
- →Utilize batch scraping for multiple URLs
- →Map URLs before crawling to save credits
How it works
The skill provides strategies to optimize Firecrawl API performance by selecting efficient data formats, tuning wait times for dynamic content, caching results, and using batch processing for multiple URLs.
Inputs & outputs
When to use firecrawl-performance-tuning
- →Benchmark scraping operation latency
- →Optimize data format requests
- →Implement batch scraping pipelines
- →Tune scraping parameters for high-throughput
About this skill
Firecrawl Performance Tuning
Overview
Tune the whole path from submission to accepted downstream record. Preserve freshness, completeness, target policy, and cost while changing one control at a time.
Prerequisites
- The target repository or integration path and the requested operator outcome.
- The source authorization, data classification, and environment policy.
- Current Firecrawl documentation, credentials only when needed, and an owner for approvals.
Current Contract
Firecrawl v2 cache behavior is controlled by maxAge/minAge and related options; current defaults and effects belong to the scrape documentation. Crawl and batch provide waiter and asynchronous paths, pagination can dominate retrieval time, and queue wait consumes request timeout. maxConcurrency affects page processing but remains bounded by team capacity.
Authentication
For authenticated Cloud operations, inject FIRECRAWL_API_KEY from an approved secret manager. REST requests use Authorization: Bearer with the key. Never print, commit, transmit, or place a key in a URL. Keyless access is suitable only where the current documentation explicitly allows it and the workload accepts its limits; production workflows should make identity and team ownership explicit.
Instructions
- Define an SLO and baseline for submission, queue, processing, pagination, validation, storage, freshness, accepted-result rate, and credits.
- Segment by operation, target class, format, cache state, origin status, content size, and async job size without putting raw URLs or content in metrics.
- Remove unnecessary formats, actions, waits, screenshots, raw HTML, JSON extraction, and over-broad crawl scope before adding concurrency.
- Set maxAge or cache-only behavior only when the freshness SLA permits it. Verify cacheState and quality rather than assuming a cache hit is acceptable.
- Use batch for known URL sets, async submission for long work, and complete pagination efficiently. Bound maxConcurrency below observed team capacity.
- Tune one factor per canary, compare tail latency and accepted-output quality, and watch rate, concurrency, queue, origin, and credit effects.
- Promote only improvements that meet all guardrails; retain baseline, candidate, and rollback evidence.
Tool Discipline
Use Read, Glob, and Grep to inspect code, configuration, tests, and evidence. Use Write/Edit only for approved implementation or documentation changes. Do not call Firecrawl, rotate keys, change account settings, scrape a target, or deploy merely because this skill was invoked.
Approval Boundaries
Require approval before reducing freshness, enabling storage/cache on sensitive sources, increasing concurrency or scope, changing formats, or accepting lower completeness.
Output
Return the baseline, bottleneck attribution, controlled experiment, configuration delta, latency/throughput/quality/cost results, queue effects, chosen setting, and rollback threshold.
Error Handling
- Faster result has stale or incomplete content: reject the optimization.
- Queue time dominates: reduce producers or change scheduling before increasing timeouts.
- Metrics mix transport and accepted-content success: repair measurement before tuning.
Examples
- "Scrapes take ten seconds" separates origin/rendering, cache, queue, and downstream time.
- "Increase all concurrency" is replaced with a stepped canary inside team and target limits.
Resources
Read official Firecrawl evidence before relying on an endpoint, SDK method, plan limit, price, retention option, or self-hosted release.
When not to use it
- →When requesting screenshots or full HTML formats
- →When `waitFor` is too short for Single Page Applications
- →When caching stale data due to long TTL
Limitations
- →Scrapes may exceed 10 seconds if full HTML or screenshots are requested
- →Empty content can result if `waitFor` is too short for SPAs
- →High credit consumption can occur from repeatedly scraping the same URLs
How it compares
This skill focuses on optimizing Firecrawl API calls for speed and cost, offering specific techniques like format minimization and batching, which is more efficient than making unoptimized individual requests.
Compared to similar skills
firecrawl-performance-tuning side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| firecrawl-performance-tuning (this skill) | 1 | 2mo | Review | Intermediate |
| deepgram-performance-tuning | 3 | 2mo | Review | Intermediate |
| graphql | 6 | 8mo | No flags | Advanced |
| guidewire-sdk-patterns | 2 | 2mo | Review | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by jeremylongshore
View all by jeremylongshore →You might also like
deepgram-performance-tuning
jeremylongshore
Optimize Deepgram API performance for faster transcription and lower latency. Use when improving transcription speed, reducing latency, or optimizing audio processing pipelines. Trigger with phrases like "deepgram performance", "speed up deepgram", "optimize transcription", "deepgram latency", "deepgram faster".
graphql
davila7
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.
guidewire-sdk-patterns
jeremylongshore
Master Guidewire SDK patterns including Digital SDK, REST API Client, and Gosu best practices. Use when implementing integrations, building frontends with Jutro, or writing server-side Gosu code. Trigger with phrases like "guidewire sdk", "digital sdk", "jutro sdk", "guidewire patterns", "gosu best practices", "rest api client".
groq-performance-tuning
jeremylongshore
Optimize Groq API performance with caching, batching, and connection pooling. Use when experiencing slow API responses, implementing caching strategies, or optimizing request throughput for Groq integrations. Trigger with phrases like "groq performance", "optimize groq", "groq latency", "groq caching", "groq slow", "groq batch".
openrouter-streaming-setup
jeremylongshore
Implement streaming responses with OpenRouter. Use when building real-time chat interfaces or reducing time-to-first-token. Trigger with phrases like 'openrouter streaming', 'openrouter sse', 'stream response', 'real-time openrouter'.
perplexity-multi-env-setup
jeremylongshore
Configure Perplexity across development, staging, and production environments. Use when setting up multi-environment deployments, configuring per-environment secrets, or implementing environment-specific Perplexity configurations. Trigger with phrases like "perplexity environments", "perplexity staging", "perplexity dev prod", "perplexity environment setup", "perplexity config by env".