AIPM
Theme

AIPM package

User Cohort Forensics

@amplitude/user-cohort-forensics@1.0.0

Investigates individual users and user populations in Amplitude — resolve users by email/ID, read profiles, batch-analyze event timelines, spot-check cohort…

Scanned · no issues · Oct 22, 2026

GitHub stars: ★ 45

LinkedInPost

Install Skill

Pins this version in aipm.package.json and aipm-lock.json.

aipm add @amplitude/user-cohort-forensics@1.0.0

Without project tracking

Writes the skill files only. Add --no-init to skip aipm.package.json and the lockfile.

aipm add @amplitude/user-cohort-forensics@1.0.0 --no-init

How to use

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_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.

Loading package files…

Share this package

Add an Install with AIPM badge

Add this badge to a GitHub README so readers can open the package page and install the same version.

Install with AIPM
[![Install with AIPM](https://www.aipm-registry.com/install-with-aipm.svg)](https://www.aipm-registry.com/skills/amplitude/user-cohort-forensics/1.0.0?utm_source=github&utm_medium=readme&utm_campaign=package_badge)

Publisher

Amplitude

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...

Install
aipm add @amplitude/user-cohort-forensics@1.0.0
Use after install
/user-cohort-forensics <your description>

Tool targets

Install command by target

Add --no-init to any of these when you want the skill files without aipm.package.json or aipm-lock.json.

cursor

Run this variant when you want to install the package into cursor.

aipm add @amplitude/user-cohort-forensics@1.0.0 --target cursor --ci

claude

Run this variant when you want to install the package into claude.

aipm add @amplitude/user-cohort-forensics@1.0.0 --target claude --ci

Discussion

Comments (0)

Loading comments…

Keep exploring

Amplitude/weekly-brief

>

Published by Amplitude

skillScanned · no issues★ 45Imported · UnverifiedAll toolsOct 22, 2026, 1:29 AM9.21 KBMIT

Amplitude/use-amp-guides-surveys

Lists Amplitude Guides and Surveys or reads one item's full configuration with `use_amp_guides_surveys`.

Published by Amplitude

skillScanned · no issues★ 45Imported · UnverifiedAll toolsOct 22, 2026, 1:28 AM926 BMIT

Amplitude/tracking-plan-audit

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.

Published by Amplitude

skillScanned · no issues★ 45Imported · UnverifiedAll toolsOct 22, 2026, 1:28 AM8.03 KBMIT

Package FAQ

Install and compatibility

How to install
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.