AIPM
Theme

AIPM package

Chart Link Analysis

@amplitude/chart-link-analysis@1.0.0

Answers questions from an Amplitude chart or dashboard link — fetch the definition, pull the data, explain or adapt it.

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/chart-link-analysis@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/chart-link-analysis@1.0.0 --no-init

How to use

Install the skill above, then run this in your AI tool:

/chart-link-analysis <your description>

About

Second most common job: the user pastes a link and wants the analysis understood, refreshed, or adapted.

Source

What gets added to your project

Preview every file this package writes on install before you run the command above.

Summary

Answers questions from an Amplitude chart or dashboard link — fetch the definition, pull the data, explain or adapt it. Use when the user pastes an Amplitude URL, asks "what does this chart show", wants a report refreshed from a dashboar...

Skill instructions

Chart Link Analysis

Second most common job: the user pastes a link and wants the analysis understood, refreshed, or adapted.

The arc

  1. Resolve the URL. get_from_url returns the entity type, IDs, and (for charts) the current definition. One call handles chart, dashboard, experiment, notebook, and cohort links — use it instead of asking the user for IDs.
  2. Read the definition. For a chart: get_amplitude_charts with include: 'typed' — the typed params mirror the chart-builder UI and are the fastest way to see how the project spells events/properties. If typed fails to lower the chart ("advanced features are not modeled"), fall back to include: 'definition' for the raw form. For a dashboard: use_amp_dashboards action: 'get' (batch ≤3) to get its chart list, then read the charts that matter.
  3. Pull the data. get_amplitude_charts include: 'data' with the chart IDs, ≤3 IDs per call. For a report refresh, request the granularity the report needs (daily for week-over-week, weekly for monthlies).
  4. Adapt or fork. Edit the typed params, then call query_amplitude_data with the edited chart and chartId set to the saved chart's id — the parent's params fill gaps the typed model omits, and the edit stays linked to its parent. Render the result with render_amplitude_chart; the user saves it from the widget's Save chart button (there is no model-facing save tool). To replicate a whole dashboard in a new context: read the reference dashboard, then rebuild each chart — do not try to "copy" in one call.

Expectations to set

  • get_from_url does not run the chart — it returns metadata/definition. Data always comes from get_amplitude_charts include: 'data' (saved charts) or query_amplitude_data (ad hoc).
  • include: 'data' returns the same numbers the UI shows, including Amplitude's timezone bucketing — when comparing against external sources (e.g. BigQuery), call out timezone and partial-day differences explicitly.
  • Definition reads are cheap; data reads are the expensive calls. Read all definitions first, then decide which 1–3 charts actually need data.
  • Just need the link for the user? include: 'link' (the default) validates the ids and returns URLs without running anything.

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/chart-link-analysis/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/chart-link-analysis@1.0.0 is an AIPM skill package for All tools. Use it when a project needs the reusable AI behavior described as: Answers questions from an Amplitude chart or dashboard link — fetch the definition, pull the data, explain or adapt it. Use when the user pastes an Amplitude URL, asks "what does this chart show", wants a report refreshed from a dashboar...

Install
aipm add @amplitude/chart-link-analysis@1.0.0
Use after install
/chart-link-analysis <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/chart-link-analysis@1.0.0 --target cursor --ci

claude

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

aipm add @amplitude/chart-link-analysis@1.0.0 --target claude --ci

Discussion

Comments (0)

Loading comments…

Package FAQ

Install and compatibility

How to install
Run aipm add @amplitude/chart-link-analysis@1.0.0 in a project that has AIPM initialized.
Supported tools
@amplitude/chart-link-analysis@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.