Amplitude's end-to-end instrumentation skill: point it at a PR, branch, file or feature and it reads the code, finds the events worth tracking and produces a concrete tracking plan for Amplitude.
Amplitude Instrument Events Skill
Amplitude's skill for turning critical event candidates into a concrete tracking plan: exact insertion points, a few chart-useful properties per event, project routing and an optional write-back to Amplitude.
Install
Other ways to install
About
- Filters event candidates to critical (priority 3) events
- Applies repo conventions from .amplitude/instrumentation-agent-context.md
- Routes events to projects via .amplitude/instrumentation-agent.yaml
- Places each call where the outcome is confirmed
- Two to four chart-useful properties per event
- Writes high-confidence events to Amplitude through MCP after confirmation
Instrument Events is step three of the analytics instrumentation workflow in Amplitude's official plugin for AI coding tools. It takes the event candidates produced by discover-event-surfaces and has the agent act as a software architect reviewing a pull request: follow the codebase's existing analytics pattern, keep the footprint small and only send properties that will actually be charted.
It keeps only the critical (priority 3) candidates and lists them for the user to confirm. It reads an optional .amplitude/instrumentation-agent-context.md in the repository, where a team can write its naming conventions, property standards and reference files, and applies those as directives without letting them override safety rules. It resolves which Amplitude project each event belongs to from .amplitude/instrumentation-agent.yaml, a path-to-app-ID mapping with last-match-wins rules; if the file is missing it offers to have the user create it, to scan the repo and propose one, or to proceed with a single app ID at low confidence, and never invents IDs.
For each event the agent reads the hinted file, places the call where the outcome is confirmed rather than where the action starts, and designs two to four primitive properties from variables in scope, each one justified by the chart or filter it enables. Naming comes from the discover-analytics-patterns skill. The result is a JSON tracking plan with the tracking function, import path, an example call from the codebase, and each event's location, properties and confidence.
Only events whose project was resolved with high confidence are written back, after explicit confirmation, using the Amplitude MCP server's event and property tools; the rest are listed with the reason and how to fix it. It depends on its sibling skills and the Amplitude MCP connection, so it is best installed as part of the Amplitude plugin. MIT licensed.
SKILL.md
The instructions your agent loads, as published by Amplitude.
Related Skills
See all Amplitude Instrument Events alternativesSkill: PostHog Debugger
by PostHog
PostHog's official skill for auditing a live analytics implementation — scripts, network calls, and window state — read-only, via browser automation.
Microsoft's official Azure skill for Azure Data Explorer: discover clusters and schemas, then run KQL for log analytics, telemetry and time-series analysis, with an Azure CLI fallback.
Skill: Tinybird Best Practices
by Tinybird
Tinybird's own datafile and SQL rules for coding agents — datasources, pipes, endpoints, materialized views, deduplication and query optimisation.