/amplitude:create-chartfrom amplitude
Creates Amplitude charts from natural language descriptions, handling event selection, filters, groupings, and visualization choices.
Ships in amplitude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create charts from natural language by discovering events, building chart definitions, and verifying results.
Before any tool calls, decompose the request:
1. Identify chart components:
2. Plan event searches:
3. Plan parallel tool calls:
IMPORTANT: Cast a wide net before narrowing down
When the user's request is ambiguous or could map to multiple events:
Search for events:
Amplitude:search with entity_types=['EVENT', 'CUSTOM_EVENT']
Make informed decisions, then explain:
Decision criteria:
Examples:
Verify before use:
Get properties:
Use the connected catalog's taxonomy property reader for exact names and scopes
Find cohorts:
Amplitude:search with entity_types=['COHORT']
Amplitude:get_cohorts to get full definitions
| Chart Type | Use When |
|---|---|
eventsSegmentation | Counting events/users over time, trends, comparisons, KPIs, distributions, property analytics |
funnels | Multi-step conversion analysis with a known sequence, drop-off analysis, time between specific events, time-to-convert metrics |
retention | User return behavior, cohort retention curves, churn analysis |
dataTableV2 | Tabular comparisons, rankings, multi-dimensional breakdowns |
customerJourney | Path exploration, discovering unknown paths users take, comparing converted vs dropped-off paths |
sessions | Session duration, session frequency, time spent per user, session length distributions |
eventsSegmentation - Most versatile. Use for:
uniques metricAggregation Scope (eventsSegmentation):
PROPSUM(A) / metric: "sums" = Global sum across ALL eventsmetric: "frequency" = Distribution of per-user event counts (how many users did it 1x, 2x, 3x)metric: "frequency" for event count distributions, or use dataTableV2 grouped by user_id with PROPSUM, then export for external analysis.funnels - Conversion analysis with predefined steps. Use for:
customerJourney insteadretention - Return behavior. Use for:
dataTableV2 - Tabular data. Use for:
customerJourney - Path exploration and discovery. Use for:
sessions - Session-based engagement metrics. Use for:
Special metrics:
metric: "uniques"metric: "totals"metric: "sums" with property in group_byMeta events:
_active: Any active event (DAU, MAU)_new: New users (first-time event)_any_revenue_event: Revenue eventsCore parameters (all chart types):
{
"name": "Descriptive Chart Title",
"projectId": "12345",
"definition": {
"app": "12345",
"type": "eventsSegmentation",
"params": {
"range": "Last 30 Days",
"events": [{
"event_type": "Purchase Completed",
"filters": [],
"group_by": []
}],
"metric": "uniques",
"countGroup": "User",
"interval": 1,
"segments": [{"conditions": []}]
}
}
}
Key parameters:
countGroup: "User" (unique users) or "Event" (event occurrences)interval: 1 (daily), 7 (weekly), 30 (monthly)segments: User filters/groups (empty array = all users)Event filters (inline OR logic):
"filters": [{
"group_type": "User",
"subprop_key": "country",
"subprop_op": "is",
"subprop_type": "event",
"subprop_value": ["United States", "Canada"]
}]
group_typehere is the counting entity ("User", or a group like "org id") — not the scope of the property. To filter on an account-level property, setsubprop_typeto"group"andgroup_typeto the group type that owns it, using the exact name from the active taxonomy reader's group-property surface. Never prefix the property name withgrp:. If the response isInvalid group property … for group type …, that pair is not queryable in this project — do not retry variants; use a user- or event-level equivalent.
User segments (conditions AND logic):
"segments": [{
"name": "Active Users",
"conditions": [{
"type": "property",
"group_type": "User",
"prop_type": "user",
"prop": "plan",
"op": "is",
"values": ["Pro", "Enterprise"]
}]
}]
Cohort segments: Search for cohort, get ID, then:
"segments": [{
"name": "My Cohort",
"conditions": [{
"type": "cohort",
"group_type": "User",
"cohort_id": "abc123",
"op": "is_in"
}]
}]
Amplitude:get_amplitude_context (for projectId)
Amplitude:search for each distinct concept
- Use broad search terms initially
- Look for all related events, custom events, cohorts
- Review ALL results before selecting
Amplitude:search entity_types=['CHART'] query="similar concept"
Amplitude:get_charts to see definition structure
Use the connected catalog's taxonomy property reader
Amplitude:query_dataset with full definition
Verify results - check data makes sense
Save chart:
Amplitude:save_chart_edits with editId from query_dataset
If query_dataset fails:
If zero results:
Naming:
Time ranges:
Verification:
Comparisons:
Always include:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub amplitude/mcp-marketplace --plugin amplitude37 skills in this plugin
/add-analytics-instrumentationEnd-to-end analytics instrumentation workflow for a PR, branch, file, directory, or feature. Reads the code, discovers what events should be tracked, and produces a concrete instrumentation plan — all in one shot. Use this skill whenever a user wants to add analytics to a PR, asks "instrument this PR", "add tracking to this branch", "what analytics does this file need", "instrument the checkout flow", "run the full instrumentation workflow", or any request that implies going from code changes to a tracking plan. Also trigger when the user gives you a PR link, branch name, file path, or feature description and mentions analytics, events, or instrumentation. This is the main entry point for the analytics workflow — prefer it over calling the individual steps (diff-intake, discover-event-surfaces, instrument-events) separately.
/analyze-account-healthSummarizes B2B account health by analyzing usage patterns, engagement trends, risk signals, and expansion opportunities. Use for customer success reviews, renewal preparation, QBRs, or account prioritization./analyze-ai-topicsAnalyzes what users ask AI agents about and how well each topic is served. Only use when the user has Amplitude Agent Analytics instrumented in their project. Use when the user asks "what are people asking the AI", "top AI topics", "where is the AI struggling", "AI coverage gaps", "what should we improve in our AI", or wants product insights from AI conversation patterns.
Other plugins' skills for the same job