Agent skill · Audited from source
Analytics
skill · getsentry/sentryNOASSERTION licenceAudited 29 Sep 2026 · source 42a3375c14f5
Is it safe? With care — CAUTION, grade B (89/100). We read this skill's source at commit 42a3375c14f5 and found no filesystem, network or shell access and no hard-coded secrets. The audit raised 2 findings, 0 critical or high. What it does: 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…
Cite
Cite this page
ModelsAtlas. “Analytics (getsentry/sentry)”. Retrieved 29 Sep 2026. https://modelsatlas.com/skills/getsentry/analytics
3 skills are called “Analytics”. You are viewing getsentry/sentry.
- getsentry/sentry★ 45k!CAUTION
- coreyhaines31/marketingskills★ 57k✓SAFE
- Kaelio/ktx★ 1.6k✓SAFE
Trust audit
Audit 0.4.1 · source read 29 Sep 2026
CAUTION means the audit found things worth knowing before you trust this skill. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | WARN | 2 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (2)
MEDIUMInventory / provenanceinv.symlink · .claude/skills
.claude/skills
- Why
- link not followed
- Fix
- —
MEDIUMInventory / provenanceinv.symlink · api-docs/.node-version
api-docs/.node-version
- Why
- link not followed
- Fix
- —
Audit 0.4.1 · source sha 42a3375c14f5 · 29 Sep 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishergetsentry GitHub organizationOwner of the repository this skill is read from
- Source foldergetsentry/sentry/.agents/skills/analyticsThe exact folder we audited
- LicenceNOASSERTIONAs the repository states it
- Commit pinned for this verdict42a3375c14f5A new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: 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…
---
name: analytics
description: 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 many people", "how many users", "are people using", "is anyone clicking", "usage of", "who is using".
---
# Analytics Instrumentation
Add analytics events to Sentry's frontend UI using established patterns.
## Answering "How Many People Do X?"
When the user asks about usage, adoption, or interaction counts for a feature:
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. Do not proceed to instrumentation without explicit confirmation.
Read `references/amplitude-mcp.md` for the full discovery and querying workflow.
## Before Any Change: Search First
**NEVER create a new event without checking if one already exists.**
1. Search `static/app/utils/analytics/` for events matching the feature domain.
2. Grep for keywords related to the interaction (e.g., `clicked`, `viewed`, `created`).
3. If a matching event exists, reuse it — add parameters if needed rather than creating a duplicate.
```bash
grep -rn "keyword" static/app/utils/analytics/ --include="*.tsx"
```
## Event Naming Rules
| Rule | Example |
| -------------------------------------------- | ---------------------------------------------------------------------- |
| Use `snake_case` with dots as separators | `feedback.list-item-selected` |
| First segment = feature domain | `dashboards2.`, `issue_details.`, `feedback.` |
| Middle segments = section/context (optional) | `dashboards2.edit.` |
| Last segment = action | `.clicked`, `.viewed`, `.created`, `.changed` |
| Match the existing domain file's prefix | If events are in `feedbackAnalyticsEvents.tsx`, use `feedback.` prefix |
**Standard action suffixes:**
| User action | Suffix |
| --------------------- | -------------------------- |
| Clicks a button/link | `.clicked` or `_clicked` |
| Views a page | `.viewed` |
| Submits a form | `.submitted` or `.created` |
| Changes a setting | `.changed` |
| Renders/loads content | `.rendered` or `.loaded` |
| Dismisses UI | `.dismissed` |
| Opens a modal/panel | `.opened` |
## Choose the Right Tracking Pattern
| What to track | Pattern | Open reference |
| ----------------------------------------- | ------------------------------- | ------------------------------------------------ |
| Page view on route navigation | Route analytics hooks | `references/tracking-patterns.md` § Route-Level |
| Button or link click | Button `analyticsEventKey` prop | `references/tracking-patterns.md` § Button |
| Custom interaction (toggle, drag, select) | `trackAnalytics()` call | `references/tracking-patterns.md` § Manual |
| Modal or panel open/close | `trackAnalytics()` in handler | `references/tracking-patterns.md` § Manual |
| UI area context for events | `AnalyticsArea` wrapper | `references/tracking-patterns.md` § Area Context |
## When You Need to Define a New Event
Read `references/event-definitions.md` for step-by-step instructions.
## Common Mistakes and Debugging
Read `references/troubleshooting.md` when:
- An event isn't firing or appearing in Amplitude
- You see TypeScript errors when calling `trackAnalytics`
- You need to debug analytics locally
- You're unsure whether an event needs an Amplitude name
## Key Files
| File | Purpose |
| ----------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `static/app/utils/analytics.tsx` | Master registry — all event maps merged, `trackAnalytics` export |
| `static/app/utils/analytics/{domain}AnalyticsEvents.tsx` | Domain-specific event type definitions and name maps |
| `static/app/utils/analytics/makeAnalyticsFunction.tsx` | Factory that creates typed `trackAnalytics` — do not call directly |
| `static/app/utils/routeAnalytics/useRouteAnalyticsEventNames.tsx` | Hook for route-level page view event names |
| `static/app/utils/routeAnalytics/useRouteAnalyticsParams.tsx` | Hook for route-level page view parameters |
| `static/app/components/analyticsArea.tsx` | `AnalyticsArea` component and `useAnalyticsArea` hook |
| `static/app/components/core/button/types.tsx` | Button analytics props (`analyticsEventKey`, `analyticsEventName`, `analyticsParams`) |
## Interaction RExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 42a3375
git clone https://github.com/getsentry/sentry git -C sentry checkout 42a3375c14f5
The author documents no install command, so this uses the repository directly. Our verdict covers commit 42a3375c14f5 only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| Claude Code | Mentioned in its text, not tested | Skills for Claude Code · About Claude Code |
Audit history
Every audit, every source change
- !CAUTION B 89 / 100
first audit · source
42a3375c14f5
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/getsentry/analytics/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All devops & cloud skills →getsentry/sentry
Reference and active migration guide for Sentry's cell architecture. Explains what cells and localities are and why they're different, how requests reach cells via Synapse API routing, ingestion routing, and the control…
getsentry/sentry
Guide for adding new actions to Sentry's Command+K palette. Use when implementing new cmdk actions, registering page-level or global actions, building async resource pickers, or adding contextual actions to a view.
getsentry/sentry
Guide for using Sentry's layout and text primitives. Use when implementing UI components, layouts, or typography. Enforces use of core components over styled components.
getsentry/sentry
Design Django ORM models for Sentry following architectural conventions for silos, replication, relocation, and foreign keys. Use when adding a new Django model, designing a model for a feature, deciding where data…
getsentry/sentry
Guide for creating forms using Sentry's new form system. Use when implementing forms, form fields, validation, or auto-save functionality.
getsentry/sentry
Generate or review Django database migrations for Sentry. Use when creating or reviewing migrations and data migrations, adding/removing columns or tables, adding indexes, or resolving migration conflicts.
Add this badge to your README
[](https://modelsatlas.com/skills/getsentry/analytics/)
<a href="https://modelsatlas.com/skills/getsentry/analytics/"><img src="https://modelsatlas.com/skills/getsentry/analytics/badge.svg" alt="ModelsAtlas: CAUTION B"></a>
Questions about Analytics
What does the Analytics skill do?
Is Analytics safe to install?
What can Analytics access on my machine?
Which assistants does Analytics work with?
How current is this page?
Sources
- github.com/getsentry/sentry/tree/master/.agents/skills/analytics — the audited source at commit 42a3375c14f5 and every finding aboveObserved · 29 Sep 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Analytics skill do?
- Is Analytics safe to install?
- What can Analytics access on my machine?