Agent skill

Serpapi Local Dev Loop

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

Build and test SerpAPI integrations locally with sanitized fixtures, injected clients, and an explicit live-recording boundary.

MITAuto-check passed

Install Serpapi Local Dev Loop

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill serpapi-local-dev-loop -a claude-code

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

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

At a glance

Build and test SerpAPI integrations locally with sanitized fixtures, injected clients, and an explicit live-recording boundary.

  • Works in 7 steps: Inventory every consumed field and… → Create a client interface whose search… → Sanitize fixtures by removing… → …
  • Developing parsers without repeatedly spending allowance
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 7 more sections
  • Needs SERPAPI_KEY

What it does

Serpapi Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build and test SerpAPI integrations locally with sanitized fixtures, injected clients, and an explicit live-recording boundary. Use when developing parsers without repeatedly spending allowance. Trigger with "set up SerpAPI local development".

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; recording a fresh fixture is a live search and requires approval

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

  • Developing parsers without repeatedly spending allowance
  • With set up SerpAPI local development

Example prompts

  • “set up SerpAPI local development”
  • “/serpapi-local-dev-loop”

Requirements

  • Python 3
  • A credential in SERPAPI_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code; recording a fresh fixture is a live search and requires approval
  • Pre-approved tools (allowed-tools): Read, Glob, Grep, WebFetch, Write, Edit, Bash(python3:*), Bash(npm:*)

Workflow steps

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

  1. Inventory every consumed field and classify it as required, optional, engine-specific, or derived.
  2. Create a client interface whose search method can be replaced by a fixture-backed fake.
  3. Sanitize fixtures by removing key-bearing URLs, raw HTML links, account identifiers, sensitive queries, and unrelated result content.
  4. Add fixtures for normal, empty-success, processing, error, missing optional section, and changed-type cases.
  5. Write parser tests against the fixtures and assert normalized application output rather than the entire vendor payload.
  6. Put live recording behind a separate command, explicit environment flag, allowance check, and operator approval.
  7. When refreshing, review semantic diffs, update the retrieval date and source engine, and rerun all offline tests.

What it can do on your machine

Read from SKILL.md and the folder at commit 23ea8d4. 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:*)
    • Bash(npm:*)

    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; recording a fresh fixture is a live search and requires approval

    From compatibility in the SKILL.md frontmatter.

Context cost

Serpapi Local Dev Loop loads about 1k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 392 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
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 23ea8d4, republished under its MIT licence (© jeremylongshore). 392 words, ~1,032 tokens.

Download SKILL.mdSave it as .claude/skills/serpapi-local-dev-loop/SKILL.md (or your agent's skills folder).
name
serpapi-local-dev-loop
description
Build and test SerpAPI integrations locally with sanitized fixtures, injected clients, and an explicit live-recording boundary. Use when developing parsers without repeatedly spending allowance. Trigger with "set up SerpAPI local development".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit, Bash(python3:*), Bash(npm:*)
compatibility
Designed for Claude Code; recording a fresh fixture is a live search and requires approval
argument-hint
[python|typescript] [parser-path]
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, serpapi, local-development, fixtures, testing
model
inherit
effort
medium

SerpAPI Fixture-First Local Development

Overview

Separate deterministic parsing from live search acquisition so everyday development is fast, private, and allowance-free.

Prerequisites

  • A target engine, parameter contract, parser behavior, and repository test framework
  • One approved sanitized response per important schema variant
  • A policy for fixture review, retention, refresh, and sensitive-field removal

Tool Discipline

Use Read, Glob, and Grep to locate clients, parsers, fixtures, and tests, WebFetch to re-check engine schemas, Write or Edit for adapters and fixtures, and Bash(python3:*) or Bash(npm:*) for local tests or an explicitly approved recorder.

Current Contract

SerpAPI response sections vary by engine, query, geography, device, and upstream search layout. The official Python result is a SerpResults mapping; application code should depend on a narrow local adapter rather than a captured response being universal.

Authentication

Offline tests must not require SERPAPI_KEY. Load the key only inside a separately invoked recorder, refuse sentinel or missing values, and never serialize request URLs or metadata fields that reveal it.

Instructions

  1. Inventory every consumed field and classify it as required, optional, engine-specific, or derived.
  2. Create a client interface whose search method can be replaced by a fixture-backed fake.
  3. Sanitize fixtures by removing key-bearing URLs, raw HTML links, account identifiers, sensitive queries, and unrelated result content.
  4. Add fixtures for normal, empty-success, processing, error, missing optional section, and changed-type cases.
  5. Write parser tests against the fixtures and assert normalized application output rather than the entire vendor payload.
  6. Put live recording behind a separate command, explicit environment flag, allowance check, and operator approval.
  7. When refreshing, review semantic diffs, update the retrieval date and source engine, and rerun all offline tests.
Show full SKILL.md (119 more words)Show less

Output

Return the client seam, fixture inventory and sanitization record, offline test results, live-recording command and guard, consumed-field contract, and refresh owner.

Error Handling

ConditionResponse
Fixture contains a key-bearing URLRemove it, rotate the exposed key if necessary, and inspect history.
Parser fails on a missing sectionMake the branch explicit or prove the section is contractually required.
Live call occurs in an offline testFail the test and replace the client at the network boundary.
Fixture is staleRefresh once under approval and review the schema delta.

Example

python
class SearchGateway:
    def __init__(self, client):
        self.client = client

    def titles(self, params):
        response = self.client.search(params)
        return [item["title"] for item in response.get("organic_results", [])]

class FixtureClient:
    def __init__(self, response):
        self.response = response

    def search(self, _params):
        return self.response

Resources

Next Steps

Wire the same fixture suite into CI and reserve live validation for a protected workflow.

© 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-local-dev-loop of jeremylongshore/tons-of-skills-marketplace.

Open the folder on GitHubat commit 23ea8d4

Compare with similar skills

Serpapi Local Dev Loop 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 Local Dev Loop compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serpapi Local Dev Loop this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1kAutomated safety check: PassMIT
SEO and GEO Auditdageno-agents/seo-geo-audit176—~2kAutomated safety check: PassMIT
Stock Analysisliusai0820/Stock-Analysis-Skill142—~904Automated safety check: NotesNone
Caption Writerstevenflanagan1/social-ai-team241—~2.9kAutomated safety check: PassNone
Image Search UsageOtoDock/oto-dock190—~1.1kAutomated safety check: PassCustom licence
Serpapi AutomationComposioHQ/awesome-claude-skills77k3 repos~730Automated safety check: PassNone

Similar skills

  • SEO and GEO Audit

    dageno-agents/seo-geo-audit

    Runs one prioritized audit that combines technical SEO, content quality, trust signals, entity clarity and AI search readiness for a page, site or domain.

    176 GitHub stars~2k tokensUpdated 1 mo ago
    Marketing & SEOAuto-check passed
  • Stock Analysis

    liusai0820/Stock-Analysis-Skill

    股票智能分析技能。输入股票代码(A股/港股/美股),自动完成: 1. An agent skill from liusai0820/Stock-Analysis-Skill.

    142 GitHub stars~904 tokensUpdated 7 mo ago
    Business, Finance & HRAuto-check: notes
  • Caption Writer

    stevenflanagan1/social-ai-team

    Writes on-brand social media captions for SMBs. An agent skill from stevenflanagan1/social-ai-team.

    241 GitHub stars~2.9k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • 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 yesterday
    Productivity & AutomationAuto-check passed
  • Serpapi Automation

    ComposioHQ/awesome-claude-skills

    Automate Serpapi tasks via Rube MCP (Composio). An agent skill from ComposioHQ/awesome-claude-skills.

    77k GitHub starsUsed in 3 repos~730 tokens
    Productivity & AutomationAuto-check passed
  • Serpapi

    borski/travel-hacking-toolkit

    Google Flights cash prices, Google Hotels, and Google Travel Explore via SerpAPI.

    688 GitHub stars~1.9k tokensUpdated 3 days ago
    Auto-check: notes

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
  • Analyzing Text With NLP

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to perform natural language processing and text analysis using the nlp-text-analyzer plugin.

    2.8k GitHub starsUsed in 1 repo~819 tokens
    Auto-check passed
  • Building Neural Networks

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill allows AI assistant to construct and configure neural network architectures using the neural-network-builder plugin.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Detecting Data Anomalies

    jeremylongshore/tons-of-skills-marketplace

    Process identify anomalies and outliers in datasets using machine learning algorithms.

    2.8k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Explaining Machine Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill enables AI assistant to provide interpretability and explainability for machine learning models.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Optimizing Prompts

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill optimizes prompts for large language models (llms) to reduce token usage, lower costs, and improve performance.

    2.8k GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed

Works with

Questions about Serpapi Local Dev Loop

What does Serpapi Local Dev Loop do?

Build and test SerpAPI integrations locally with sanitized fixtures, injected clients, and an explicit live-recording boundary. Serpapi Local Dev Loop is an agent skill from jeremylongshore/tons-of-skills-marketplace. Build and test SerpAPI integrations locally with sanitized fixtures, injected clients, and an explicit live-recording boundary.

When should I use Serpapi Local Dev Loop?

Serpapi Local Dev Loop fits situations like: developing parsers without repeatedly spending allowance; with set up SerpAPI local development.

How do I install Serpapi Local Dev Loop in Claude Code?

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

How do I install Serpapi Local Dev Loop in Codex?

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

Can I use Serpapi Local Dev Loop 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-local-dev-loop -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-local-dev-loop, .gemini/skills/serpapi-local-dev-loop, .github/skills/serpapi-local-dev-loop and .opencode/skills/serpapi-local-dev-loop in your project.

What does Serpapi Local Dev Loop need to run?

Going by SKILL.md and its folder, Serpapi Local Dev Loop 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:*), Bash(npm:*). Compatibility (from SKILL.md): Designed for Claude Code; recording a fresh fixture is a live search and requires approval.

Does Serpapi Local Dev Loop 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 Local Dev Loop 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 Local Dev Loop use?

Serpapi Local Dev Loop 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 Local Dev Loop use?

About 1k tokens (SKILL.md is roughly 4.1k 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 Local Dev Loop?

Skills that share tags, products or a category with Serpapi Local Dev Loop: SEO and GEO Audit (dageno-agents/seo-geo-audit, 176 stars), Stock Analysis (liusai0820/Stock-Analysis-Skill, 142 stars), Caption Writer (stevenflanagan1/social-ai-team, 241 stars) and Image Search Usage (OtoDock/oto-dock, 190 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serpapi Local Dev Loop?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,821 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 8, 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.