Sentry Instrumentation
Rules and examples for adding Sentry instrumentation the right way — metrics and tracing. Covers how to name a counter, gauge, or duration metric; which tags are safe versus which will blow up your Sentry bill; how to track failures with a small fixed list of error types instead of raw exception strings; how to add metrics around HTTP routes, external API calls, workflow steps, retry loops, and fallback paths without copy-pasting emit calls everywhere; and how to instrument AI agent conversations with `gen_ai.*` spans (invoke_agent / chat / execute_tool, conversation ids, token accounting) for
Install
npx skills add tortastudios/sentry-instrumentation --skill sentry-instrumentationgit clone --depth 1 https://github.com/tortastudios/sentry-instrumentation.git /tmp/sentry-instrumentation
mkdir -p ~/.claude/skills
cp -r /tmp/sentry-instrumentation/. ~/.claude/skills/sentry-instrumentationPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Sentry Instrumentation Two surfaces: **system metrics** (counter / gauge / distribution, duration, failure, resource) and **tracing** (currently the `gen_ai.*` spans for AI agent conversations — see rule 7). Product-analytics events (clicks, funnels, flag exposure) belong in your product-analytics tool — never in Sentry. Python under `examples/python/` is the canonical reference; other languages port the same shapes under idiomatic names. Do not invoke for product-analytics changes. Stop and use the right tool. ## Decision rules 1. **New metric?** Read `references/signal-model.md` and pick a classmethod constructor (`MetricDef.counter|latency|gauge|resource|failure_counter`). Register in the project's metric registry. **Never** call an emission helper with a raw string or a dynamically-assembled name. 2. **Tag values?** Either enumerate them in `MetricDef.tag_constraints` or route through a bucket function from `references/tagging-and-cardinality.md`. 3. **Inside a loop?** Use `AggregatingCounter` or `DurationAccumulator` (see `references/cost-model.md`). If the metric's `loop_policy` is `"forbidden"` the CI gate refuses any emission inside a `for`/`while` body for that metric. 4. **New surface (HTTP route / external API / workflow step / retry / fallback)?** Use the matching reusable pattern from `references/surface-patterns.md`. Don't hand-roll the emissions.
Details
- Skill name
sentry-instrumentation- Repository
- tortastudios/sentry-instrumentation
- License
- MIT
- Repo updated
- 19 June 2026
FAQ
What does the Sentry Instrumentation skill do?
Rules and examples for adding Sentry instrumentation the right way — metrics and tracing. Covers how to name a counter, gauge, or duration metric; which tags are safe versus which will blow up your Sentry bill; how to track failures with a small fixed list of error types instead of raw exception strings; how to add metrics around HTTP routes, external API calls, workflow steps, retry loops, and fallback paths without copy-pasting emit calls everywhere; and how to instrument AI agent conversations with `gen_ai.*` spans (invoke_agent / chat / execute_tool, conversation ids, token accounting) for
How do I install the Sentry Instrumentation skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add tortastudios/sentry-instrumentation --skill sentry-instrumentation. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Sentry Instrumentation popular?
It lives in tortastudios/sentry-instrumentation, which has 24 GitHub stars and 1 forks.
Related skills
AI Draw
23stone-yu/ai-draw-skill
单一 Skill 整合 PPT 演讲稿生成(36 主题 / 31 布局 / 27 动画 / 20 特效 / 15 全 deck 模板)与画图能力(7 种类型 × 8 主题)。两个平等的顶级模式:`--mode ppt` 输出可分享的演讲 HTML;`--mode single` / `--mode site` 输出技术图。`/ai-draw <需求>` 自动识别意图,模糊时询问。Trigger keywords (中+EN):画 / 画图 / 画一个 / 给我画 / 帮我画 / draw / diagram / chart / 架构图 / 流程图 / 时序图 / 知识图谱 / 思维导图 / 类图 / ER 图 / 演讲 / 分享 / 分享稿 / 讲稿 / 逐字稿 / PPT / deck / slides / keynote / 幻灯片 / pitch / 周报 / 课程 / 课件 / 小红书图文 / talk / presentation.
Persona Compass
20snowyowlmia/persona-compass
Build personality models of colleagues, clients, friends, or family members and get AI-powered communication strategies. Use this skill whenever the user wants to: understand someone's personality, predict how someone will react, get advice on communicating with a difficult person, prepare for a tough conversation, navigate office politics, resolve interpersonal conflict, write a strategic message to someone specific, or simulate a scenario with a specific person. Also trigger when the user mentions: "how do I deal with", "how should I talk to", "what would X do if", "help me communicate with"
AI News Skill
22frankzch/ai-news-skill
Fetch the latest AI/ML news, trending open-source projects, social media discussions, and KOL (Key Opinion Leader) perspectives from 370+ curated sources. Use when the user asks about recent AI news, AI trends, what's happening in machine learning, open-source AI projects, AI Twitter/Reddit discussions, or wants a daily AI briefing.
Wiki
23cclank/lanshu-wiki-skill
LLM 维护的持久化 Markdown 知识库 —— 既可用作个人知识库(~/wiki/), 也可用于给开源项目做架构 wiki(<repo>-wiki/)。 触发场景:用户说 "wiki"、"/wiki"、"添加到wiki"、"ingest"、"wiki lint"、 "wiki add"、"wiki query"、"wiki status"、"添加到知识库"、"导入这篇文章"、 "收藏这个"、"记到wiki里"、"建一个 wiki"、"给 X 做架构 wiki"。
Charakuru Claude Code
22kokushin/charakuru-claude-code
きゃらくる(Charakuru)キットを Claude Code で動かし、元絵(四面図)から Codex の画像生成と Tripo Studio で3D化して、揺れもの・表情付きの VRM モデルを仕上げるまでの制作ワークフローと落とし穴集。きゃらくる / Charakuru / .charakit(旧名 Chara Kit / ELYTH Avatar Kit)が話題に出たとき、きゃらくるのアプリが出した依頼文(agent-session.mjs begin …)を受け取ったとき、またはきゃらくるで元絵から VRM を作る・Tripo で3D化する・揺れものや表情を付ける作業をするときに使う。
Wecom Agent
18freanocank/wecom-agent
Use when 处理企业微信/企微/wecom 任务,包括本地聊天记录解密读取、离线搜索导出、媒体/文档定位,以及通过 WecomTeam 官方 CLI/Bot 能力发消息、查通讯录、读写文档、表格、日程、会议、待办。
Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.