sentry-monitoring

sentry-monitoring is a skill for Claude Code, Codex from monkilabs/opencastle. It costs 49 tokens per session (501 once invoked), scanned A, original, MIT.

Guidance for using Sentry, a service that collects errors and performance information from running applications. It covers setup for several app environments, tracing, source maps, session replay, and release tracking.

In plain words
What is it for?
Use it to add error reporting, trace requests across services, upload source maps, capture user or request context, and investigate production problems.
Why use it?
It helps developers find and understand failures that happen in production, where they may not be reproducible locally. Source maps and added context can make reported errors easier to connect to source code and users.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add error reporting, trace requests across services, upload source maps, capture user or request context, and investigate production problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/monkilabs/opencastle/sentry-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 monkilabs/opencastle --skill sentry-monitoring
Clone the repo
git clone --depth 1 https://github.com/monkilabs/opencastle

Made for: Claude Code, Codex.

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-monitoring

README.md
[![agentmods](https://agentmods.dev/badge/skills/monkilabs/opencastle/sentry-monitoring/github.svg)](https://agentmods.dev/skills/monkilabs/opencastle/sentry-monitoring)
Your own site
<a href="https://agentmods.dev/skills/monkilabs/opencastle/sentry-monitoring"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/sentry-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-monitoring

Your own site · 80×15
<a href="https://agentmods.dev/skills/monkilabs/opencastle/sentry-monitoring"><img src="https://agentmods.dev/badge/skills/monkilabs/opencastle/sentry-monitoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 501 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.00049 $0.00501
Opus 5.5 $0.00020 $0.00200
Sonnet 5.5 $0.00010 $0.00100
Haiku 4.5 $0.00005 $0.00050

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

Security

Grade A, and why

sentry-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 1mo 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.

src/orchestrator/plugins/sentry/skills/sentry-monitoring/SKILL.md · 28 lines

What it actually says

Sentry Monitoring

Next.js

  • Three separate init files, and the browser one is instrumentation-client.ts — not sentry.client.config.ts — alongside sentry.server.config.ts and sentry.edge.config.ts. npx @sentry/wizard@latest -i nextjs creates all three and patches next.config.ts.
  • Source maps upload only when next.config.ts is wrapped in withSentryConfig() and SENTRY_AUTH_TOKEN (plus SENTRY_ORG / SENTRY_PROJECT) is present at build time, CI included.
  • tunnelRoute: '/monitoring' proxies events through your own origin so ad-blockers stop dropping them.
  • app/global-error.tsx reports nothing by itself — call Sentry.captureException(error) inside it. Wrap server actions in Sentry.withServerActionInstrumentation('name', fn).

Node / Express

import './instrument' must come before every other import in the process. app.use(Sentry.expressErrorHandler()) must be the last error-handling middleware.

Sampling and context

  • tracesSampleRate: 1.0 dev, 0.2–0.5 low-traffic production, 0.05–0.1 high-traffic. Use tracesSampler returning 0 for /health and polling routes, ~0.5 for checkout/auth.
  • Sentry.setUser / setTag / setContext persist for the rest of the session; Sentry.withScope is one-off. Re-throw after captureException when the caller still needs the error.
  • Override issue grouping with event.fingerprint = [...] in beforeSend.
  • Core Web Vitals are captured with no config. Alert thresholds: LCP > 2.5s, CLS > 0.1, INP > 200ms.
  • The DSN is safe to expose client-side. sendDefaultPii: true captures IP, user agent, and authenticated user.

Docs: https://docs.sentry.io/

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. 1mo ago Changed · -5 tokens per session a7f616f789e8
  2. 1mo ago First seen · 28 lines · 54 tokens per session scan A f33b55cde47e

Subscribe to this mod's changes

sentry-monitoring is a skill published in the GitHub repository monkilabs/opencastle (82 stars, last pushed 10d ago), licensed MIT. It adds 49 tokens to every session and 501 once invoked, about $0.0002 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-10-04.

Related

sentry-monitoring compared with skills from other repositories

sentry-monitoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sentry-monitoringmonkilabs/opencastleSkill8210d agoMITA49Claude Code, Codex
debuggerdarrenhinde/OpenAgentsControlSkill5.0k6d agoMITA19Claude Code
code-agentinitializ/forgeSkill22310d agoApache-2.0A21Claude Code, Codex
supi-setupmrclrchtr/supiSkill106yesterdayMITA19Claude Code
jvm-diagnosticsrrezartprebreza/spring-boot-skillsSkill37013d agoMITA45Claude Code, Codex
performance-analysisautohandai/code-cliSkill2194d agoApache-2.0A59Claude Code
devexpress-xaf-performanceDevExpress/agent-skillsSkill696d agoMITA86Claude Code