Agent skill

Serpapi Reference Architecture

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

Design a governed SerpAPI search service with engine adapters, policy enforcement, caching, capacity management, observability, and privacy boundaries.

MITAuto-check passedBackend & APIs

Install Serpapi Reference Architecture

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

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

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

At a glance

Design a governed SerpAPI search service with engine adapters, policy enforcement, caching, capacity management, observability, and privacy boundaries.

  • Works in 8 steps: Map callers, trust zones, engines,… → Define an authenticated gateway with… → Add an application cache with… → …
  • Conducting architecture review
  • SKILL.md covers Overview, Prerequisites, Tool Discipline and Current Contract, plus 8 more sections
  • Needs SERPAPI_KEY

What it does

Serpapi Reference Architecture is an agent skill from jeremylongshore/tons-of-skills-marketplace. Design a governed SerpAPI search service with engine adapters, policy enforcement, caching, capacity management, observability, and privacy boundaries. Use when conducting architecture review. Trigger with "design a SerpAPI architecture".

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; architecture output is a review artifact and does not authorize infrastructure, account, or production changes

It sits in Backend & APIs, covering Software architecture, Caching and Observability. 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

  • Conducting architecture review
  • With design a SerpAPI architecture

Example prompts

  • “design a SerpAPI architecture”
  • “/serpapi-reference-architecture”

Requirements

  • A credential in SERPAPI_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code; architecture output is a review artifact and does not authorize infrastructure, account, or production changes
  • 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. Map callers, trust zones, engines, queries, results, stores, consumers, data classes, and systems of record.
  2. Define an authenticated gateway with use-case-specific input schemas, engine adapters, output projections, and policy enforcement.
  3. Add an application cache with credential-free semantic keys, freshness TTLs, encryption and retention appropriate to the data class.
  4. Coordinate admission, concurrency, pagination, retries, and background work against live Account API capacity.
  5. Separate synchronous calls from async/archive jobs and prove that any ZeroTrace path does not rely on archive replay.
  6. Emit safe metrics and search-ID correlation without query, result, key-bearing URL, or account leakage.
  7. Design fixture-first tests, canary, reconciliation, degradation, support escalation, key rotation, disaster recovery, and rollback.
  8. Record alternatives, constraints, approvals, unresolved risks, and a staged implementation plan.

What it can do on your machine

Read from SKILL.md and the folder at commit 80f86df. 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.

    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; architecture output is a review artifact and does not authorize infrastructure, account, or production changes

    From compatibility in the SKILL.md frontmatter.

Context cost

Serpapi Reference Architecture loads about 1.1k tokens when it runs. Until then it costs about 67 tokens; SKILL.md has 406 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
~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 80f86df, republished under its MIT licence (© jeremylongshore). 406 words, ~1,120 tokens.

Download SKILL.mdSave it as .claude/skills/serpapi-reference-architecture/SKILL.md (or your agent's skills folder).
name
serpapi-reference-architecture
description
Design a governed SerpAPI search service with engine adapters, policy enforcement, caching, capacity management, observability, and privacy boundaries. Use when conducting architecture review. Trigger with "design a SerpAPI architecture".
allowed-tools
Read, Glob, Grep, WebFetch, Write, Edit
compatibility
Designed for Claude Code; architecture output is a review artifact and does not authorize infrastructure, account, or production changes
argument-hint
[use-case] [engines] [data-classification]
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
license
MIT
tags
saas, serpapi, architecture, governance, reliability
model
inherit
effort
high

SerpAPI Governed Reference Architecture

Overview

Place SerpAPI behind an application boundary that controls identity, parameters, data, allowance, and failure behavior for every engine.

Prerequisites

  • Business use cases, caller identities, engines, data classes, freshness and latency objectives
  • Volume model, account contract, downstream systems, and regulatory/retention requirements
  • Security, product, finance, reliability, and platform owners

Tool Discipline

Use Read, Glob, and Grep to ground the design in repository and infrastructure topology, WebFetch to verify current vendor contracts, and Write or Edit for diagrams, decision records, interfaces, threat models, and rollout evidence.

Current Contract

SerpAPI has engine-specific requests and variable response sections, private-key authentication, account-level search and throughput capacity, optional async/archive processing, one-hour exact-query server caching, and Enterprise ZeroTrace. Async depends on archive retrieval, while ZeroTrace intentionally prevents stored search records.

Authentication

Keep SERPAPI_KEY in a server-side secret boundary. Authenticate application callers independently and enforce use-case authorization before the gateway maps input to allowlisted vendor parameters.

Instructions

  1. Map callers, trust zones, engines, queries, results, stores, consumers, data classes, and systems of record.
  2. Define an authenticated gateway with use-case-specific input schemas, engine adapters, output projections, and policy enforcement.
  3. Add an application cache with credential-free semantic keys, freshness TTLs, encryption and retention appropriate to the data class.
  4. Coordinate admission, concurrency, pagination, retries, and background work against live Account API capacity.
  5. Separate synchronous calls from async/archive jobs and prove that any ZeroTrace path does not rely on archive replay.
  6. Emit safe metrics and search-ID correlation without query, result, key-bearing URL, or account leakage.
  7. Design fixture-first tests, canary, reconciliation, degradation, support escalation, key rotation, disaster recovery, and rollback.
  8. Record alternatives, constraints, approvals, unresolved risks, and a staged implementation plan.
Show full SKILL.md (127 more words)Show less

Approval Boundaries

Do not provision infrastructure, expose routes, create secrets, enable account features, or send production searches from an architecture exercise.

Output

Return context and container diagrams, trust/data flows, gateway and adapter contracts, cache/capacity design, privacy decision, failure model, test/rollout plan, risks, and decision owners.

Error Handling

ConditionResponse
Gateway is a generic parameter pass-throughReplace it with use-case schemas and allowlists.
Capacity is managed per instance onlyAdd shared admission control across credential-sharing workers.
ZeroTrace path requires replayRedesign the diagnostic and recovery model.
Search results become a system of recordDefine provenance, refresh, deletion, and reconciliation explicitly.

Example

text
caller -> authenticated policy gateway -> engine adapter -> capacity limiter -> SerpAPI
                                      \-> semantic cache
search metadata -> redacted telemetry; normalized results -> governed consumer

Resources

Next Steps

Validate the design with security, product, finance, and reliability owners before creating an implementation tranche.

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

Open the folder on GitHubat commit 80f86df

Compare with similar skills

Serpapi Reference Architecture 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 Reference Architecture compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Serpapi Reference Architecture this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.1kAutomated safety check: PassMIT
System Designninehills/skills280—~4.7kAutomated safety check: PassMIT
System Designwondelai/skills2.4k—~4kAutomated safety check: PassMIT
Project Setupcodewithmukesh/dotnet-claude-kit755—~1.2kAutomated safety check: PassMIT
Springboot Patternsaffaan-m/ECC276k5 repos~2.5kAutomated safety check: PassMIT
Microservices ArchitectJeffallan/claude-skills12k—~1.8kAutomated safety check: PassMIT

Similar skills

  • System Design

    ninehills/skills

    Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues.

    280 GitHub stars~4.7k tokensUpdated 3 mo ago
    Backend & APIsAuto-check passed
  • System Design

    wondelai/skills

    Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues.

    2.4k GitHub stars~4k tokensUpdated 28 days ago
    Backend & APIsAuto-check passed
  • Project Setup

    codewithmukesh/dotnet-claude-kit

    Tech-stack selection advisor for .NET projects: recommended defaults for database, auth, caching, messaging, observability, and resilience, with the rationale behind each default.

    755 GitHub stars~1.2k tokensUpdated 2 mo ago
    Backend & APIsAuto-check passed
  • Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging.

    276k GitHub starsUsed in 5 repos~2.5k tokens
    Backend & APIsAuto-check passed
  • Microservices Architect

    Jeffallan/claude-skills

    Designs distributed systems: bounded-context service boundaries, sync and async communication, data ownership, resilience, tracing and rollout strategy.

    12k GitHub stars~1.8k tokensUpdated 6 days ago
    Backend & APIsAuto-check passed
  • Deploying Scalable Agents

    microsoft/ai-agents-for-beginners

    Official

    Take a working agent prototype to a scalable, observable production deployment on Microsoft Foundry.

    77k GitHub stars~1.5k tokensUpdated 20 days ago
    DevOps & CloudAuto-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 Reference Architecture

What does Serpapi Reference Architecture do?

Design a governed SerpAPI search service with engine adapters, policy enforcement, caching, capacity management, observability, and privacy boundaries. Serpapi Reference Architecture is an agent skill from jeremylongshore/tons-of-skills-marketplace. Design a governed SerpAPI search service with engine adapters, policy enforcement, caching, capacity management, observability, and privacy boundaries.

When should I use Serpapi Reference Architecture?

Serpapi Reference Architecture fits situations like: conducting architecture review; with design a SerpAPI architecture.

How do I install Serpapi Reference Architecture in Claude Code?

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

How do I install Serpapi Reference Architecture in Codex?

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

Can I use Serpapi Reference Architecture 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-reference-architecture -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-reference-architecture, .gemini/skills/serpapi-reference-architecture, .github/skills/serpapi-reference-architecture and .opencode/skills/serpapi-reference-architecture in your project.

What does Serpapi Reference Architecture need to run?

Going by SKILL.md and its folder, Serpapi Reference Architecture needs credentials named SERPAPI_KEY. Our summary lists: 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; architecture output is a review artifact and does not authorize infrastructure, account, or production changes.

Does Serpapi Reference Architecture 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 Reference Architecture 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 Reference Architecture use?

Serpapi Reference Architecture 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 Reference Architecture use?

About 1.1k tokens (SKILL.md is roughly 4.5k 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 Reference Architecture?

Skills that share tags, products or a category with Serpapi Reference Architecture: System Design (ninehills/skills, 280 stars), System Design (wondelai/skills, 2.4k stars), Project Setup (codewithmukesh/dotnet-claude-kit, 755 stars) and Springboot Patterns (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Serpapi Reference Architecture?

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