# Pangolinfo AI SERP Skill

> Use this skill when an AI agent needs structured Google Search and AI Overview results, cited sources and rankings from Pangolinfo.

- Skill: `pangolinfo/pangolinfo-ai-serp-skill` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add pangolinfo/pangolinfo-ai-serp-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/pangolinfo/pangolinfo-ai-serp-skill/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Docs & Writing
- License: MIT
- Author: Pangolinfo (https://skillmd.com/u/pangolinfo)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/pangolinfo/pangolinfo-ai-serp-skill

---


# Pangolinfo AI SERP (Google SERP + AI Overviews)

Search Google programmatically via **Pangolinfo** APIs.
Extract **Google AI Overviews**, run **AI Mode** searches with **multi-turn follow-ups**, and optionally capture **screenshots**.

## Migration note (Amazon)

Amazon scraping is now a separate skill: **Pangolinfo Amazon Scraper**.

If you previously used Amazon features from the combined skill, install the new Amazon skill and switch your `--mode` usage accordingly.

## Prerequisites

- **Python 3.6+** (standard library only)
- A **Pangolinfo account**: https://tool.pangolinfo.com/
- Auth env vars (choose one):
  - `PANGOLIN_TOKEN` (recommended)
  - or `PANGOLIN_EMAIL` + `PANGOLIN_PASSWORD`

```bash
export PANGOLIN_TOKEN="..."
# or
export PANGOLIN_EMAIL="..."
export PANGOLIN_PASSWORD="..."
```

## Minimal examples

AI Mode search:

```bash
python3 scripts/pangolinfo.py --q "what is quantum computing" --mode ai-mode
```

Standard SERP + AI Overview extraction (+ optional screenshot):

```bash
python3 scripts/pangolinfo.py --q "openclaw" --mode serp --screenshot
```

Multi-turn dialogue (AI Mode follow-ups):

```bash
python3 scripts/pangolinfo.py --q "python web frameworks" --mode ai-mode \
  --follow-up "compare flask vs django" \
  --follow-up "which is better for beginners"
```

## Output

The script prints structured JSON to stdout.

Key output fields:
- `organic_results[]`
- `ai_overview[]` (only when returned)
- `screenshot` (only when requested and available)
- `task_id`, `success`

## Links

- Product: https://www.pangolinfo.com/ai-serp-skill/
- AI Overview SERP API: https://www.pangolinfo.com/ai-overview-serp-api/
- AI Overview API documentation: https://docs.pangolinfo.com/en-api-reference/aiModeSerpApi/aiModeSerpAPI
- Source: https://github.com/Pangolin-spg/openclaw-skills/tree/main/pangolinfo-ai-serp

## Deep-dive references

- [references/ai-mode-api.md](references/ai-mode-api.md)
- [references/ai-overview-serp-api.md](references/ai-overview-serp-api.md)
- [references/error-codes.md](references/error-codes.md)

