serp-analysis

serp-analysis is a skill for Claude Code, Codex from nicepkg/ai-workflow. It costs 28 tokens per session (957 once invoked), scanned A, original, MIT.

A guide for studying the search-results page for a keyword. SERP means the list of results shown by a search engine, including its result types and special sections.

In plain words
What is it for?
Use it to classify informational, comparison, buying, or brand-seeking searches; identify search-result features; and gather competitor insights for content planning.
Why use it?
It helps identify what searchers are trying to do and what kinds of pages already compete for the query. This reduces the risk of creating content that does not match the search intent.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/nicepkg/ai-workflow/serp-analysis
Any agent
npx skills add nicepkg/ai-workflow --skill serp-analysis
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code, Codex.

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 serp-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicepkg/ai-workflow/serp-analysis.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/serp-analysis)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/serp-analysis"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/serp-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.00957
Opus 5 $0.00014 $0.00478
Sonnet 5 $0.00006 $0.00191
Haiku 4.5 $0.00003 $0.00096

Measured yesterday against content hash ab5d93d3bf5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

serp-analysis 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 yesterday.

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.

workflows/marketing-pro-workflow/.claude/skills/serp-analysis/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SERP Analysis

When to Use

  • Analyzing search results for a keyword
  • Classifying search intent
  • Identifying SERP feature opportunities
  • Competitive intelligence gathering

Intent Classification

Intent Types

Intent SERP Signals User Goal Content Format
Informational Wikipedia, knowledge panels, "what is" queries Learn something Guide, tutorial, explainer
Commercial Reviews, comparisons, "best X" queries Compare options Comparison, listicle, review
Transactional Product pages, shopping results, "buy X" Purchase something Product page, pricing
Navigational Brand homepage, login pages Find specific site Homepage, login page

Classification Process

  1. Search the keyword using WebSearch
  2. Analyze result types:
    • All informational = Informational intent
    • Mix of reviews/comparisons = Commercial intent
    • Product pages dominant = Transactional intent
    • Single brand dominant = Navigational intent
  3. Check for mixed intent (common for broad keywords)
  4. Note confidence level (% of results supporting classification)

SERP Features

Feature Identification

Feature How to Identify Optimization Strategy
Featured Snippet Box at top with answer Direct answer in first 100 words
People Also Ask Expandable question boxes FAQ section, answer common questions
Image Pack Row of images High-quality images with alt text
Video Results YouTube thumbnails Create video content
Local Pack Map with business listings GMB optimization, location pages
Knowledge Panel Right sidebar info box Schema markup, Wikipedia presence
Sitelinks Sub-links under main result Clear site structure, internal linking

Featured Snippet Types

Type Format How to Optimize
Paragraph Text block 40-60 word direct answer
List Numbered/bulleted list Use ordered/unordered lists
Table Data table Use HTML tables
Video YouTube embed Create relevant video content

Read the full file on GitHub · 116 lines

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. yesterday First seen · 116 lines · 28 tokens per session scan A ab5d93d3bf5b

Subscribe to this mod's changes

serp-analysis is a skill published in the GitHub repository nicepkg/ai-workflow (283 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 957 once invoked, about $0.0001 per session on Opus 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-09-03.