serpbase-skill: Instructions file for Codex

AGENTS.md

serpbase-skill AGENTS.md is an instructions file for Codex, OpenCode from serpbase-dev/serpbase-skill. It costs 495 tokens per session, scanned A, original, MIT.

Instructions for using SerpBase, a service that retrieves current Google search, image, news, video, and map results for coding and research agents.

In plain words
What is it for?
Searching Google results, finding images and news, locating places on maps, retrieving place details, and choosing the required authentication and command.
Why use it?
They provide a consistent way to obtain up-to-date search results while preventing API keys from being exposed.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Codex; built for openclaw; mentions OpenCode.

This is serpbase-dev/serpbase-skill's own configuration. It tells Codex and OpenCode how to work on serpbase-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything serpbase-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to serpbase-dev/serpbase-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/serpbase-dev/serpbase-skill/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/serpbase-dev/serpbase-skill

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for serpbase-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/serpbase-dev/serpbase-skill/agents-md/github.svg)](https://agentmods.dev/instructions/serpbase-dev/serpbase-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/serpbase-dev/serpbase-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/serpbase-dev/serpbase-skill/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for serpbase-skill AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/serpbase-dev/serpbase-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/serpbase-dev/serpbase-skill/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 495 This file is loaded in full into every session.
When invoked 495 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00495 $0.00495
Opus 5.5 $0.00198 $0.00198
Sonnet 5.5 $0.00099 $0.00099
Haiku 4.5 $0.00049 $0.00049

Measured 2mo ago against content hash 6fca6cbf1701, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

serpbase-skill AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 56 lines

What it actually says

SerpBase Agent Instructions

Use this file for agents that read project-level instructions such as Codex, opencode, OpenClaw-style agents, and other coding/research agents.

Capability

Use SerpBase for current Google SERP data:

  • Google Search: web results and SERP modules
  • Google Images: image URLs, thumbnails, and source pages
  • Google News: articles, publishers, timestamps, and snippets
  • Google Videos: video links, sources, durations, and thumbnails
  • Google Maps Search: local places
  • Google Maps Detail: place detail by feature_id

Authentication

Require SERPBASE_API_KEY in the environment, or pass --api-key to scripts/serpbase_search.py.

Never print, log, commit, or reveal API keys. If the key is missing, ask the user to create one at https://serpbase.dev/dashboard/api-keys.

How To Call

Prefer a SerpBase MCP server if one is available. Otherwise run the bundled script from this folder:

python scripts/serpbase_search.py --type search --query "python asyncio" --hl en --gl us --page 1

Maps search:

python scripts/serpbase_search.py --type maps_search --query "coffee" --lat 37.7749 --lng -122.4194 --zoom 14

Maps detail:

python scripts/serpbase_search.py --type maps_detail --feature-id "0x8085809c2c6fdc63:0x4b3f2d70e4f5a123"

Routing

  • Broad web discovery: search
  • Images: images
  • News/current publisher discovery: news
  • Videos/tutorial/media discovery: videos
  • Local businesses or places: maps_search
  • Details for one Maps result: maps_detail

Use hl=en, gl=us, page=1 unless the task or user explicitly calls for another locale. For Maps geo-targeting, send lat and lng together.

Answering

Cite result URLs where available. Use link, url, display_url, or google_maps_url as source fields. Separate facts returned by SerpBase from your inference. Do not invent missing fields.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 56 lines · 495 tokens per session scan A 6fca6cbf1701

Subscribe to this mod's changes

serpbase-skill AGENTS.md is an instructions file published in the GitHub repository serpbase-dev/serpbase-skill (3 stars, last pushed 5mo ago), licensed MIT. It adds 495 tokens to every session, about $0.0020 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

serpbase-skill AGENTS.md compared with instructions from other repositories

serpbase-skill AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
serpbase-skill AGENTS.mdserpbase-dev/serpbase-skillInstructions file35mo agoMITA495Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode