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

discover-analytics-patterns

Skill by amplitude

Finds how analytics tracking calls are written in a codebase. Helps engineers add new events that match the existing instrumentation style.

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

Install discover-analytics-patterns

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/discover-analytics-patterns ~/.claude/skills/discover-analytics-patterns

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

Step-by-step: install discover-analytics-patterns in Claude Code

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

About

Discover analytics patterns is an agent skill that searches a codebase for the concrete calls used to send analytics events. It looks for SDK calls, function signatures, import patterns, and custom wrappers such as trackEvent() or useAnalytics(). It groups matching call sites into unique patterns and shows generalized examples with the file paths where each pattern appears.

The skill also infers the dominant event and property naming conventions. It prefers Amplitude MCP data when connected, then real call sites in the repository, then the taxonomy skill. It is meant to run before writing analytics instrumentation code, including when the instrument-events or discover-event-surfaces skills run. It is for engineers who need new tracking to match the existing style of a project.

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

What it can do

  • Find tracking callsLocates analytics calls using the Amplitude MCP tools or Grep searches on the codebase.
  • Group by patternDeduplicates call sites that share the same library, method name and argument structure.
  • Document wrappersTreats custom analytics wrappers and hooks as separate patterns and notes what they wrap.
  • Resolve naming conventionsReports dominant event and property naming conventions and says when evidence is unclear.
  • Output pattern sectionsLists each pattern with a generalized example, description and relevant file paths.

What you need

  • Access to the codebase to search with Grep
  • Amplitude MCP server (optional, used first when connected)

Try asking

  • How do we track events here? Show me the analytics setup.
  • What's the analytics pattern in this codebase?
  • Find the analytics patterns before I add new event tracking.

Good to know

  • Excludes test and mock files unless they are the only place a pattern appears.
  • Ignores bracket-prefixed Amplitude system event and property names when inferring naming.
  • Reports when no tracking calls are found and does not guess conventions.

Security check

A

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

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

Alternatives to discover-analytics-patterns

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

discover-analytics-patterns: common questions

Does this skill write analytics code?

The source describes it as a discovery step. It finds existing patterns so new instrumentation can match them, and it says to use it before writing any analytics instrumentation code.

What happens if the codebase has no analytics calls?

The skill says so clearly and suggests checking whether Amplitude or another analytics library is set up. It also offers to search for libraries such as Segment, Mixpanel and PostHog.

Where do the naming conventions come from?

It uses Amplitude MCP data first, then real tracking call sites in the codebase, then the taxonomy skill. If the evidence is unclear, it says so.

How do I install discover-analytics-patterns?

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

Is discover-analytics-patterns free?

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

Is discover-analytics-patterns 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 discover-analytics-patterns?

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

discover-analytics-patterns Install

Add to stack

Loading.