live-data-forensics
Investigates live product issues against Amplitude data — "is X firing today", "did the release break Y", "which users are affected by Z". Covers the verify-then-query loop, query_amplitude_data parameterization, and its common failure modes. Use for incident analysis, instrumentation checks, and affected-user discovery.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 29
- Forks
- 156
01 前言 Front Matter
- name
- live-data-forensics
- description
- Investigates live product issues against Amplitude data — "is X firing today", "did the release break Y", "which users are affected by Z". Covers the verify-then-query loop, query_amplitude_data parameterization, and its common failure modes. Use for incident analysis, instrumentation checks, and affected-user discovery.
03 SKILL.md 正文
Live Data Forensics
The most common multi-tool job on this MCP server: verify live event behavior, quantify impact, find affected users. Calls observed in the wild follow one arc — follow it too.
The arc
- Context.
get_amplitude_context(no args) → again withprojectId. Do not guess project IDs. - Reuse before rebuild.
search_amp_entitiesfor existing analyses of the same area — saved charts already encode correct event names and segments. - Verify taxonomy before querying.
manage_amp_eventsaction: 'get'to confirm candidate event names exist (returns category, isInSchema, isQueryable),get_properties(propertyType: 'event' | 'user' | 'group') for the exact property names and scope (eventvsuservsderived). Never guess names — a wrong name returns a well-formed chart with empty data, which reads as "zero". - Check the event is live.
check_for_recent_event_ingestionconfirms first-seen/last-seen before you query — a silent event means the chart will be empty no matter how correct the definition is. - Quantify.
query_amplitude_databursts — one slice per call (by version, by reason property, by platform), not one mega-query. Prefer the typedchartparameter (kind: 'segmentation', events + where/group_by + date_range); it compiles server-side and validation + taxonomy checks run automatically — no separate pre-flight call needed. Compare prod vs staging/UAT projects when the question is environment-specific. - Find affected users.
query_amplitude_datawith a user-ID group_by to rank affected users →use_amplitude_cohortsaction: 'find'for the full set. - Reconstruct timelines.
get_amp_user_datainclude: 'timeline'per user, batched (10–20 parallel calls is normal for population analysis; the tool accepts up to 10 identifiers per call).
query_amplitude_data parameterization (this is where most errors come from)
- Compile errors are self-serve. The typed path fails with a 400 naming
the offending field plus a fix hint — fix that one field and retry, don't
rebuild. The three seen most: relative range whose unit doesn't match
interval("Last 3 Years" at weekly interval — re-denominate as "Last 156 Weeks" or change the interval); funnelconversion_windowmissingunit; unknown filter operator for that chart kind (usesetfor presence — works in every kind). - Date range is required — set
date_rangeexplicitly, either{relative: "Last 30 Days"}or{start, end}epoch seconds, never both. Sub-daily intervals only allow short windows (hourcaps ~8 days); daily granularity caps around 30 days. - Every filter needs a valid operator and matching scope — take
opandscopefrom the taxonomy lookup, not intuition. A scope mismatch ("property X is not tracked on this event_type") means you used a user property as an event property or vice versa. - Segments combine property conditions and behaviors —
where(property conditions) plusperformed("users who did event ≥N times in a window"). Omitsegmentsentirely for all users. - Raw
definitionfallback (composition, revenueLtv, advanced params): on failure the response embeds the chart-type schema with valid enums and a working example — fix from that and retry. read ETIMEDOUTis a backend timeout — narrow the date range/filters and retry once.
What to report back
- Whether the event fires at all, volume, and since when (first-seen).
- Impact: affected-user count and share of active users.
- The slices that matter (version, platform, reason property).
- Affected-user evidence: top users by volume + 2–3 reconstructed timelines.
04 同仓库更多 Skills
business-data
暂无简介
workflow
Creates durable, resumable workflows using Vercel's Workflow SDK. Use when building workflows that need to survive restarts, pause for external events, retry on failure, or coordinate multi-step operations over time. Triggers on mentions of "workflow", "durable functions", "resumable", "workflow sdk", "queue", "event", "push", "subscribe", or step-based orchestration.
workflow
Vercel Workflow SDK expert guidance. Use when building durable workflows, long-running tasks, API routes or agents that need pause/resume, retries, step-based execution, or crash-safe orchestration with Vercel Workflow.
verification
Full-story verification — infers what the user is building, then verifies the complete flow end-to-end: browser → API → data → response. Triggers on dev server start and 'why isn't this working' signals.
vercel-storage
Vercel storage expert guidance — Blob, Global Config (formerly Edge Config), and Marketplace storage (Neon Postgres, Upstash Redis). Use when choosing, configuring, or using data storage with Vercel applications.
vercel-services
Configure and troubleshoot Vercel Services for multiple frontends and backends in one project. Use when composing a polyglot or multi-service application on one Vercel deployment; defining the `services` key, service-targeted rewrites, or service bindings in `vercel.json`; or running all services with `vercel dev`.