Official agent skill

Analytics

by getsentry in getsentry/sentry

Instrument and discover analytics events in Sentry's frontend UI.

OfficialCustom licenceAuto-check passedFrontend & Design

Install Analytics

skills CLI
$ npx skills add getsentry/sentry --skill analytics -a claude-code

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

GitHub CLI
$ gh skill install getsentry/sentry analytics --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/getsentry/sentry.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/analytics .claude/skills/analytics && 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
analytics
GitHub stars
45k
Token cost
~2.5k tokens
SKILL.md length
863 words
Files
6 (incl. references)
Skills in repo
29
Repo updated
First seen
Licence
Custom licence

At a glance

Instrument and discover analytics events in Sentry's frontend UI.

  • Works in 3 steps: Find the event: search Amplitude first… → If the Amplitude MCP is connected, query… → If no matching event exists, tell the…
  • Adding tracking to buttons
  • SKILL.md covers Answering "How Many People Do…, Before Any Change: Search First, Event Naming Rules and Choose the Right Tracking…, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Analytics is an agent skill from getsentry/sentry, published by the product's own GitHub organization. Instrument and discover analytics events in Sentry's frontend UI. Use when adding tracking to buttons, pages, modals, or custom interactions, when defining new analytics events, when searching for existing events, when auditing analytics coverage for a feature, or when answering questions about how users interact with a feature. Trigger on "add analytics", "track event", "instrument analytics", "analytics event", "track click", "track page view", "add tracking", "what events exist for", "audit analytics", "how…

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `SPEC.md`, `references/amplitude-mcp.md` and `references/event-definitions.md`).

It sits in Frontend & Design, covering Frontend development. It works with Sentry. The repository describes itself as: Developer-first error tracking and performance monitoring.

When your agent uses it

  • Adding tracking to buttons
  • Custom interactions
  • Defining new analytics events
  • Searching for existing events

Example prompts

  • “add analytics”
  • “track event”
  • “instrument analytics”
  • “/analytics”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Find the event: search Amplitude first (fastest), fall back to grepping the codebase.
  2. If the Amplitude MCP is connected, query the data directly and report results.
  3. If no matching event exists, tell the user the event is not tracked — then use AskUserQuestion to ask whether they want to instrument it…

What it can do on your machine

Read from SKILL.md and the folder at commit 87d1203. 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

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

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

  • Network

    No URLs in SKILL.md.

    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

Analytics loads about 2.5k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 157 tokens; SKILL.md has 863 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~157
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.7k

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 863 words (~2,527 tokens).

“Add analytics events to Sentry's frontend UI using established patterns.”

— opening of SKILL.md by getsentry, Custom licence
name
analytics

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in .agents/skills/analytics of getsentry/sentry.

  • SKILL.md
  • SPEC.md
  • references/amplitude-mcp.md
  • references/event-definitions.md
  • references/tracking-patterns.md
  • references/troubleshooting.md

Open the folder on GitHubat commit 87d1203

Compare with similar skills

Analytics 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.

Analytics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Analytics this skillgetsentry/sentry45k—~2.5kAutomated safety check: PassCustom licence
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
React UI State PatternsChrisWiles/claude-code-showcase6.1k7 repos~1.6kAutomated safety check: PassNone
GSAP in Vue, Nuxt and Sveltegreensock/gsap-skills16k4 repos~2.6kAutomated safety check: PassMIT
Svelte Core Best Practicesrilldata/rill2.9k4 repos~1.8kAutomated safety check: PassApache-2.0
Vuetify Playgroundvuetifyjs/vuetify41k—~730Automated safety check: PassCustom licence

Similar skills

  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • React UI State Patterns

    ChrisWiles/claude-code-showcase

    Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.

    6.1k GitHub starsUsed in 7 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • GSAP in Vue, Nuxt and Svelte

    greensock/gsap-skills

    Shows how to use GSAP in Vue, Nuxt, Svelte and other lifecycle-based frameworks: create after mount, scope selectors to the component, and revert on unmount.

    16k GitHub starsUsed in 4 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Rules for writing idiomatic Svelte 5 code: when to reach for runes like state, derived and effect, and how to handle props, attachments and bindings.

    2.9k GitHub starsUsed in 4 repos~1.8k tokens
    Frontend & DesignAuto-check passed
  • Vuetify Playground

    vuetifyjs/vuetify

    Maintains the Vuetify repo's local Playground.vue so contributors get a realistic reproduction and a short demo they can paste into a pull request description.

    41k GitHub stars~730 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Starts the right Tabler dev server, keeps it from clashing with builds and verifies changes in the browser before a page or component is handed back.

    42k GitHub stars~1.2k tokensUpdated today
    Frontend & DesignAuto-check passed

More from getsentry/sentry

All 29 skills in this repo
  • Scraps Review

    getsentry/sentry

    Official

    Filter large Sentry Scraps design-system migration PRs for review by separating mechanical import-path changes, generated baseline updates, snapshot mocks, and pure renames from substantive…

    45k GitHub stars~1.2k tokensUpdated today
    Auto-check: notes
  • Hybrid Cloud Outboxes

    getsentry/sentry

    Official

    Guide for creating and maintaining outbox-based eventually consistent operations in Sentry.

    45k GitHub stars~4.8k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Rpc

    getsentry/sentry

    Official

    Guide for creating, updating, and deprecating hybrid cloud RPC services in Sentry.

    45k GitHub stars~4k tokensUpdated today
    Auto-check passed
  • Hybrid Cloud Test Gen

    getsentry/sentry

    Official

    Generate hybrid cloud tests for the Sentry codebase. An agent skill from getsentry/sentry.

    45k GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Lint Fix

    getsentry/sentry

    Official

    Fix violations of an eslintPluginScraps rule across the codebase.

    45k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Lint New

    getsentry/sentry

    Official

    Create a new ESLint rule with tests for eslintPluginScraps. An agent skill from getsentry/sentry.

    45k GitHub stars~1.8k tokensUpdated today
    Auto-check passed

Works with

Questions about Analytics

What does Analytics do?

Instrument and discover analytics events in Sentry's frontend UI. Analytics is an agent skill from getsentry/sentry, published by the product's own GitHub organization. Instrument and discover analytics events in Sentry's frontend UI.

When should I use Analytics?

Analytics fits situations like: adding tracking to buttons; custom interactions; defining new analytics events; searching for existing events.

How do I install Analytics in Claude Code?

Run `npx skills add getsentry/sentry --skill analytics -a claude-code`. Or copy the skill folder (.agents/skills/analytics in getsentry/sentry) into .claude/skills/analytics in your project. Claude Code loads it when a task matches its description.

How do I install Analytics in Codex?

Run `npx skills add getsentry/sentry --skill analytics -a codex`. Or copy the skill folder (.agents/skills/analytics in getsentry/sentry) into .agents/skills/analytics in your project. Codex loads it when a task matches its description.

Can I use Analytics 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 getsentry/sentry --skill analytics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/analytics, .gemini/skills/analytics, .github/skills/analytics and .opencode/skills/analytics in your project.

What does Analytics need to run?

SKILL.md names no scripts, command-line tools or credentials: Analytics is instructions for the agent only.

Does Analytics access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Analytics 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 Analytics use?

Analytics has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Analytics use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 4.2k tokens, read only when the agent opens those files.

What are the alternatives to Analytics?

Skills that share tags, products or a category with Analytics: React Router Development (remix-run/react-router, 57k stars), React UI State Patterns (ChrisWiles/claude-code-showcase, 6.1k stars), GSAP in Vue, Nuxt and Svelte (greensock/gsap-skills, 16k stars) and Svelte Core Best Practices (rilldata/rill, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Analytics?

getsentry (a GitHub organization, an official publisher) maintains it in getsentry/sentry, which has 45,495 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on October 7, 2026.

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