跳到正文
Skillpedia
SEO41k · #6825

analyzing-ai-citations

它能做什么

本技能分析你追踪的 AI 提示词,查看回答引擎引用你域名的频率、哪些主题表现最弱,以及它们转而引用了哪些其他网站。适合希望了解自己在 AI 搜索中可见度的营销人员。

适用场景

  • ✓当你想知道 ChatGPT 或 Claude 是否在你的核心主题上提到你的网站时。
  • ✓当你需要查看哪些竞争对手的域名被引用,而不是你的网站时。
  • ✓当你想将 AI 引用与搜索排名或 AI 推荐流量进行比较的时候。

技能链接

https://github.com/PostHog/posthog/blob/master/products/aeo/skills/analyzing-ai-citations/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/PostHog/posthog/blob/master/products/aeo/skills/analyzing-ai-citations/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“在我追踪的主题中,AI 回答引擎引用我网站最少的是哪些?它们转而引用了哪些网站?”

每周 5 个新技能,1 分钟读完。

工作原理

它会查询 PostHog 中每日的引用结果,以及任何已连接的搜索和流量数据。它按主题和回答引擎对结果进行分组,然后用通俗的语言说明规律及其局限。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Analyzing AI citations

PostHog runs a set of tracked prompts against AI answer engines once a day and records, per prompt and engine, whether the answer cited the project's own domain. Every citation question reduces to an aggregation over that record, optionally joined to two other sources: Google Search Console (a data warehouse source) and the project's own web traffic (the sessions and events tables).

This skill covers the citation record, the prompt set tools, the joins, and the HogQL papercuts that make the first query fail.

Tools

Tool Purpose
posthog:execute-sql HogQL over system.aeo_citation_checks, Search Console tables, sessions and events
posthog:aeo-prompts-list The tracked prompt set with topic, on/off state and the latest result per engine
posthog:aeo-prompts-topics-list Topics in the prompt set with prompt counts
posthog:aeo-prompts-get One prompt with its latest check per engine
posthog:aeo-prompts-stats-get Per-engine citation and mention rates, 30-day daily counts, consensus domains, sentiment
posthog:aeo-prompts-checks-list A prompt's check history: answers, cited URLs, search queries, failures
posthog:aeo-prompts-versions-list A prompt's text versions, to compare results before and after a reword
posthog:aeo-prompts-import Add prompts to the set (write; ask the user first)
posthog:aeo-prompts-update Turn a prompt on or off, change its topic or text (write; ask the user first)
posthog:aeo-prompts-archive Archive a prompt (write; ask the user first)
posthog:external-data-sources-list Find the Search Console source and its table names
posthog:read-data-schema Discover event and action properties before joining to traffic (not warehouse tables)
posthog:generate-app-url Links back to the Prompts tab under /web/content-autopilot

Before you start

  • The feature is flag-gated. Every aeo-prompts-* tool and the API behind it require the aeo-citation-tracking feature flag for the user's organization. A 403 with "This feature is not available." means the flag is off, not a scope problem.
  • Scopes. Reads (list, get, topics, checks, stats, versions) need web_analytics:read; writes (update, archive, import) need web_analytics:write. A missing scope surfaces as Missing PostHog API scope: 'web_analytics:read' (the API says "API key missing required scope"). Recovery: reauthorize the MCP connection so the new grant includes the scope, or add the scope to the personal API key the connection uses. Do not retry with other tools; the scope is the fix.
  • Is the runner active on this project? Run SELECT count() FROM system.aeo_citation_checks WHERE created_at >= now() - INTERVAL 14 DAY. Zero rows means no prompts are being checked for this project. The scheduled runner only covers allowlisted projects with the flag on; it runs once a day at 07:30 UTC.

Data sources

system.aeo_citation_checks (the citation record)

One row per prompt x engine x run, read-only in HogQL. Written only by the runner.

Column Meaning
created_at, run_id When the check ran; run_id groups one runner pass
prompt_id, prompt_text, prompt_topic, prompt_source, prompt_version The prompt as it ran. Topic is empty when the prompt had none. Gro
常见问题

引用检查多久运行一次?

每个被追踪的提示词和回答引擎的记录每天更新一次。

涵盖哪些回答引擎?

记录涵盖 ChatGPT、Claude 以及一个 Exa 检索基线。

它能把引用与我的搜索结果关联起来吗?

可以。如果你已将 Google Search Console 连接到 PostHog,它可以把该数据与引用结果进行关联。

详情

作者的原始描述

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an Exa retrieval baseline) cite the project's site for its tracked prompts, which topics and engines cite it least, which domains get cited instead, and whether citations line up with Google Search Console rankings and AI referral or AI crawler traffic. Use when the user asks "are we cited by AI?", "which prompts never cite us?", "citation rate by topic or engine", "who gets cited instead of us?", "do AI citations drive traffic?", or wants to cross-reference AI answers,

repo: PostHog/posthog

热度

GitHub 星标
41k
排名
#6825
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能