# add-telemetry

add-telemetry is a Claude Code skill for adding telemetry events to the Warp codebase. Runs when instrumenting new features, debugging issues, or tracking product metrics.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 720 repo stars
- Author: dominikmartn
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/dominikmartn/harp/tree/HEAD/.agents/skills/add-telemetry/SKILL.md
- Updated: 2026-11-10
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/add-telemetry

## What it does

The skill structures domain-specific Rust enums for Warp analytics instead of dumping events into a monolithic list. Each event implements `TelemetryEvent` and `TelemetryEventDesc` from `warp_core`, specifying names in the `Feature.Action.Result` format, payload serialization, and `contains_ugc` privacy flags.

Event dispatch relies on `send_telemetry_from_ctx!` or `send_telemetry_from_app_ctx!` depending on whether `ViewContext` or `AppContext` is present. Testing requires running `cargo run --features log_named_telemetry_events` to inspect dispatched events directly in console output.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill add-telemetry -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/add-telemetry/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/add-telemetry/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill add-telemetry -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/add-telemetry/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill add-telemetry -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/add-telemetry/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install dominikmartn/harp .agents/skills/add-telemetry
```

2. **Manually: put the files in place**
- File: `.github/skills/add-telemetry/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add dominikmartn/harp --skill add-telemetry -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/dominikmartn/harp --path .agents/skills/add-telemetry
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/add-telemetry/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/dominikmartn/harp/tree/HEAD/.agents/skills/add-telemetry/SKILL.md

## When to use it
- create domain-specific telemetry event enums in Rust
- implement TelemetryEvent and TelemetryEventDesc traits
- dispatch telemetry payloads via application contexts
- verify telemetry emissions locally via cargo flags

## Example prompts
- Add telemetry events for the new terminal split feature
- Implement TelemetryEvent for our antivirus scan results
- Emit a completion telemetry event from the view context

## Similar
- [telemetry-foundations](https://affpapa.org/en/nevibecode/skills/telemetry-foundations.md) — skill · ★ 1627 repo stars
- [otel-telemetry-emissions](https://affpapa.org/en/nevibecode/skills/otel-telemetry-emissions.md) — skill · ★ 126 repo stars
- [cx-telemetry-querying](https://affpapa.org/en/nevibecode/skills/cx-telemetry-querying.md) — skill · 6300 installs
- [claude-telemetry-hooks](https://affpapa.org/en/nevibecode/plugins/claude-telemetry-hooks.md) — plugin · ★ 1216 repo stars
- [telemetry](https://affpapa.org/en/nevibecode/skills/telemetry.md) — skill · 52 installs
- [purple-team-telemetry-validation-harnesses](https://affpapa.org/en/nevibecode/skills/purple-team-telemetry-validation-harnesses.md) — skill · ★ 73 repo stars

From the same set: [dominikmartn/harp](https://affpapa.org/en/nevibecode/by/dominikmartn/harp.md) — 62 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
