User Cohort Forensics

作者 amplitude96fc7d4c58bb无许可证42 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

Investigates individual users and user populations in Amplitude — resolve users by email/ID, read profiles, batch-analyze event timelines, spot-check cohort membership. Use for "what did user X do", attribution audits, population sampling, and email-to-user-ID resolution.

仅含说明Data & Analytics
AI 生成的概览

在 Amplitude 中调查单个用户与用户群体,解析身份、读取资料并分析事件时间线。

功能
指导智能体在 Amplitude 中进行用户与群组取证:通过邮箱、用户 ID、设备 ID 或 Amplitude ID 解析用户,读取资料和带会话的事件时间线,并批量分析用户群体。还涵盖群组列表、获取与成员抽查,以及分批将邮箱解析为 ID。产出是调查结论和用户旅程摘要,而非文件。
适用场景
适用于回答某个用户做了什么、归因审计、群体抽样、群组成员核验,以及在 Amplitude 中把邮箱解析为用户 ID 等场景。
运行要求
需要访问 Amplitude 的用户、群组与查询工具(get_amp_user_data、query_amplitude_data、use_amplitude_cohorts)及相应凭据。不附带脚本,仅为说明文档。

User & Cohort Forensics

The arcs

Single user deep-dive: get_amp_user_data include: 'id' (resolve the user: email, user ID, device ID, or amplitude ID) → include: 'profile' (lifecycle, acquisition, usage stats) → include: 'timeline' (session-aware event history). include: 'both' gets profile + timeline in one call when you know you'll need both. Summarize journeys; don't dump raw events.

Population analysis (batched): build the user set first (query_amplitude_data with a user-ID group_by to rank by volume, or use_amplitude_cohorts action: 'find' for a filtered set) → get_amp_user_data include: 'timeline' in parallel batches — up to 10 identifiers per call, 10–20 calls in flight is normal for population analysis; hundreds of calls total is fine. Keep each call narrow (event types, window) so responses stay small.

Cohort spot-check: prefer existing cohorts — use_amplitude_cohorts action: 'list' or action: 'get' before building ad hoc definitions. action: 'membership' verifies specific users. Check a member's timeline for the exact markers (purchase, typing, checkout events) rather than trusting the cohort definition blindly.

Email → ID resolution: get_amp_user_data include: 'id' per email; uploaded email lists are resolved in batches of ≤10 identifiers per call. For bulk exports, batch and note the retry pattern on individual failures.

Parameterization notes

  • include: 'timeline': always bound the window (last 30 days by default) and pass event-type filters when you know what you're looking for — unfiltered timelines are large and slow.
  • Rate-limit failures come back flagged retryable with retryAfterMs — back off instead of churning.
  • User identity: a user can match multiple IDs (device, user, email). Say which identity you resolved and flag ambiguous matches instead of picking one silently.

来源与署名

来源:amplitude/mcp-marketplace位于plugins/amplitude/skills/user-cohort-forensics提交96fc7d4

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架