Agent skill

Serpapi Webhooks Events

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Implement SerpAPI asynchronous searches and scheduled change detection without inventing a webhook callback contract.

MITAuto-check passedBackend & APIs

Install Serpapi Webhooks Events

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

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

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace serpapi-webhooks-events --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-webhooks-events .claude/skills/serpapi-webhooks-events && 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-webhooks-events
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
451 words
Files
1
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Implement SerpAPI asynchronous searches and scheduled change detection without inventing a webhook callback contract.

  • Works in 8 steps: Confirm async is supported for the… → Define states SUBMITTED, QUEUED,… → Submit with a parameter mapping… → …
  • Building long-running searches
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 8 more sections
  • Needs SERPAPI_KEY

What it does

Serpapi Webhooks Events is an agent skill from jeremylongshore/tons-of-skills-marketplace. Implement SerpAPI asynchronous searches and scheduled change detection without inventing a webhook callback contract. Use when building long-running searches or SERP monitoring. Trigger with "build SerpAPI async monitoring".

Its SKILL.md is about 1.2k 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; live async submission, polling, schedules, and downstream notifications require account and system-owner approval

It sits in Backend & APIs, covering Webhooks, Async programming and Anomaly detection. 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

  • Building long-running searches
  • SERP monitoring
  • With build SerpAPI async monitoring

Example prompts

  • “build SerpAPI async monitoring”
  • “/serpapi-webhooks-events”

Requirements

  • Python 3
  • A credential in SERPAPI_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code; live async submission, polling, schedules, and downstream notifications require account and system-owner approval
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, WebFetch, Write, Edit

Workflow steps

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

  1. Confirm async is supported for the engine/account and that polling improves the use case over a bounded synchronous call.
  2. Define states SUBMITTED, QUEUED, PROCESSING, SUCCEEDED, FAILED, EXPIRED, and TIMED_OUT with terminal behavior.
  3. Submit with a parameter mapping containing "async": true; persist the search ID, normalized request hash, owner, deadline, and attempt…
  4. Poll through the official client's archive method or documented archive endpoint with increasing delay, jitter, and a hard deadline.
  5. On success, validate and normalize once; make downstream processing idempotent by search ID and payload version.
  6. For scheduled monitoring, store snapshots and compare normalized business fields rather than unstable raw payload order.
  7. Reconcile checkpoints, capacity consumption, missing terminal states, duplicates, late results, and notification failures.
  8. Test every state transition with fixtures before enabling an approved live schedule.

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

    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
    • github.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; live async submission, polling, schedules, and downstream notifications require account and system-owner approval

    From compatibility in the SKILL.md frontmatter.

Context cost

Serpapi Webhooks Events loads about 1.2k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 451 words of instructions outside code blocks.

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

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). 451 words, ~1,174 tokens.

Download SKILL.mdSave it as .claude/skills/serpapi-webhooks-events/SKILL.md (or your agent's skills folder).
name
serpapi-webhooks-events
description
Implement SerpAPI asynchronous searches and scheduled change detection without inventing a webhook callback contract. Use when building long-running searches or SERP monitoring. Trigger with "build SerpAPI async monitoring".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit
compatibility
Designed for Claude Code; live async submission, polling, schedules, and downstream notifications require account and system-owner approval
argument-hint
[engine] [poll-interval] [deadline]
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, serpapi, async, monitoring, archive
model
inherit
effort
high

SerpAPI Async Search and Scheduled Monitoring

Overview

Use documented async submission plus Searches Archive polling, or scheduled synchronous searches, with explicit state, budgets, and reconciliation.

Prerequisites

  • An engine and use case that justify background processing or repeated monitoring
  • Poll deadline, schedule, allowance and throughput budgets, checkpoint store, and downstream owner
  • Data classification, retention decision, and sanitized state-machine fixtures

Tool Discipline

Use Read, Glob, and Grep to inspect jobs and consumers, WebFetch to verify async and archive contracts, and Write or Edit for state machines, schedules, checkpoints, fixtures, and redacted receipts.

Current Contract

SerpAPI documents async=true to submit without holding the connection and the Searches Archive API to retrieve the search by ID. Status can move through queued or processing to success or error. async must not be combined with no_cache and is not for accounts with Ludicrous Speed. The public contract does not define a generic callback webhook for completed searches.

Authentication

Use SERPAPI_KEY in the server-side submitter and poller. Persist search IDs and safe state, never key-bearing archive URLs. Authenticate and authorize any downstream notification endpoint using its own documented mechanism.

Instructions

  1. Confirm async is supported for the engine/account and that polling improves the use case over a bounded synchronous call.
  2. Define states SUBMITTED, QUEUED, PROCESSING, SUCCEEDED, FAILED, EXPIRED, and TIMED_OUT with terminal behavior.
  3. Submit with a parameter mapping containing "async": true; persist the search ID, normalized request hash, owner, deadline, and attempt budget.
  4. Poll through the official client's archive method or documented archive endpoint with increasing delay, jitter, and a hard deadline.
  5. On success, validate and normalize once; make downstream processing idempotent by search ID and payload version.
  6. For scheduled monitoring, store snapshots and compare normalized business fields rather than unstable raw payload order.
  7. Reconcile checkpoints, capacity consumption, missing terminal states, duplicates, late results, and notification failures.
  8. Test every state transition with fixtures before enabling an approved live schedule.
Show full SKILL.md (132 more words)Show less

Approval Boundaries

Do not create a production schedule, send live searches, expose a notification endpoint, or mutate downstream records without named owners.

Output

Return the selected sync/async mode, state machine, polling and search budgets, checkpoint schema, idempotency key, fixture results, schedule/canary receipt, and reconciliation outcome.

Error Handling

ConditionResponse
Search remains queued/processingStop at the deadline and retain resumable state.
Archive returns 410Mark expired and require approval before submitting a replacement search.
Async is paired with no_cacheReject the request locally.
Callback contract is requestedUse polling or obtain a current written vendor-specific contract; do not invent a webhook.

Example

python
submitted = client.search({"engine": "google", "q": "coffee", "async": True})
search_id = submitted["search_metadata"]["id"]

while before_deadline():
    archived = client.search_archive(search_id=search_id)
    status = archived["search_metadata"]["status"]
    if status in {"Success", "Error"}:
        break
    wait_with_jitter()

Resources

Next Steps

Canary one bounded async job and verify terminal-state, capacity, and checkpoint reconciliation before scheduling recurrence.

© 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-webhooks-events of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

Serpapi Webhooks Events 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 Webhooks Events compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serpapi Webhooks Events this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: PassMIT
Workosusenotra/notra256—~6.2kAutomated safety check: PassAGPL-3.0
Test Realtime Integrationscyberful/cyberful135—~1.2kAutomated safety check: PassAGPL-3.0
Idempotency Handlingsecondsky/claude-skills227—~1.4kAutomated safety check: PassMIT
Image Generation Gatewayscalesthio/generative-media-skills197—~20kAutomated safety check: PassMIT
Novu Design Workflownovuhq/novu40k—~2.6kAutomated safety check: PassCustom licence

Similar skills

  • Workos

    usenotra/notra

    A skill your agent uses when the user asks for a WorkOS docs URL, term, or dashboard field (Sign-in endpoint, initiateloginuri, Redirect URI, WORKOS env vars), or is implementing, debugging, or…

    256 GitHub stars~6.2k tokensUpdated today
    Backend & APIsAuto-check passed
  • Assess WebSocket, Server-Sent Events, webhook, event-stream, callback, and asynchronous integration security during authorized penetration tests or code audits.

    135 GitHub stars~1.2k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Idempotency Handling

    secondsky/claude-skills

    Idempotent API operations with idempotency keys, Redis caching, DB constraints.

    227 GitHub stars~1.4k tokensUpdated 12 days ago
    Backend & APIsAuto-check passed
  • Image Generation Gateways

    calesthio/generative-media-skills

    Select, integrate, and operate multi-model image-generation gateways with model-specific schema discovery, version policy, asynchronous jobs, webhooks, spend approval, safe inputs and artifacts…

    197 GitHub stars~20k tokensUpdated 2 mo ago
    Media & CreativeAuto-check passed
  • Design notification workflows the Novu way — choose channels, set severity, decide when a workflow is critical, configure digests, and route based on subscriber state.

    40k GitHub stars~2.6k tokensUpdated today
    Backend & APIsAuto-check passed
  • Golang Pro

    antoniopaya22/go-rest-template

    Implements concurrent Go patterns using goroutines and channels, designs and builds microservices with gRPC or REST, optimizes Go application performance with pprof, and enforces idiomatic Go with…

    172 GitHub starsUsed in 3 repos~1.2k tokens
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    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 yesterday
    Auto-check passed

Works with

Categories

Questions about Serpapi Webhooks Events

What does Serpapi Webhooks Events do?

Implement SerpAPI asynchronous searches and scheduled change detection without inventing a webhook callback contract. Serpapi Webhooks Events is an agent skill from jeremylongshore/tons-of-skills-marketplace. Implement SerpAPI asynchronous searches and scheduled change detection without inventing a webhook callback contract.

When should I use Serpapi Webhooks Events?

Serpapi Webhooks Events fits situations like: building long-running searches; SERP monitoring; with build SerpAPI async monitoring.

How do I install Serpapi Webhooks Events in Claude Code?

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

How do I install Serpapi Webhooks Events in Codex?

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

Can I use Serpapi Webhooks Events 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-webhooks-events -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-webhooks-events, .gemini/skills/serpapi-webhooks-events, .github/skills/serpapi-webhooks-events and .opencode/skills/serpapi-webhooks-events in your project.

What does Serpapi Webhooks Events need to run?

Going by SKILL.md and its folder, Serpapi Webhooks Events 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. Compatibility (from SKILL.md): Designed for Claude Code; live async submission, polling, schedules, and downstream notifications require account and system-owner approval.

Does Serpapi Webhooks Events access the network?

SKILL.md names 2 domains. As links in the text: serpapi.com and github.com. This is read from the text; nothing was executed.

Is Serpapi Webhooks Events 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 Webhooks Events use?

Serpapi Webhooks Events 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 Webhooks Events use?

About 1.2k tokens (SKILL.md is roughly 4.7k 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 Webhooks Events?

Skills that share tags, products or a category with Serpapi Webhooks Events: Workos (usenotra/notra, 256 stars), Test Realtime Integrations (cyberful/cyberful, 135 stars), Idempotency Handling (secondsky/claude-skills, 227 stars) and Image Generation Gateways (calesthio/generative-media-skills, 197 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serpapi Webhooks Events?

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.