Discover SerpAPI account throughput and allowance dynamically, then enforce admission, concurrency, and retry budgets.

MITAuto-check passedBackend & APIs

Install Serpapi Rate Limits

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill serpapi-rate-limits -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace serpapi-rate-limits --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/serpapi-rate-limits .claude/skills/serpapi-rate-limits && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
serpapi-rate-limits
GitHub stars
2.8k
Token cost
~1k tokens
SKILL.md length
397 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Discover SerpAPI account throughput and allowance dynamically, then enforce admission, concurrency, and retry budgets.

  • Works in 7 steps: Enumerate every producer, schedule,… → Read current account capacity and… → Reserve headroom for interactive and… → …
  • Preventing 429s
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 7 more sections
  • Needs SERPAPI_KEY

What it does

Serpapi Rate Limits is an agent skill from jeremylongshore/tons-of-skills-marketplace. Discover SerpAPI account throughput and allowance dynamically, then enforce admission, concurrency, and retry budgets. Use when preventing 429s or coordinating search workers. Trigger with "configure SerpAPI rate limits".

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code; capacity checks require account authorization and production concurrency changes require operator approval

It sits in Backend & APIs, covering Rate limiting. It works with SerpApi. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Preventing 429s
  • Coordinating search workers
  • With configure SerpAPI rate limits

Example prompts

  • “configure SerpAPI rate limits”
  • “/serpapi-rate-limits”

Requirements

  • Python 3
  • A credential in SERPAPI_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code; capacity checks require account authorization and production concurrency changes require operator approval
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, WebFetch, Write, Edit, Bash(python3:*)

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Enumerate every producer, schedule, priority, concurrency setting, retry policy, and credential-sharing boundary.
  2. Read current account capacity and renewal facts from Account API; treat configured limits as refreshable state.
  3. Reserve headroom for interactive and incident traffic and translate the remaining capacity into per-worker admission budgets.
  4. Apply a shared concurrency limiter and queue; reject or defer low-priority work before sending excess requests.
  5. On 429, pause new admissions, refresh Account API, then classify throughput exhaustion versus search exhaustion.
  6. Retry only when the classification and reset policy justify it; cap attempts and add jitter to avoid synchronized bursts.
  7. Load-test with a fake client, canary below the account ceiling, and alert on capacity burn rate and sustained 429s.

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Glob
    • Grep
    • WebFetch
    • Write
    • Edit
    • Bash(python3:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • serpapi.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • SERPAPI_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code; capacity checks require account authorization and production concurrency changes require operator approval

    From compatibility in the SKILL.md frontmatter.

Context cost

Serpapi Rate Limits loads about 1k tokens when it runs. Until then it costs about 60 tokens; SKILL.md has 397 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~60
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 397 words, ~1,003 tokens.

Download SKILL.mdSave it as .claude/skills/serpapi-rate-limits/SKILL.md (or your agent's skills folder).
name
serpapi-rate-limits
description
Discover SerpAPI account throughput and allowance dynamically, then enforce admission, concurrency, and retry budgets. Use when preventing 429s or coordinating search workers. Trigger with "configure SerpAPI rate limits".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit, Bash(python3:*)
compatibility
Designed for Claude Code; capacity checks require account authorization and production concurrency changes require operator approval
argument-hint
[environment] [worker-count]
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, serpapi, rate-limits, quotas, reliability
model
inherit
effort
high

SerpAPI Capacity and Rate-Limit Control

Overview

Use the account's live contract as the source of truth instead of embedding plan names or numeric limits in code.

Prerequisites

  • Workload arrival rate, burst size, latency objective, search budget, and job priority
  • Access to the Account API and ownership of all workers sharing the key
  • Metrics for attempts, successes, cached results, 429s, latency, and searches left

Tool Discipline

Use Read, Glob, and Grep to inventory producers and retry loops, WebFetch to verify current Account API and status semantics, Write or Edit for admission controls and observability, and Bash(python3:*) for an approved capacity check or load simulation.

Current Contract

Account API returns fields including plan_searches_left, total_searches_left, this_hour_searches, and account_rate_limit_per_hour. HTTP 429 can mean the hourly throughput limit was exceeded or the account ran out of searches, so the response alone does not identify the remedy.

Authentication

Use a server-side SERPAPI_KEY for Account API and search calls. Centralize capacity across every workload sharing that credential; do not expose account fields or the key through a public health endpoint.

Instructions

  1. Enumerate every producer, schedule, priority, concurrency setting, retry policy, and credential-sharing boundary.
  2. Read current account capacity and renewal facts from Account API; treat configured limits as refreshable state.
  3. Reserve headroom for interactive and incident traffic and translate the remaining capacity into per-worker admission budgets.
  4. Apply a shared concurrency limiter and queue; reject or defer low-priority work before sending excess requests.
  5. On 429, pause new admissions, refresh Account API, then classify throughput exhaustion versus search exhaustion.
  6. Retry only when the classification and reset policy justify it; cap attempts and add jitter to avoid synchronized bursts.
  7. Load-test with a fake client, canary below the account ceiling, and alert on capacity burn rate and sustained 429s.
Show full SKILL.md (103 more words)Show less

Output

Return the producer inventory, live capacity snapshot, admission and concurrency budgets, 429 decision tree, retry policy, test evidence, alerts, and rollback owner.

Error Handling

ConditionResponse
Account API unavailableFail closed to a conservative cached budget with an expiry.
Throughput exhaustedPause and drain; do not amplify with immediate retries.
Searches exhaustedStop allowance-consuming work and route to the account owner.
Multiple uncoordinated workersIntroduce a shared limiter before increasing parallelism.

Example

python
account = client.account()
hourly_limit = int(account["account_rate_limit_per_hour"])
used_this_hour = int(account["this_hour_searches"])
headroom = max(0, hourly_limit - used_this_hour)
admission_budget = max(0, int(headroom * 0.8))  # reserve 20% for priority traffic

Resources

Next Steps

Review the live capacity at renewal and whenever a new worker or search product begins sharing the account.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/.curated/serpapi-rate-limits of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

Serpapi Rate Limits next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Serpapi Rate Limits compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serpapi Rate Limits this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
Fallback And Resilienceborski/travel-hacking-toolkit688—~1.6kAutomated safety check: PassMIT
Add Hosted Keysimstudioai/sim30k—~3.6kAutomated safety check: PassApache-2.0
Upstash Ratelimit TSupstash/ratelimit-js2k—~313Automated safety check: PassMIT
Repo2skillzhangyanxs/repo2skill246—~3.6kAutomated safety check: PassNone
Better Auth Security Best PracticesEpicenterHQ/epicenter4.8k—~896Automated safety check: PassCustom licence

Similar skills

  • Fallback And Resilience

    borski/travel-hacking-toolkit

    What to do when a tool fails, an API hits a rate limit, or a site blocks scraping.

    688 GitHub stars~1.6k tokensUpdated 5 days ago
    Backend & APIsAuto-check passed
  • Add Hosted Key

    simstudioai/sim

    Add hosted API key support to a tool so Sim provides the key (metered and billed to the workspace) when a user has not brought their own.

    30k GitHub stars~3.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Upstash Ratelimit TS

    upstash/ratelimit-js

    Official

    Lightweight guidance for using the Redis Rate Limit TypeScript SDK, including setup steps, basic usage, and pointers to advanced algorithm, features, pricing, and traffic‑protection docs.

    2k GitHub stars~313 tokensUpdated 15 days ago
    Backend & APIsAuto-check passed
  • Repo2skill

    zhangyanxs/repo2skill

    Convert GitHub/GitLab/Gitee repositories into comprehensive OpenCode Skills using embedded LLM calls with multiple mirrors and rate limit handling

    246 GitHub stars~3.6k tokensUpdated 7 mo ago
    Backend & APIsAuto-check passed
  • Better Auth security hardening: rate limits, secrets, CSRF, trusted origins, cookies, sessions, OAuth tokens, and audit logging.

    4.8k GitHub stars~896 tokensUpdated 2 days ago
    Backend & APIsAuto-check passed
  • Dload Fetch Tool

    php-internal/dload

    Get a CLI tool — native binary or PHAR — from a GitHub release into a project folder with dload (vendor/bin/dload).

    105 GitHub stars~1.1k tokensUpdated today
    Backend & APIsAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Serpapi Rate Limits

What does Serpapi Rate Limits do?

Discover SerpAPI account throughput and allowance dynamically, then enforce admission, concurrency, and retry budgets. Serpapi Rate Limits is an agent skill from jeremylongshore/tons-of-skills-marketplace. Discover SerpAPI account throughput and allowance dynamically, then enforce admission, concurrency, and retry budgets.

When should I use Serpapi Rate Limits?

Serpapi Rate Limits fits situations like: preventing 429s; coordinating search workers; with configure SerpAPI rate limits.

How do I install Serpapi Rate Limits in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill serpapi-rate-limits -a claude-code`. Or copy the skill folder (skills/.curated/serpapi-rate-limits in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/serpapi-rate-limits in your project. Claude Code loads it when a task matches its description.

How do I install Serpapi Rate Limits in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill serpapi-rate-limits -a codex`. Or copy the skill folder (skills/.curated/serpapi-rate-limits in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/serpapi-rate-limits in your project. Codex loads it when a task matches its description.

Can I use Serpapi Rate Limits in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill serpapi-rate-limits -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/serpapi-rate-limits, .gemini/skills/serpapi-rate-limits, .github/skills/serpapi-rate-limits and .opencode/skills/serpapi-rate-limits in your project.

What does Serpapi Rate Limits need to run?

Going by SKILL.md and its folder, Serpapi Rate Limits needs credentials named SERPAPI_KEY. Our summary lists: Python 3; A credential in SERPAPI_KEY. Its frontmatter pre-approves these tools: Read, Glob, Grep, WebFetch, Write, Edit, Bash(python3:*). Compatibility (from SKILL.md): Designed for Claude Code; capacity checks require account authorization and production concurrency changes require operator approval.

Does Serpapi Rate Limits access the network?

SKILL.md names 1 domain. As links in the text: serpapi.com. This is read from the text; nothing was executed.

Is Serpapi Rate Limits safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Serpapi Rate Limits use?

Serpapi Rate Limits is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Serpapi Rate Limits use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Serpapi Rate Limits?

Skills that share tags, products or a category with Serpapi Rate Limits: Fallback And Resilience (borski/travel-hacking-toolkit, 688 stars), Add Hosted Key (simstudioai/sim, 30k stars), Upstash Ratelimit TS (upstash/ratelimit-js, 2k stars) and Repo2skill (zhangyanxs/repo2skill, 246 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serpapi Rate Limits?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.