psyduckler/aeo-skills/aeo-baseline
Claude Code and agent skill by psyduckler/aeo-skills
- community
Checking that the SKILL.md file is still in the repository.
Take an atomic AI visibility baseline for a brand. Runs each configured prompt 20 times against Gemini with Google Search grounding, extracts every signal (brand mentions, citations, citation position, query fan-out, entities, sentiment, competitor citations) from those same 20 responses, computes Wilson 95% confidence intervals, applies the aeo-v1 visibility score, and writes an append-only JSON evidence file conforming to schemas/aeo-evidence-v1.json. Use when a user wants to: measure where t…
Install
npx vskill@latest install psyduckler/aeo-skills/aeo-baselineSKILL.md
The same SKILL.md was published earlier as psyduckler/aeo-skills/aeo-baseline.
AEO Baseline
Source: github.com/psyduckler/aeo-skillsPart of: AEO Skills SuiteMethodology: aeo-v1Output schema: aeo-evidence-v1
The atomic measurement primitive for AI visibility tracking. One command, one run, one evidence file with every signal you can extract from 20 grounded Gemini responses per prompt.
The Retrieval Framework
You cannot edit a model's training data. But for search-grounded models like Gemini, you can influence what enters the candidate set the model selects from when it grounds an answer. That candidate set — the recurring retrieval set for a prompt — is what this skill measures.
Every metric in the output traces back to a saved raw response. If you disagree with the score, recompute it from the evidence file — components are stored separately.
Requirements
- Gemini API key (free from aistudio.google.com) — set as
GEMINI_API_KEY - Python 3.9+ — stdlib only, no pip install needed
- A workspace config — either an existing
aeo.config.json(produced byaeo-init) or a one-off via--prompt
Usage
Run from the skill directory. Resolve scripts/baseline.py relative to this SKILL.md.
Options
| Option | Default | Description | |
|---|---|---|---|
--config | aeo.config.json | Path to workspace config | |
--output-dir | (from config) | Where to write the evidence JSON file | |
--runs N | (from config, fallback 20) | Samples per prompt | |
--concurrency N | (from config, fallback 5) | Max parallel API calls | |
--model NAME | gemini-3-flash-preview | Gemini model identifier | |
--prompt "TEXT" | — | Run a single ad-hoc prompt instead of the config | |
--prompt-id ID | adhoc | ID to record when --prompt is used | |
--doctor | — | Verify API key with a 1-token probe; exit | |
--estimate-cost | — | Print projected cost; exit | |
--yes / -y | — | Skip the cost-confirmation prompt |
Signals Extracted
Each of the 20 samples per prompt contributes to:
- Brand mention — whole-word match for the brand name and any aliases
- Brand citation — domain match in grounding chunks, with 1-based position
- Competitor mention — text + grounding match for each tracked competitor
- Query fan-out — the literal Google Search queries Gemini fired
- Entities — proper-noun extraction (CamelCase + multi-word capitalized)
- Sentiment — ±50-char window scan for positive/negative keywords near each brand mention
- Recommendation — brand mention in the trailing 25% of the response
All extraction is deterministic and rule-based — same response in, same numbers out. Sentiment will move to LLM-based in v1.2.
Output
A single file: <output-dir>/run_<UTC-timestamp>.json matching the public aeo-evidence-v1 schema.
The file is append-only by design — each run produces a new timestamped file. Trend analysis is done by aeo-report reading the whole directory.
Top-level layout:
Cost Management
This skill respects two limits from aeo.config.json:
limits.confirm_over_usd— if the projected cost exceeds this, the user is prompted to confirm before any API calls (default $5)limits.max_daily_cost_usd— informational only in v1; honored byaeo-trackfor scheduled runs (default $25)
Override the per-sample cost estimate via env var:
Use --estimate-cost to dry-run.
Scoring (aeo-v1)
The composite visibility score is a transparent weighted average, scaled 0–100:
Every component is stored in the evidence file. To re-score with different weights, modify them and recompute from the raw samples — no new API calls needed.
See METHODOLOGY.md for the full definitions.
Pairs With
- [aeo-init](https://github.com/psyduckler/aeo-skills/tree/main/aeo-init) (coming) — creates
aeo.config.json - [aeo-track](https://github.com/psyduckler/aeo-skills/tree/main/aeo-track) (coming) — installs a daily cron to re-run this skill
- [aeo-report](https://github.com/psyduckler/aeo-skills/tree/main/aeo-report) (coming) — reads accumulated evidence files and generates Markdown + SVG trend reports
- [aeo-optimize](https://github.com/psyduckler/aeo-skills/tree/main/aeo-optimize) (coming) — reads the latest evidence file and recommends concrete content actions
Notes
- Each sample's raw response text is stored in the evidence file. If you want to reduce file size, you can post-process the JSON to drop
samples[].raw_response_textafter extraction. - Failed samples (HTTP errors, timeouts) are recorded with
errorrather than dropped silently.successful_samplesandfailed_samplesare explicit at the prompt level. - Wilson 95% CI is reported alongside every proportion metric — at N=20, expect a width of ~30 percentage points for mid-range rates. See METHODOLOGY.md §2 for the full table.
- Gemini grounding occasionally rate-limits at high concurrency.
_shared.call_geminiretries with exponential backoff up to 5 attempts.
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-baseline/SKILL.md
Popularity
- Repository stars
- 14
- Repository forks
- 5
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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-baseline)