feature-usage-feed
하는 일
이 스킬은 운영 환경에서 AI 기능의 일반적인 사용 사례를 찾고 그 예시를 Slack으로 흘려보내는 자동 점검을 설정합니다. 사람들이 실제로 AI 기능을 어떻게 쓰는지 알고 싶은 제품 팀을 위한 것입니다.
사용하는 경우
- ✓사람들이 AI 기능을 실제로 어떻게 쓰는지, 우리가 가정하는 방식이 아니라 실제 방식을 알고 싶을 때.
- ✓팀이 읽을 실제 예시의 정기 Slack 피드를 원할 때.
- ✓문서나 개선 계획을 세우기 전에 먼저 일반적인 사용 사례가 필요할 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/ai_observability/skills/feature-usage-feed/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“사람들이 우리 세션 요약 기능을 흔히 쓰는 방식을 보여 주는 Slack 피드를 설정해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
각 트레이스의 사용 사례에 라벨을 붙이는 AI 판정자 점검을 설정한 뒤, 결과를 Slack 채널로 보냅니다. 일부 단계는 흔히 PostHog 웹 인터페이스에서 해야 하므로, 설정을 거기서 마무리해야 할 수도 있습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Building a feature usage feed via LLM evals
Some PostHog features (group session summaries, single session summaries, replay AI search, error tracking AI debug, etc.) generate hundreds or thousands of LLM traces per week. Reading them by hand is not feasible. This skill covers the end-to-end pattern for turning that trace volume into a live Slack feed of canonical use cases — what users are actually doing with the feature.
The workflow is mixed, and leans UI. Trace inspection and filter discovery (steps 1-2) are MCP-driven. Eval creation, dry-running, and enabling (steps 4-5) are MCP-driven when posthog:llma-evaluation-* tools are exposed to your agent — but they often aren't, in which case fall back to the UI (Data pipeline → destinations for the alert is always UI). Each step flags its UI fallback. Expect to finish in the UI even when you start from chat.
When to use
- "How are people actually using [feature X] in production?"
- "Can we identify the canonical use cases for [feature X] so we can write better docs / prioritize improvements?"
- "I want a Slack feed of representative usage examples without manually skimming traces."
- "Set up a feed of use cases for [feature X] in #team-[area]-usage."
If the user just wants to debug a single trace or tune an existing eval, redirect to exploring-llm-traces or exploring-llm-evaluations instead.
Two filter patterns
This skill supports two different ways to scope an eval to "the feature you care about":
Pattern A — Feature-native trace_id prefix. For standalone features that emit their own $ai_trace_id pattern (e.g. session-summary:group:, replay-search:, error-tracking-specific flows). Filter on the prefix.
Pattern B — PostHog AI agent mode. For features the user interacts with via PostHog AI in a specific agent mode (error tracking, product analytics, session replay, SQL, flags, surveys, AI observability). Filter on ai_product = 'posthog_ai' AND agent_mode = '<mode>'. This requires PR #55160 (merged April 2026) to be deployed, which threads agent_mode and supermode onto every $ai_generation emitted by the chat agent loop. A useful ergonomic side-effect: agent_mode IS NOT NULL is a reliable "user-facing chat turn" filter — batch jobs and tool-internal LLM calls go through different code paths and have agent_mode=null, so they're excluded for free.
If the user asks "what are users trying to DO in [ET / replay / SQL / flags / surveys] mode of PostHog AI", that's Pattern B. If they ask "what use cases does [standalone feature] cover", that's Pattern A. Pick the pattern first — the prompt, filter, and Slack channel naming all follow from it.
Prerequisites
| Requirement | How to verify |
|---|---|
(Pattern A) Feature emits $ai_generation events with a stable $ai_trace_id pattern |
posthog:execute-sql for distinct $ai_trace_id prefixes |
(Pattern B) agent_mode property is present on recent $ai_generation events |
posthog:execute-sql group-by properties.agent_mode on recent ai_product='posthog_ai' events. Null bucket is normal (batch jobs + tool-internal calls) — you want non-null coverage across the modes you care about. |
$session_id is attached to the $ai_generation events (links trace to trigger session) |
posthog:execute-sql for countIf($session_id IS NOT NULL) / count() |
$session_id is also attached to the $ai_evaluation events (lets the Slack alert link to the session) |
Same query but on $ai_evaluation even |
자주 묻는 질문
왜 AI 판정자를 쓰나요?
트레이스 양이 너무 많아 사람이 읽을 수 없으므로, AI 판정자가 사용 사례를 대규모로 분류합니다.
웹 앱에서 설정을 마무리해야 하나요?
보통 그렇습니다. Slack 알림 대상을 만드는 것은 인터페이스에서 합니다.
어떤 기능에 가장 적합한가요?
매주 트레이스를 많이 만드는 AI 기능에 가장 잘 맞습니다.
상세 정보
작성자의 원본 설명
Set up an LLM-judge evaluation that extracts canonical use cases for a PostHog feature at scale and streams the results to a Slack channel as a live feed. Use when someone wants to understand how users are actually using a specific AI/LLM-powered feature in production — what they're investigating, what questions they're trying to answer, and what patterns surface — without manually reading hundreds of traces. Assumes the feature emits `$ai_generation` and `$ai_evaluation` events with `$session_id` linkage to the trigger user's recording (the standard setup post the session-summary linkage PRs)
repo: PostHog/posthog
인기도
- GitHub 스타
- 41k
- 순위
- #6834
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.