Agent skill

Serpapi Upgrade Migration

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

Migrate legacy SerpAPI Python or JavaScript packages and response assumptions to current official clients with contract tests and rollback.

MITAuto-check passedDevOps & Cloud

Install Serpapi Upgrade Migration

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

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

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

At a glance

Migrate legacy SerpAPI Python or JavaScript packages and response assumptions to current official clients with contract tests and rollback.

  • Works in 7 steps: Pin the baseline and inventory package… → Re-fetch target release notes and build… → Add an application-owned gateway and run… → …
  • Performing dependency
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 7 more sections
  • Needs SERPAPI_KEY

What it does

Serpapi Upgrade Migration is an agent skill from jeremylongshore/tons-of-skills-marketplace. Migrate legacy SerpAPI Python or JavaScript packages and response assumptions to current official clients with contract tests and rollback. Use when performing dependency or API upgrades. Trigger with "migrate a SerpAPI client".

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; dependency installation, live comparison, and production rollout require repository and account-owner approval

It sits in DevOps & Cloud, covering Integration testing. It works with SerpApi, Python and JavaScript. 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

  • Performing dependency
  • With migrate a SerpAPI client

Example prompts

  • “migrate a SerpAPI client”
  • “/serpapi-upgrade-migration”

Requirements

  • Python 3
  • Node.js
  • A credential in SERPAPI_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code; dependency installation, live comparison, and production rollout require repository and account-owner 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. Pin the baseline and inventory package names, versions, imports, engine-specific classes, callbacks, result conversions, pagination…
  2. Re-fetch target release notes and build a behavior matrix for requests, result type, archive access, pagination, and exceptions.
  3. Add an application-owned gateway and run both implementations against the same sanitized fixtures.
  4. Update Python code from legacy engine classes to current client calls, or JavaScript callbacks to the chosen promise/callback form…
  5. Regenerate the dependency lock and run static, unit, fixture, failure-path, and packaging tests.
  6. With approval, compare one harmless live request through each path or use a single captured response when duplicate searches are…
  7. Canary the new path behind a flag, reconcile outputs and capacity, then remove the legacy dependency only after rollback criteria hold.

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:*)
    • 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):

    • 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; dependency installation, live comparison, and production rollout require repository and account-owner approval

    From compatibility in the SKILL.md frontmatter.

Context cost

Serpapi Upgrade Migration loads about 1.1k tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 416 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
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). 416 words, ~1,099 tokens.

Download SKILL.mdSave it as .claude/skills/serpapi-upgrade-migration/SKILL.md (or your agent's skills folder).
name
serpapi-upgrade-migration
description
Migrate legacy SerpAPI Python or JavaScript packages and response assumptions to current official clients with contract tests and rollback. Use when performing dependency or API upgrades. Trigger with "migrate a SerpAPI client".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit, Bash(python3:*), Bash(npm:*)
compatibility
Designed for Claude Code; dependency installation, live comparison, and production rollout require repository and account-owner approval
argument-hint
[python|javascript] [from-version] [to-version]
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, serpapi, migration, python, javascript
model
inherit
effort
high

SerpAPI Client Upgrade and Migration

Overview

Inventory actual legacy behavior, introduce the current official client behind a seam, and prove response and failure compatibility before removing the old path.

Prerequisites

  • Current dependency locks, imports, call sites, engine parameters, fixtures, and runtime support matrix
  • Target official client release notes and migration documentation
  • Search budget, canary environment, rollback owner, and immutable baseline

Tool Discipline

Use Read, Glob, and Grep to inventory dependencies and behavior, WebFetch to verify current official packages, Write or Edit for the adapter and tests, and Bash(python3:*) or Bash(npm:*) only for approved installs and test execution.

Current Contract

The recommended Python distribution is serpapi, distinct from the legacy google-search-results distribution. Its Client.search returns a SerpResults mapping with helpers such as as_dict() and pagination methods. The current JavaScript serpapi package supports promises and callbacks; migration from google-search-results-nodejs must preserve engine parameters and error behavior explicitly.

Authentication

Keep the existing server-side SERPAPI_KEY boundary unchanged during migration. Never copy credentials into migration scripts, lockfiles, fixtures, dual-run telemetry, or exception snapshots.

Instructions

  1. Pin the baseline and inventory package names, versions, imports, engine-specific classes, callbacks, result conversions, pagination, timeouts, retries, and error handling.
  2. Re-fetch target release notes and build a behavior matrix for requests, result type, archive access, pagination, and exceptions.
  3. Add an application-owned gateway and run both implementations against the same sanitized fixtures.
  4. Update Python code from legacy engine classes to current client calls, or JavaScript callbacks to the chosen promise/callback form, without mixing semantic changes.
  5. Regenerate the dependency lock and run static, unit, fixture, failure-path, and packaging tests.
  6. With approval, compare one harmless live request through each path or use a single captured response when duplicate searches are unnecessary.
  7. Canary the new path behind a flag, reconcile outputs and capacity, then remove the legacy dependency only after rollback criteria hold.
Show full SKILL.md (111 more words)Show less

Output

Return the baseline and target versions, behavior matrix, changed call sites, lockfile diff, fixture/live comparison, canary evidence, legacy removal decision, and rollback plan.

Error Handling

ConditionResponse
Result treated as an exact plain dictUpdate types to the documented mapping or call as_dict() where an exact dictionary is required.
Error behavior changesNormalize exceptions in the gateway before rollout.
Engine parameters driftRestore parity and test each engine independently.
Dual-run doubles usageStop duplicate live calls and compare from one sanitized capture.

Example

python
# Current official Python client
import os
import serpapi

client = serpapi.Client(api_key=os.environ["SERPAPI_KEY"], timeout=10)
result = client.search({"engine": "google", "q": "coffee"})
plain_result = result.as_dict()

Resources

Next Steps

Remove the feature flag only after a full observation window and archive the rollback receipt.

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

Open the folder on GitHubat commit cfae287

Compare with similar skills

Serpapi Upgrade Migration 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 Upgrade Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serpapi Upgrade Migration this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
Git HooksProrise-cool/Claude-Code-Multi-Agent306—~3.6kAutomated safety check: NotesNone
Fory Version Bumpapache/fory4.6k—~1.1kAutomated safety check: PassApache-2.0
Test Case ReducerArabelaTso/Skills-4-SE253—~2.5kAutomated safety check: PassApache-2.0
Supercov Securitysupercorp-ai/supercov1521 repos~236Automated safety check: PassMIT
JS-in-HTML Testingliaohch3/claude-tap3.3k—~924Automated safety check: PassMIT

Similar skills

  • Git Hooks

    Prorise-cool/Claude-Code-Multi-Agent

    Central authority on git hook implementations, modern best practices, and tooling for .NET/C, JavaScript/TypeScript, Python, and polyglot repositories.

    306 GitHub stars~3.6k tokensUpdated 24 days ago
    DevelopmentAuto-check: notes
  • Bump Apache Fory release or post-release development versions across Java, Kotlin, Scala, Python, Rust, Go, C++, C, Dart, JavaScript, Swift, integration tests, examples, and source docs.

    4.6k GitHub stars~1.1k tokensUpdated today
    MobileAuto-check passed
  • Test Case Reducer

    ArabelaTso/Skills-4-SE

    Automatically reduces bug-triggering test cases to minimal form while preserving the failure.

    253 GitHub stars~2.5k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Supercov Security

    supercorp-ai/supercov

    Scans a repository's source for security vulnerabilities with the supercov CLI, pointing to the line of each finding and mapping it to CWE classes.

    152 GitHub starsUsed in 1 repo~236 tokens
    Testing & QAAuto-check passed
  • JS-in-HTML Testing

    liaohch3/claude-tap

    Tests JavaScript embedded in an HTML file in two layers: pytest checks of the logic ported to Python, and Playwright runs in a real browser for the DOM.

    3.3k GitHub stars~924 tokensUpdated today
    Testing & QAAuto-check passed
  • Supercov

    supercorp-ai/supercov

    Measures test coverage and code quality in a repository with the supercov CLI, and turns what it finds into small, focused tests or fixes.

    152 GitHub starsUsed in 1 repo~415 tokens
    Testing & QAAuto-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

Questions about Serpapi Upgrade Migration

What does Serpapi Upgrade Migration do?

Migrate legacy SerpAPI Python or JavaScript packages and response assumptions to current official clients with contract tests and rollback. Serpapi Upgrade Migration is an agent skill from jeremylongshore/tons-of-skills-marketplace. Migrate legacy SerpAPI Python or JavaScript packages and response assumptions to current official clients with contract tests and rollback.

When should I use Serpapi Upgrade Migration?

Serpapi Upgrade Migration fits situations like: performing dependency; with migrate a SerpAPI client.

How do I install Serpapi Upgrade Migration in Claude Code?

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

How do I install Serpapi Upgrade Migration in Codex?

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

Can I use Serpapi Upgrade Migration 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-upgrade-migration -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-upgrade-migration, .gemini/skills/serpapi-upgrade-migration, .github/skills/serpapi-upgrade-migration and .opencode/skills/serpapi-upgrade-migration in your project.

What does Serpapi Upgrade Migration need to run?

Going by SKILL.md and its folder, Serpapi Upgrade Migration needs credentials named SERPAPI_KEY. Our summary lists: Python 3; Node.js; 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; dependency installation, live comparison, and production rollout require repository and account-owner approval.

Does Serpapi Upgrade Migration access the network?

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

Is Serpapi Upgrade Migration 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 Upgrade Migration use?

Serpapi Upgrade Migration 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 Upgrade Migration use?

About 1.1k tokens (SKILL.md is roughly 4.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 Upgrade Migration?

Skills that share tags, products or a category with Serpapi Upgrade Migration: Git Hooks (Prorise-cool/Claude-Code-Multi-Agent, 306 stars), Fory Version Bump (apache/fory, 4.6k stars), Test Case Reducer (ArabelaTso/Skills-4-SE, 253 stars) and Supercov Security (supercorp-ai/supercov, 152 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serpapi Upgrade Migration?

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.