psyduckler/aeo-skills/aeo-entity-extractor
Claude Code and agent skill by psyduckler/aeo-skills
- community
Checking that the SKILL.md file is still in the repository.
Extract the specific entities (brands, people, statistics, tools, URLs) that Gemini mentions in its grounded responses for a given prompt. Aggregates entity frequency across 20 runs to reveal the "entity universe" for a topic. Optionally performs entity gap analysis to show what a specific domain's content should include. Use when a user wants to: see what brands/tools Gemini recommends, find missing entities in their content, understand what statistics AI responses cite, map the competitive entity landscape, or discover which entities to include for better AI citation rates.
Install
npx vskill@latest install psyduckler/aeo-skills/aeo-entity-extractorSKILL.md
The same SKILL.md was published earlier as psyduckler/aeo-skills/aeo-entity-extractor.
AEO Entity Extractor
Source: github.com/psyduckler/aeo-skillsPart of: AEO Skills Suite
Map the entity universe of the recurring retrieval set — the specific brands, stats, people, and tools that Gemini weaves into its answers.
Background
When Gemini retrieves information to answer a prompt, it doesn't just cite sources — it extracts and repeats specific entities from those sources: brand names, statistics, people, product names, and data points. These entities form the entity universe of the recurring retrieval set for that topic.
If your content doesn't include the entities Gemini expects for a topic, you're less likely to enter the candidate set. Conversely, if your content mentions the same brands, cites the same statistics, and references the same tools that Gemini consistently includes in its answers, you signal topical alignment and comprehensiveness. In Gemini's search-first architecture, the model builds its response from retrieved content — your content needs to speak the same entity language as the rest of the candidate set.
The "long long tail" of Gemini's varied search queries means entities that appear across many different query variations are the strongest signals of topic authority. This skill identifies those high-frequency entities.
Defaults
- Model:
gemini-3-flash-preview— the same model powering Google AI Overviews - Samples: 20 runs per prompt — captures the full entity universe
Requirements
- Gemini API key (free from aistudio.google.com) — set as
GEMINI_API_KEYenv var - Python 3.9+
- No pip dependencies (stdlib only)
Usage
Run from the skill directory. Resolve scripts/extract_entities.py relative to this SKILL.md.
Options
| Option | Default | Description | |
|---|---|---|---|
prompt | (required) | The query to analyze | |
--domain | (none) | Domain for entity gap analysis (e.g., example.com) | |
--runs | 20 | Number of Gemini runs | |
--model | gemini-3-flash-preview | Gemini model to use | |
--concurrency | 5 | Max parallel API calls (keep ≤5) | |
--output | text | Output format: text or json |
Output
Text Output
JSON Output
Structured JSON with per-type entity rankings, source domains, and gap analysis.
Entity Types
| Type | Detection Method | Examples | |
|---|---|---|---|
| Brands | Capitalized multi-word sequences, CamelCase | "Google Analytics", "HubSpot" | |
| Statistics | Numbers with %, $, context words | "85%", "$1.2 million", "top 10" | |
| People | Name patterns with attribution context | "CEO John Smith", "by Jane Doe" | |
| Tools | CamelCase, .com/.io domains, suffix patterns | "ClickUp", "notion.so" | |
| URLs | HTTP(S) links in response text | "https://example.com/guide" |
How It Works
- Sends the prompt to Gemini 20 times with Google Search grounding
- From each response text (not grounding metadata), extracts entities using regex patterns:
- Capitalized multi-word sequences (brand names, proper nouns)
- Numbers with percentages, currencies, and context words (statistics)
- CamelCase words and domain-like patterns (tools/products)
- Name patterns following attribution words (people)
- Full URLs mentioned in text
- Aggregates entity frequency across all runs
- Ranks entities by how often they appear (higher frequency = more consistently part of the entity universe)
- If
--domainprovided: identifies high-frequency entities the domain's content should include but may not
Tips
- High-frequency entities (>50%) are part of the recurring retrieval set — your content must mention these to be topically aligned
- Medium-frequency entities (20-50%) are commonly included — mentioning them strengthens your coverage
- The gap analysis tells you what to add — if competitors' brands appear but yours doesn't, you need better entity coverage
- Use entities as a content checklist — before publishing, verify your content mentions the key brands, stats, and tools Gemini expects
- Pair with
aeo-source-authority-profilerto see both the page-level blueprint and the entity-level requirements - Pair with
aeo-content-freeto create content that includes the right entities from the start - Run for related prompts and compare entity overlap — shared entities reveal the core topic vocabulary
References
Notes
- Gemini API key stored in macOS Keychain under
google-api-key - Entity extraction is regex-based (no NLP libraries) — optimized for brands, stats, and products
- Common English words and sentence starters are filtered out to reduce noise
- Some false positives are expected — review the entity list and focus on high-frequency items
- Retries API calls up to 5 times with exponential backoff
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingaeo-entity-extractor/SKILL.md
Popularity
- Repository stars
- 9
- Repository forks
- 2
- 7-day trend score
- 12
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 17 Jun 2026, 5 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/psyduckler/aeo-skills/aeo-entity-extractor)