Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

instrument-events

Skill by amplitude

instrument-events turns priority-3 event candidates into a concrete analytics tracking plan. It is step 3 of Amplitude's instrumentation workflow, for engineers who need exact insertion points.

  • Score 50
  • 30 stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install instrument-events

Built from the published package, never by AI.

git clone --depth 1 https://github.com/amplitude/wizard /tmp/wizard && mkdir -p ~/.claude/skills && cp -r /tmp/wizard/skills/instrumentation/instrument-events ~/.claude/skills/instrument-events

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install instrument-events in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

instrument-events is an agent skill from Amplitude. It is step 3 of the analytics instrumentation workflow and runs after discover-event-surfaces. It takes event_candidates YAML from that skill and keeps only the priority-3 (critical) events. For each one, it reads the hinted file, finds the exact insertion point for the tracking call, and designs a small set of properties that are in scope at that point.

The skill checks existing analytics patterns in the codebase so new calls match the current tracking function, import path and call style. It outputs a structured JSON trackingPlan that includes file paths, line numbers, function anchors and tracking code. It is meant for engineers who need concrete, line-by-line implementation guidance for analytics events.

Written from the project's SKILL.md and checked against it.

What it can do

  • Filter critical eventsKeeps only priority-3 event candidates from the discovery output and lists them for confirmation.
  • Find insertion pointsLocates the handler or callback where a tracking call should go, after the outcome is confirmed.
  • Design propertiesChooses two to four primitive properties that are in scope at the insertion point and useful in charts.
  • Match existing patternsChecks the codebase's tracking function, import path, property shape and placement before proposing code.
  • Build tracking planOutputs a JSON trackingPlan with file paths, line numbers, code context and tracking code.

What you need

  • event_candidates YAML from the discover-event-surfaces skill

Try asking

  • Instrument these events
  • Generate tracking plan for these event candidates
  • Where should I put the tracking calls?

Good to know

  • Handles only priority-3 events unless the user explicitly asks for priority 2.
  • Uses only variables available at the insertion point and does not propose refactors.
  • Produces a plan for an engineer to implement, not the implementation itself.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/instrumentation/instrument-events/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to instrument-events

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

instrument-events: common questions

What input does instrument-events need?

It needs event_candidates YAML, which is the output of the discover-event-surfaces skill. It only uses candidates marked priority 3.

What does the output look like?

The skill returns a JSON trackingPlan. It lists each event with its properties, the file path, a code context anchor, a line number and the tracking code to insert.

How does it choose event and property names?

It invokes the discover-analytics-patterns skill and uses its event and property naming conventions. It does not define its own naming rules.

How do I install instrument-events?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is instrument-events free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is instrument-events safe to use?

It scores 50 of 100. Grades: maintenance A, licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to instrument-events?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

instrument-events Install

Add to stack

Loading.