analyzing-ai-citations
Skill này làm gì
Skill này phân tích các prompt AI bạn theo dõi để xem các công cụ trả lời trích dẫn tên miền của bạn thường xuyên đến mức nào, chủ đề nào yếu nhất, và chúng trích dẫn những trang khác nào thay thế. Nó dành cho người làm marketing muốn hiểu mức độ hiển thị của mình trong tìm kiếm AI.
Khi nào nên dùng
- ✓Khi bạn muốn biết ChatGPT hoặc Claude có nhắc đến website của bạn cho các chủ đề chính hay không.
- ✓Khi bạn cần xem những tên miền đối thủ nào được trích dẫn thay cho bạn.
- ✓Khi bạn muốn so sánh trích dẫn AI với thứ hạng tìm kiếm hoặc lượng truy cập giới thiệu từ AI.
Liên kết skill
https://github.com/PostHog/posthog/blob/master/products/aeo/skills/analyzing-ai-citations/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Với các chủ đề tôi theo dõi, công cụ trả lời AI nào trích dẫn website của tôi ít nhất, và chúng trích dẫn những trang nào thay thế?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill truy vấn kết quả kiểm tra trích dẫn hằng ngày trong PostHog, cùng mọi dữ liệu tìm kiếm và lưu lượng đã kết nối. Skill nhóm kết quả theo chủ đề và công cụ trả lời, rồi giải thích các mẫu và giới hạn của chúng bằng ngôn ngữ đơn giản.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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 theaeo-citation-trackingfeature 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) needweb_analytics:read; writes (update,archive,import) needweb_analytics:write. A missing scope surfaces asMissing 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 |
Câu hỏi thường gặp
Các kiểm tra trích dẫn chạy bao lâu một lần?
Bản ghi được cập nhật mỗi ngày một lần cho từng prompt được theo dõi và từng công cụ trả lời.
Những công cụ trả lời nào được bao gồm?
Bản ghi bao gồm ChatGPT, Claude và một mức tham chiếu truy xuất của Exa.
Skill có thể liên kết trích dẫn với kết quả tìm kiếm của tôi không?
Có, nếu bạn đã kết nối Google Search Console với PostHog, nó có thể ghép dữ liệu đó với kết quả trích dẫn.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 41k
- Vị trí xếp hạng
- #6825
- Giấy phép
- —
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
depot-ci
41kGiúp agent của bạn thiết lập và chạy quy trình Depot CI, một lựa chọn thay thế GitHub Actions, gồm chuyển các quy trình hiện có và đọc nhật ký chạy.
depot-container-builds
41kGiúp agent của bạn build image Docker trên các builder từ xa của Depot, gồm image đa nền tảng, đẩy lên registry và sửa lỗi build.
depot-github-runners
41kGiúp agent của bạn chuyển các job GitHub Actions sang runner do Depot quản lý, chọn kích thước và nhãn runner, và xử lý lỗi thiết lập runner.
editing-agents-md
41kGiúp agent của bạn quyết định một quy tắc nên nằm trong file AGENTS.md hay CLAUDE.md, và viết sao cho quy tắc được tuân thủ mà file không bị phình to.
Skill tương tự
competitive-platform-analysis
280kGiúp bạn hiểu rõ đối thủ cạnh tranh. Công cụ xác định, phân loại và lọc các công ty cạnh tranh trước khi phân tích sâu hơn.
competitive-report-structure
280kTạo báo cáo đối thủ cạnh tranh toàn diện. Kết hợp thông tin để thể hiện bức tranh chung, đề xuất và giúp đồng đội thống nhất hướng đi.
lead-intelligence
280kGiúp agent tìm và liên hệ với những người quan trọng. Phân tích khách hàng tiềm năng, gợi ý cách tiếp cận và quản lý việc liên lạc qua email và mạng xã hội.