sentry-setup-ai-monitoring

sentry-setup-ai-monitoring is a skill for Claude Code from JoaoEquer/Oficina. It costs 66 tokens per session (2,069 once invoked), scanned A, original, MIT.

A setup guide for Sentry AI Agent Monitoring, which records activity from AI models and agent workflows. It covers tracking model calls, agent runs, tool use, token consumption, response time, and costs.

In plain words
What is it for?
Use it to instrument applications using OpenAI, Anthropic, Vercel AI, LangChain, Google GenAI, or Pydantic AI, and to configure monitoring for their model calls and agents.
Why use it?
It helps developers see how AI features behave and how much they use, while warning that recording prompts and responses can capture private user data. It also calls for checking current Sentry documentation before implementation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the oficina plugin — 44 skills, 8 commands shipped together

Good fit Use it to instrument applications using OpenAI, Anthropic, Vercel AI, LangChain, Google GenAI, or Pydantic AI, and to configure monitoring for their model calls and agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joaoequer/oficina/sentry-setup-ai-monitoring
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JoaoEquer/Oficina --skill sentry-setup-ai-monitoring
Clone the repo
git clone --depth 1 https://github.com/JoaoEquer/Oficina

Made for: Claude Code.

Or install oficina, the plugin that ships this one along with the rest of its 44 skills, 8 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sentry-setup-ai-monitoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/joaoequer/oficina/sentry-setup-ai-monitoring/github.svg)](https://agentmods.dev/skills/joaoequer/oficina/sentry-setup-ai-monitoring)
Your own site
<a href="https://agentmods.dev/skills/joaoequer/oficina/sentry-setup-ai-monitoring"><img src="https://agentmods.dev/badge/skills/joaoequer/oficina/sentry-setup-ai-monitoring/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sentry-setup-ai-monitoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/joaoequer/oficina/sentry-setup-ai-monitoring"><img src="https://agentmods.dev/badge/skills/joaoequer/oficina/sentry-setup-ai-monitoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,069 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.02069
Opus 5.5 $0.00026 $0.00828
Sonnet 5.5 $0.00013 $0.00414
Haiku 4.5 $0.00007 $0.00207

Measured 10d ago against content hash 0d25b857a96e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sentry-setup-ai-monitoring scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sentry-setup-ai-monitoring/SKILL.md · 240 lines

How it starts

The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup Sentry AI Agent Monitoring

Contents

  • Invoke This Skill When
  • Prerequisites
  • Data Capture Warning
  • Detection First
  • Supported SDKs
  • JavaScript Configuration
  • Python Configuration
  • Manual Instrumentation
  • Verification
  • Troubleshooting

Configure Sentry to track LLM calls, agent executions, tool usage, and token consumption.

Invoke This Skill When

  • User asks to "monitor AI/LLM calls" or "track OpenAI/Anthropic usage"
  • User wants "AI observability" or "agent monitoring"
  • User asks about token usage, model latency, or AI costs

Important: The SDK versions, API names, and code samples below are examples. Always verify against docs.sentry.io before implementing, as APIs and minimum versions may have changed.

Prerequisites

AI monitoring requires tracing enabled (tracesSampleRate > 0).

Data Capture Warning

Prompt and output recording captures user content that is likely PII. Before enabling recordInputs/recordOutputs (JS) or include_prompts/send_default_pii (Python), confirm:

  • The application's privacy policy permits capturing user prompts and model responses
  • Captured data complies with applicable regulations (GDPR, CCPA, etc.)
  • Sentry data retention settings are appropriate for the sensitivity of the data

Ask the user whether they want prompt/output capture enabled. Do not enable it by default — configure it only when explicitly requested or confirmed. Use tracesSampleRate: 1.0 only in development; in production, use a lower value or a tracesSampler function.

Detection First

Read the full file on GitHub · 240 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed · +16 lines 0d25b857a96e
  2. 1mo ago Changed · -1 lines 764eeee1a9fe
  3. 3mo ago First seen · 225 lines · 66 tokens per session scan A 83185903952c

Subscribe to this mod's changes

sentry-setup-ai-monitoring is a skill published in the GitHub repository JoaoEquer/Oficina (2 stars, last pushed 10d ago), licensed MIT. It adds 66 tokens to every session and 2,069 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

sentry-setup-ai-monitoring compared with skills from other repositories

sentry-setup-ai-monitoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sentry-setup-ai-monitoringJoaoEquer/OficinaSkill210d agoMITA66Claude Code
claude-apihashgraph-online/awesome-codex-pluginsSkill1.6kyesterdayApache-2.0A53Claude Code, Codex
upgrade-angularPhaedra-Solutions/cursor-rulesSkill41mo agoMITA105Claude Code, Codex
upgrade-expressPhaedra-Solutions/cursor-rulesSkill41mo agoMITA113Claude Code, Codex
pattern-cardchocomyong/harness-kitSkill21mo agoMITA53Claude Code, Codex
absence-checkchocomyong/harness-kitSkill21mo agoMITA52Claude Code, Codex
canon-upkeepchocomyong/harness-kitSkill21mo agoMITA52Claude Code, Codex