user-deep-dive
БесплатноБез исполняемых скриптовНе проверенDeep dive on a PostHog user by email address. Analyze what they do, where they spend time, and what products they use.
от PostHog★ 81 звезда на GitHubОб этом скилле
Deep dive on a PostHog user by email address. Analyse what they do, where they spend time, and what products they use.
Input: $ARGUMENTS (email address, e.g. [email protected])
Process
Step 0: Ask for time window
Before running any queries, ask the user:
"What time window would you like to analyse? (default: last 14 days)"
If they don't respond or say "default", use 14 days. Use their answer to set {days} in all queries below.
Step 1: Run queries in parallel
Run all of the following queries simultaneously via the query-run MCP tool.
1. Activity overview — event breakdown (excluding PostHog internals):
SELECT event, count() as cnt
FROM events
WHERE person.properties.email = '{email}'
AND timestamp >= now() - interval {days} day
AND event NOT IN (
'$feature_flag_called',
'$ai_span',
'$ai_trace',
'$autocapture',
'$web_vitals',
'react_framerate',
'spinner_unloaded',
'replay_parse_timing',
'$dead_click'
)
GROUP BY event
ORDER BY cnt DESC
LIMIT 30
2. Page views — where they spend their time:
SELECT properties.$current_url as url, count() as cnt
FROM events
WHERE person.properties.email = '{email}'
AND event = '$pageview'
AND timestamp >= now() - interval {days} day
GROUP BY url
ORDER BY cnt DESC
LIMIT 25
3. Insight details — which insights/dashboards they view:
SELECT properties.insight as insight_type, properties.insight_name as name, count() as views
FROM events
WHERE person.properties.email = '{email}'
AND event = 'insight viewed'
AND timestamp >= now() - interval {days} day
GROUP BY insight_type, name
ORDER BY views DESC
LIMIT 20
4. Session replay views — replays they've watched:
SELECT
properties.session_id as session_id,
properties.$current_url as url,
timestamp
FROM events
WHERE person.properties.email = '{email}'
AND event = '$recording_viewed'
AND timestamp >= now() - interval {days} day
ORDER BY timestamp DESC
LIMIT 20
5. Error tracking usage — how they interact with error tracking in PostHog:
SELECT event, properties.issue_id as issue_id, properties.issue_name as issue_name, count() as cnt
FROM events
WHERE person.properties.email = '{email}'
AND event IN ('error tracking issue viewed', 'error tracking issue resolved', 'error tracking issue assigned', 'error tracking issue suppressed', 'error tracking list viewed')
AND timestamp >= now() - interval {days} day
GROUP BY event, issue_id, issue_name
ORDER BY cnt DESC
LIMIT 20
6. PostHog AI usage — Max and insight analysis counts:
SELECT event, count() as cnt
FROM events
WHERE person.properties.email = '{email}'
AND event IN ('$ai_generation', '$conversations_loaded', 'insight analyzed', 'chat with data opened')
AND timestamp >= now() - interval {days} day
GROUP BY event
ORDER BY cnt DESC
7. Where they open Max — which pages/contexts they use Max on:
SELECT
properties.$current_url as url,
count() as cnt
FROM events
WHERE person.properties.email = '{email}'
AND event = '$conversations_loaded'
AND timestamp >= now() - interval {days} day
AND properties.$current_url LIKE '%posthog.com/project%'
GROUP BY url
ORDER BY cnt DESC
LIMIT 20
Step 2: Cross-reference with Vitally
Use Vitally tools to look up the user by email — get their role, title, account name, and any CRM data available.
Output Format
Executive Summary
2–3 sentences capturing who this person is, what they primarily use PostHog for, and the single most interesting or actionable thing about their usage. Write it as if briefing someone before a call with this user.
Profile
- Name, email, role/title, LinkedIn (if available)
- Location (from timezone or geo data)
- Account they belong to
Activity Summary (last {days} days)
- Total events, key event types
- How many queries run, insights viewed, dashboards checked, exports done
Where They Spend Time
- Which PostHog projects (extract project IDs from URLs)
- Which product areas (analytics, replay, flags, LLM analytics, data management, error tracking, etc.)
- Specific dashboards or insights they revisit
What They're Doing
- Interpret the insight names and patterns — what business questions are they answering?
- Are they building things (creating insights, actions, destinations) or consuming (viewing dashboards, exporting)?
- Error tracking: are they actively triaging errors (resolving, assigning, suppressing) or just browsing?
Session Recordings
- Link directly to PostHog session replay filtered to this user:
https://us.posthog.com/replay?filters={"type":"AND","values":[{"type":"AND","values":[{"key":"email","value":["{email}"],"operator":"exact","type":"person"}]}]} - Summarise any patterns from the replays they've watched (query 4): which parts of the product, how recently
PostHog AI Usage
- How often do they open Max (
$conversations_loadedcount) and make AI call
Установить user-deep-dive в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл user-deep-dive?
Deep dive on a PostHog user by email address. Analyze what they do, where they spend time, and what products they use.
Как установить скилл user-deep-dive?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл user-deep-dive запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic