Agent skill

Serpapi Core Workflow A

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

Build a reproducible Google Search workflow that validates parameters, optional result sections, and bounded pagination.

MITAuto-check passedProductivity & Automation

Install Serpapi Core Workflow A

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

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

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

At a glance

Build a reproducible Google Search workflow that validates parameters, optional result sections, and bounded pagination.

  • Works in 7 steps: Convert the business question into a… → Validate parameters against the current… → Estimate the maximum searches, check the… → …
  • Implementing search
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 7 more sections
  • Needs SERPAPI_KEY

What it does

Serpapi Core Workflow A is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a reproducible Google Search workflow that validates parameters, optional result sections, and bounded pagination. Use when implementing search, SEO monitoring, or evidence collection. Trigger with "build a SerpAPI Google workflow".

Its SKILL.md is about 1.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; live searches and multi-page retrieval consume account allowance unless a matching server cache is served

It sits in Productivity & Automation, covering Web search and Digital forensics. 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

  • Implementing search
  • Evidence collection
  • With build a SerpAPI Google workflow

Example prompts

  • “build a SerpAPI Google workflow”
  • “/serpapi-core-workflow-a”

Requirements

  • Python 3
  • A credential in SERPAPI_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code; live searches and multi-page retrieval consume account allowance unless a matching server cache is served
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, WebFetch, Write, Edit

Workflow steps

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

  1. Convert the business question into a minimal query and document permitted use, location, language, device, safe-search setting, freshness…
  2. Validate parameters against the current Google Search API rather than copying options from another engine.
  3. Estimate the maximum searches, check the account budget, and present the live execution boundary.
  4. Execute the first page and require a terminal Success or Error status before parsing sections.
  5. Normalize each required section independently and retain provenance fields such as position, source link, and search ID.
  6. Follow serpapi_pagination.next or a documented start offset only while results continue and the page budget remains.
  7. Reconcile counts, deduplicate stable links, test empty and missing-section fixtures, and store a redacted receipt.

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

    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 searches and multi-page retrieval consume account allowance unless a matching server cache is served

    From compatibility in the SKILL.md frontmatter.

Context cost

Serpapi Core Workflow A loads about 1.1k tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 381 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~1.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). 381 words, ~1,063 tokens.

Download SKILL.mdSave it as .claude/skills/serpapi-core-workflow-a/SKILL.md (or your agent's skills folder).
name
serpapi-core-workflow-a
description
Build a reproducible Google Search workflow that validates parameters, optional result sections, and bounded pagination. Use when implementing search, SEO monitoring, or evidence collection. Trigger with "build a SerpAPI Google workflow".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit
compatibility
Designed for Claude Code; live searches and multi-page retrieval consume account allowance unless a matching server cache is served
argument-hint
[query] [location] [page-budget]
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, serpapi, google-search, pagination, seo
model
inherit
effort
high

SerpAPI Google Search Workflow

Overview

Turn a search question into a bounded, reproducible Google Search request and normalize only the result sections the application actually needs.

Prerequisites

  • A business question, permitted query class, geography, language, device, and freshness target
  • An authenticated official client behind a server-side gateway
  • A search/page budget and fixtures for expected optional sections

Tool Discipline

Use Read, Glob, and Grep to inspect call sites and result consumers, WebFetch to verify current Google parameters and schemas, and Write or Edit for request builders, normalizers, tests, and redacted receipts.

Current Contract

Google Search uses engine=google and q. Locale and device inputs include location, hl, gl, and device; pagination commonly uses start. JSON sections such as organic_results, answer_box, knowledge_graph, related_questions, and local results are query-dependent and optional.

Authentication

The server-side gateway supplies SERPAPI_KEY. Exclude the key and key-bearing URLs from application output, cache keys, logs, telemetry, fixtures, and error reports.

Instructions

  1. Convert the business question into a minimal query and document permitted use, location, language, device, safe-search setting, freshness, and requested fields.
  2. Validate parameters against the current Google Search API rather than copying options from another engine.
  3. Estimate the maximum searches, check the account budget, and present the live execution boundary.
  4. Execute the first page and require a terminal Success or Error status before parsing sections.
  5. Normalize each required section independently and retain provenance fields such as position, source link, and search ID.
  6. Follow serpapi_pagination.next or a documented start offset only while results continue and the page budget remains.
  7. Reconcile counts, deduplicate stable links, test empty and missing-section fixtures, and store a redacted receipt.
Show full SKILL.md (110 more words)Show less

Output

Return normalized parameters, result-section schema, requested records with provenance, pages and searches consumed, termination reason, search IDs, and fixture coverage.

Error Handling

ConditionResponse
Success without organic_resultsInspect documented alternative sections and result-state fields.
Location is not resolved as intendedUse a canonical location from the Locations API and record the resolved value.
Page has no continuationStop successfully; never synthesize the next offset blindly.
Schema changesQuarantine the response, update the narrow adapter and fixture, then replay offline.

Example

python
params = {
    "engine": "google",
    "q": "site:example.com release notes",
    "location": "Austin, Texas, United States",
    "hl": "en",
    "gl": "us",
    "safe": "active",
}
result = client.search(params)
if result["search_metadata"]["status"] != "Success":
    raise RuntimeError(result.get("error", "search did not complete"))
records = [
    {"position": row.get("position"), "title": row.get("title"), "link": row.get("link")}
    for row in result.get("organic_results", [])
]

Resources

Next Steps

Freeze the normalized schema in fixtures and set a page budget appropriate to the product use case.

© 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-core-workflow-a of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit cfae287

Compare with similar skills

Serpapi Core Workflow A 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 Core Workflow A compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serpapi Core Workflow A this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Image Search UsageOtoDock/oto-dock190—~1.1kAutomated safety check: PassCustom licence
Serp AnalyzerOpenClaudia/openclaudia-skills713—~3.6kAutomated safety check: PassMIT
Brightdata Local Searchdavila7/claude-code-templates33k—~1.2kAutomated safety check: NotesMIT
SEO Watchlistzubair-trabzada/dataforseo-claude165—~873Automated safety check: NotesMIT
Serpapisundial-org/awesome-openclaw-skills663—~1kAutomated safety check: PassNone

Similar skills

  • Image Search Usage

    OtoDock/oto-dock

    Search the web for images with filters and download them. An agent skill from OtoDock/oto-dock.

    190 GitHub stars~1.1k tokensUpdated 2 days ago
    Productivity & AutomationAuto-check passed
  • Serp Analyzer

    OpenClaudia/openclaudia-skills

    Analyze Google search results (SERP) for any keyword. An agent skill from OpenClaudia/openclaudia-skills.

    713 GitHub stars~3.6k tokensUpdated 22 days ago
    Productivity & AutomationAuto-check passed
  • Brightdata Local Search

    davila7/claude-code-templates

    Set up and run local web searches using Bright Data SERP API with the unfancy-search pipeline (query expansion, SERP retrieval, RRF reranking).

    33k GitHub stars~1.2k tokensUpdated today
    Productivity & AutomationAuto-check: notes
  • SEO Watchlist

    zubair-trabzada/dataforseo-claude

    Track multiple domains and keywords across runs using the DataForSEO SERP API.

    165 GitHub stars~873 tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check: notes
  • Serpapi

    sundial-org/awesome-openclaw-skills

    Unified search API across Google, Amazon, Yelp, OpenTable, Walmart, and more.

    663 GitHub stars~1k tokensUpdated 7 mo ago
    Productivity & AutomationAuto-check passed
  • Serpapi 2

    sundial-org/awesome-openclaw-skills

    Search Google via SerpAPI (Google Search, Google News, Google Local).

    663 GitHub stars~467 tokensUpdated 7 mo ago
    Productivity & AutomationAuto-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

Questions about Serpapi Core Workflow A

What does Serpapi Core Workflow A do?

Build a reproducible Google Search workflow that validates parameters, optional result sections, and bounded pagination. Serpapi Core Workflow A is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build a reproducible Google Search workflow that validates parameters, optional result sections, and bounded pagination.

When should I use Serpapi Core Workflow A?

Serpapi Core Workflow A fits situations like: implementing search; evidence collection; with build a SerpAPI Google workflow.

How do I install Serpapi Core Workflow A in Claude Code?

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

How do I install Serpapi Core Workflow A in Codex?

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

Can I use Serpapi Core Workflow A 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-core-workflow-a -a cursor` (or -a -a, -a or -a for the others). To copy it by hand, put the folder in .cursor/skills/serpapi-core-workflow-a, .gemini/skills/serpapi-core-workflow-a, .github/skills/serpapi-core-workflow-a and .opencode/skills/serpapi-core-workflow-a in your project.

What does Serpapi Core Workflow A need to run?

Going by SKILL.md and its folder, Serpapi Core Workflow A 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 searches and multi-page retrieval consume account allowance unless a matching server cache is served.

Does Serpapi Core Workflow A 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 Core Workflow A 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 Core Workflow A use?

Serpapi Core Workflow A 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 Core Workflow A use?

About 1.1k tokens (SKILL.md is roughly 4.3k 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 Core Workflow A?

Skills that share tags, products or a category with Serpapi Core Workflow A: Image Search Usage (OtoDock/oto-dock, 190 stars), Serp Analyzer (OpenClaudia/openclaudia-skills, 713 stars), Brightdata Local Search (davila7/claude-code-templates, 33k stars) and SEO Watchlist (zubair-trabzada/dataforseo-claude, 165 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serpapi Core Workflow A?

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.