Investigates individual users and user populations in Amplitude — resolve users by email/ID, read profiles, batch-analyze event timelines, spot-check cohort…
Install the skill above, then run this in your AI tool:
/user-cohort-forensics <your description>
About
## The arcs
Source
What gets added to your project
Preview every file this package writes on install before you run the command above.
Summary
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 samplin...
Skill instructions
User & Cohort Forensics
The arcs
Single user deep-dive:get_amp_user_datainclude: '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_cohortsaction: 'find' for a filtered set) →
get_amp_user_datainclude: '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_cohortsaction: '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_datainclude: '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.
Add this badge to a GitHub README so readers can open the package page and install the same version.
[](https://www.aipm-registry.com/skills/amplitude/user-cohort-forensics/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)
This imported publisher has not claimed its AIPM account. A connected account confirms account control, but it does not guarantee that a package is safe.
AI assistant context
What this skill is for
@amplitude/user-cohort-forensics@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: 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 samplin...
Use when auditing Amplitude tracking plans for safe deletion candidates among stale, duplicate, orphaned, cross-app, retired, high-volume, generated-client, never-ingested, or deleted-but-still-emitted events and event properties.
Run aipm add @amplitude/user-cohort-forensics@1.0.0 in a project that has AIPM initialized.
Supported tools
@amplitude/user-cohort-forensics@1.0.0 supports All tools.
Before installing
AIPM skills can add files to your project. Review the package name, target, description, license, and publisher before installing. Use a clean branch when trying a new skill.