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.
npx skills add JoaoEquer/Oficina --skill sentry-setup-ai-monitoringgit clone --depth 1 https://github.com/JoaoEquer/OficinaWrote 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.
[](https://agentmods.dev/skills/joaoequer/oficina/sentry-setup-ai-monitoring)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
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.
- 10d ago Changed · +16 lines 0d25b857a96e
- 1mo ago Changed · -1 lines 764eeee1a9fe
- 3mo ago First seen · 225 lines · 66 tokens per session scan A 83185903952c
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.
sentry-setup-ai-monitoring compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sentry-setup-ai-monitoringJoaoEquer/Oficina | Skill | 2 | 10d ago | MIT | A | 66 | Claude Code |
| claude-apihashgraph-online/awesome-codex-plugins | Skill | 1.6k | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| upgrade-angularPhaedra-Solutions/cursor-rules | Skill | 4 | 1mo ago | MIT | A | 105 | Claude Code, Codex |
| upgrade-expressPhaedra-Solutions/cursor-rules | Skill | 4 | 1mo ago | MIT | A | 113 | Claude Code, Codex |
| pattern-cardchocomyong/harness-kit | Skill | 2 | 1mo ago | MIT | A | 53 | Claude Code, Codex |
| absence-checkchocomyong/harness-kit | Skill | 2 | 1mo ago | MIT | A | 52 | Claude Code, Codex |
| canon-upkeepchocomyong/harness-kit | Skill | 2 | 1mo ago | MIT | A | 52 | Claude Code, Codex |