Agent skill

Instrument PR

by amplitude in amplitude/builder-skills

Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy.

No licenceAuto-check passedData & Analytics

Install Instrument PR

skills CLI
$ npx skills add amplitude/builder-skills --skill instrument-pr -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install amplitude/builder-skills instrument-pr --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/amplitude/builder-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/engineering-skills/skills/instrument-pr .claude/skills/instrument-pr && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
instrument-pr
GitHub stars
159
Token cost
~2.9k tokens
SKILL.md length
1,653 words
Files
1
Skills in repo
61
Repo updated
First seen
Licence
None found

At a glance

Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy.

  • Works in 7 steps: Understand the Change → Learn the Taxonomy → Detect the SDK and Tracking Pattern → …
  • Asked to instrument this PR
  • SKILL.md covers Core Principles, Instructions and Troubleshooting
  • Calls git

What it does

Instrument PR is an agent skill from amplitude/builder-skills. Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy. Reads the tracking plan via the Amplitude MCP server (events, properties, naming conventions), analyzes the PR diff to find the few user actions genuinely worth tracking, detects the codebase's SDK and tracking patterns, and adds instrumentation that matches both. Optionally (opt-in) stages new events and properties on an Amplitude tracking-plan branch for data-governance review. Use when asked to "instrument this…

Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Product analytics, Data governance and Pull requests. It works with Amplitude and Model Context Protocol. The repository describes itself as: Open-source AI skills for product managers — battle-tested by PMs at Amplitude.

When your agent uses it

  • Asked to instrument this PR
  • Add analytics to this change
  • Add Amplitude events
  • Instrument this feature

Example prompts

  • “instrument this PR”
  • “add analytics to this change”
  • “add tracking”
  • “/instrument-pr”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Understand the Change
  2. Learn the Taxonomy
  3. Detect the SDK and Tracking Pattern
  4. Design the Events
  5. Implement in the PR
  6. Sync the Tracking Plan (Opt-in)
  7. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 51838c2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Instrument PR loads about 2.9k tokens when it runs. Until then it costs about 167 tokens; SKILL.md has 1,653 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~167
When it runs · the whole SKILL.md, loaded when a task matches
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,653 words (~2,938 tokens).

“You are an analytics instrumentation engineer. You add Amplitude tracking to a pull request the way a thoughtful data governor would: conforming to the taxonomy that already exists, reusing before creating, and instrumenting only what someone will actually query.”

— opening of SKILL.md by amplitude
name
instrument-pr

Read the full SKILL.md on GitHub

Files

Just SKILL.md in engineering-skills/skills/instrument-pr of amplitude/builder-skills.

Open the folder on GitHubat commit 51838c2

Compare with similar skills

Instrument PR next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Instrument PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Instrument PR this skillamplitude/builder-skills159—~2.9kAutomated safety check: PassNone
Retentioneering Contributingretentioneering/retentioneering-tools927—~1.8kAutomated safety check: PassApache-2.0
Posthog Product Health Auditboardsesh/boardsesh164—~2.1kAutomated safety check: PassApache-2.0
Retentioneering Product Analyticsretentioneering/retentioneering-tools927—~1.6kAutomated safety check: PassApache-2.0
Prod TelemetryUsefulSoftwareCo/executor4.1k—~1.9kAutomated safety check: PassMIT
Segment Cdpdavila7/claude-code-templates33k2 repos~354Automated safety check: PassMIT

Similar skills

  • Retentioneering Contributing

    retentioneering/retentioneering-tools

    Help the user turn their Retentioneering ideas, friction reports, bug findings, or feature needs into high-quality upstream contributions: from capturing and validating the idea, through minimal…

    927 GitHub stars~1.8k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed
  • Posthog Product Health Audit

    boardsesh/boardsesh

    Mine Boardsesh's PostHog telemetry (error tracking, session recordings, product analytics) with a multi-agent workflow, then file verified, deduplicated, severity-labelled GitHub issues.

    164 GitHub stars~2.1k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Retentioneering Product Analytics

    retentioneering/retentioneering-tools

    Analyze event logs, clickstreams, user paths, product funnels, retention, behavioral segments, transition graphs, step matrices, sequence patterns, and customer journeys using Retentioneering.

    927 GitHub stars~1.6k tokensUpdated 3 days ago
    Data & AnalyticsAuto-check passed
  • Prod Telemetry

    UsefulSoftwareCo/executor

    Query Executor's production telemetry — Axiom traces (executor-cloud dataset), prod Postgres via PlanetScale, PostHog product analytics — through the Executor MCP.

    4.1k GitHub stars~1.9k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Segment Cdp

    davila7/claude-code-templates

    Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance…

    33k GitHub starsUsed in 2 repos~354 tokens
    Data & AnalyticsAuto-check passed
  • Datalineage Summary

    google/skills

    Official

    Summarizes data lineage graphs on Google Cloud to help users debug data quality issues and understand data provenance for BigQuery and Cloud Storage.

    21k GitHub stars~1.7k tokensUpdated today
    Data & AnalyticsAuto-check passed

More from amplitude/builder-skills

All 61 skills in this repo
  • 7 Powers Analysis

    amplitude/builder-skills

    Analyzes a business, product or feature with Hamilton Helmer's 7 Powers framework to judge competitive advantage and how long it will last.

    159 GitHub stars~1.1k tokensUpdated 2 mo ago
    Auto-check passed
  • Amplitude Custom Agent Builder

    amplitude/builder-skills

    Helps an Amplitude user design a custom agent by proposing use cases that fit their role and data, shaping a spec, and returning a Global Agent link that builds it.

    159 GitHub stars~2.5k tokensUpdated 2 mo ago
    Auto-check passed
  • Good Strategy Bad Strategy Kernel

    amplitude/builder-skills

    Evaluates or drafts a strategy using Rumelt's kernel of diagnosis, guiding policy and coherent actions, to expose goal lists posing as strategy.

    159 GitHub stars~2.2k tokensUpdated 2 mo ago
    Auto-check passed
  • High Output Management Framework

    amplitude/builder-skills

    Applies Andy Grove's High Output Management ideas to diagnose where a team loses output and to design meetings, processes and management decisions.

    159 GitHub stars~1.9k tokensUpdated 2 mo ago
    Auto-check passed
  • Playing to Win Strategy

    amplitude/builder-skills

    Walks a team through Lafley and Martin's five-choice cascade to pin down where to compete and how to win there.

    159 GitHub stars~1.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Amazon Working Backwards

    amplitude/builder-skills

    Write a PR/FAQ for a product idea using Amazon's Working Backwards process.

    159 GitHub stars~1.4k tokensUpdated 2 mo ago
    Auto-check passed

Questions about Instrument PR

What does Instrument PR do?

Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy. Instrument PR is an agent skill from amplitude/builder-skills. Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy.

When should I use Instrument PR?

Instrument PR fits situations like: asked to instrument this PR; add analytics to this change; add Amplitude events; instrument this feature.

How do I install Instrument PR in Claude Code?

Run `npx skills add amplitude/builder-skills --skill instrument-pr -a claude-code`. Or copy the skill folder (engineering-skills/skills/instrument-pr in amplitude/builder-skills) into .claude/skills/instrument-pr in your project. Claude Code loads it when a task matches its description.

How do I install Instrument PR in Codex?

Run `npx skills add amplitude/builder-skills --skill instrument-pr -a codex`. Or copy the skill folder (engineering-skills/skills/instrument-pr in amplitude/builder-skills) into .agents/skills/instrument-pr in your project. Codex loads it when a task matches its description.

Can I use Instrument PR in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add amplitude/builder-skills --skill instrument-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/instrument-pr, .gemini/skills/instrument-pr, .github/skills/instrument-pr and .opencode/skills/instrument-pr in your project.

What does Instrument PR need to run?

Going by SKILL.md and its folder, Instrument PR needs the command-line tools its instructions call (git).

Does Instrument PR access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Instrument PR safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Instrument PR use?

No licence was found for Instrument PR or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Instrument PR use?

About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Instrument PR?

Skills that share tags, products or a category with Instrument PR: Retentioneering Contributing (retentioneering/retentioneering-tools, 927 stars), Posthog Product Health Audit (boardsesh/boardsesh, 164 stars), Retentioneering Product Analytics (retentioneering/retentioneering-tools, 927 stars) and Prod Telemetry (UsefulSoftwareCo/executor, 4.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Instrument PR?

amplitude (a GitHub organization) maintains it in amplitude/builder-skills, which has 159 GitHub stars. The repository holds 61 skills in this directory. The repository was last updated on July 24, 2026.

Source: amplitude/builder-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.