agentshekel/agentic-workflow/ai-visibility-methodology
Claude Code and agent skill by agentshekel/agentic-workflow
- community
Checking that the SKILL.md file is still in the repository.
[METHODOLOGY] AI platform visibility audit process (ChatGPT, Perplexity, Gemini, Claude, DeepSeek, Copilot, Yandex Neyro) with persistent projects, brand/competitor/segment management, intent-based prompt generation, source analysis, history tracking, trend comparison. Preloaded by marketing-ai-visibility-specialist agent.
Install
npx vskill@latest install agentshekel/agentic-workflow/ai-visibility-methodologySKILL.md
The same SKILL.md was published earlier as agentshekel/agentic-workflow/ai-visibility-methodology.
AI Search Visibility Audit
Procedural skill — 8 phases executed sequentially. Supports persistent projects, intent-based prompt generation, source analysis, history tracking, and trend comparison.
Config
Set OPENROUTER_API_KEY in config/.env for single-key access to all platforms. Fallback: individual platform keys (OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.). Last resort: Playwright browser automation (no keys needed).
Setup details and key registration links in config/README.md.
OpenRouter models used (refreshed 2026-10-09, the default chat tier of each platform, not Pro): openai/gpt-6.1-sol, anthropic/claude-sonnet-5.5, google/gemini-3.8-flash, deepseek/deepseek-v4.1-flash, perplexity/sonar. Re-check against https://openrouter.ai/api/v1/models every few months; the map lives in scripts/check.sh.
Data Structure
Workflow
Phase 1: Project Setup
Create or load a persistent project. Projects store brand, URL, competitors, services, segments.
For one-off audits, skip this phase and use --brand/--url flags directly.
Checkpoint: Project created with brand, URL, location, niche, services.
Phase 2: Site Analysis
Analyze the target site to understand niche, services, location, brand name.
WebFetchthe target site- Extract: brand name, location, services/products, target audience, competitors
- If project exists, update it with discovered data
Checkpoint: You have brand name, location, niche, and 3+ services/features listed.
Phase 3: Prompt Generation
Generate prompts using intent templates + custom queries. Save to a prompts file (one per line).
Using intent templates (recommended):
Load from data/intents.json — predefined templates by niche with {brand}, {location}, {niche}, {service}, {feature} placeholders.
Available niches: fitness, restaurant, clinic, education, ecommerce, saas, realestate, auto, beauty, legal. Universal templates apply to all niches.
- Select matching niche from intents.json (or use
universal) - Fill placeholders with project data
- Add custom prompts for unique features/services
- Save to prompts file
Prompt categories:
A) Brand queries (does the AI know about the brand?):
- "What is {Brand} in {Location}?"
- "Tell me about {Brand} {niche}"
- "{brand-domain} — what is it?"
B) Category queries (is the brand mentioned among competitors?):
- "Best {niche} in {Location}"
- "{niche} with {feature} in {Location}"
- "Affordable {niche} in {Location}"
C) Decision queries (does the AI recommend the brand?):
- "Which {niche} to choose in {Location} for a beginner?"
- "Where to go for {service} in {Location}?"
- "Compare {niche} in {Location} by value for money"
Rules:
- Minimum 12 prompts (4 per category)
- Use both Russian and English where applicable
- Include long-tail queries and comparison queries
- If project has segments, generate prompts per segment
Checkpoint: Prompts file saved with 12+ prompts across all 3 categories.
Phase 4: Run Checks
Two modes available:
Mode A: API-based (fast, reliable, requires API key)
Supported platforms: chatgpt, claude, gemini, deepseek, perplexity
Each platform check outputs JSON with metrics including mention_rate, citation_rate, top1_rate.
When --project is used, results are automatically saved to data/history/{slug}/{date}/.
Mode B: Playwright-based (no API keys, uses browser)
Use Claude Code's Playwright tools to navigate AI platforms:
Perplexity (no login required):
browser_navigate→https://www.perplexity.ai/browser_type→ enter prompt into search boxbrowser_snapshot→ capture response
Yandex Neyro (no login required):
browser_navigate→https://ya.ru/- Click "Нейро" tab, enter prompt, capture response
ChatGPT, Gemini, Copilot (login may be required): Navigate, submit prompt, capture response.
Checkpoint: JSON results collected for 2+ platforms.
Phase 5: Source Analysis
Extract and analyze domains/URLs that AI platforms cite in their responses.
Output: JSON with per-domain citation counts, platform breakdown, and sample prompts that triggered citations.
Checkpoint: Source analysis complete. Top cited domains identified.
Phase 6: Scoring
Calculate metrics per platform and overall:
| Metric | Formula | |
|---|---|---|
| Mention Rate | (prompts where brand mentioned / total prompts) x 100% | |
| Citation Rate | (prompts with link to site / total prompts) x 100% | |
| Top-1 Rate | (prompts where brand mentioned first / total prompts) x 100% | |
| Sentiment Score | (positive - negative) / total mentioned, scale -1 to +1 | |
| Competitor Gap | brands mentioned more often than you (ranked list) |
Scoring thresholds:
| Score | Mention Rate | Citation Rate | Verdict | |
|---|---|---|---|---|
| Excellent | >70% | >50% | Strong AI presence | |
| Good | 40-70% | 20-50% | Visible but room to grow | |
| Weak | 10-40% | 5-20% | Minimal presence | |
| Invisible | <10% | <5% | AI platforms don't know you |
Checkpoint: Metrics calculated per platform and overall. Score assigned.
Phase 7: Report Generation
Report includes:
- Executive Summary — overall AI visibility score
- Platform Breakdown — metrics per platform (with Top-1 Rate and segment columns)
- Competitor Map — who AI recommends instead of you (with cross-platform frequency)
- Source Analysis — domains AI cites in responses (your domain marked with ★)
- Trends — comparison with previous audit (if project history exists)
- GEO Recommendations — actionable steps to improve visibility
- Monitoring Plan — suggested re-check schedule
Phase 8: Trend Analysis & GEO Optimization
Trends (requires project with 2+ audits)
Shows delta for Mention Rate and Citation Rate per platform vs previous audit.
GEO Optimization
Apply recommendations from geo-checklist.md:
- Technical accessibility (AI crawlers, SSR, sitemap)
- Content structure and authority
- Schema.org structured data
- Brand presence across platforms
Checkpoint: Report delivered. Trends analyzed. GEO recommendations prioritized.
Project Management
Creating a project
During Phase 1, create a persistent project to track a brand across audits:
Using intents
data/intents.json contains prompt templates organized by niche. Each template has:
category: brand / category / decisiontemplate: prompt text with placeholderslang: ru / en
Available niches: fitness, restaurant, clinic, education, ecommerce, saas, realestate, auto, beauty, legal.
History
When --project is used with check.sh, results are auto-saved to data/history/{slug}/{date}/. This enables:
- Trend comparison between audits
- Historical metric tracking
- Month-over-month progress reports
Integration with Yandex Analytics
| Combined audit | ai-visibility-methodology + yandex skill | |
|---|---|---|
| AI vs organic comparison | ai-visibility-methodology + yandex-search-guide (SERP positions) | |
| Content gap analysis | ai-visibility-methodology (what AI recommends) + yandex-wordstat-guide (search demand) | |
| Traffic attribution | ai-visibility-methodology + yandex-metrika-guide (referral from AI platforms) | |
| Full SEO + AI audit | seo-auditing orchestrator + ai-visibility-methodology |
AI referral tracking (Metrika/GA):
chat.openai.com,chatgpt.comperplexity.aigemini.google.comcopilot.microsoft.comya.ru(Yandex Neyro)
Common Use Cases
Quick brand check
→ Phase 2 + Phase 3 (brand queries only) + Phase 4 + Phase 6
Full visibility audit
→ All phases (1-8)
Competitor intelligence
→ Phase 3 (category queries) + Phase 4 + focus on Competitor Gap metric
Monthly monitoring
→ Phase 4-7 monthly with --project flag, compare trends
Segmented audit
→ Run Phase 4 per segment with --segment flag, compare in report
Source analysis
→ Phase 4 + Phase 5 → understand which domains AI trusts in your niche
Bundled Resources
scripts/check.sh— unified platform check (OpenRouter or direct API,--platformor--all,--project,--segment)scripts/report.sh— aggregate results into report (with sources, trends, segments)scripts/sources.sh— extract and analyze cited domains from resultsscripts/trends.sh— compare current vs previous audit metricsscripts/quota.sh— verify API connectionsscripts/common.sh— shared functions (mention detection, sentiment, JSON, projects, history, sources)data/intents.json— predefined prompt templates by niche (10 niches + universal)data/projects/— persistent project data (brand, competitors, segments)data/history/— historical check results (auto-saved per project)references/geo-checklist.md— GEO optimization checklistconfig/.env— API key configuration
Limits
- AI responses are non-deterministic — run each prompt 2-3 times for reliability
- Playwright checks take ~30 sec per prompt per platform
- Monthly re-audits recommended; AI knowledge updates frequently
- Rate limits: OpenAI 3-60+ RPM, Perplexity 50 RPM, Gemini 60 RPM (varies by tier)
Verification
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ai-visibility-methodology/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 8
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/agentshekel/agentic-workflow/ai-visibility-methodology)