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 znlgis/opengis-skills --skill sentrygit clone --depth 1 https://github.com/znlgis/opengis-skillsWrote 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/znlgis/opengis-skills/sentry)<a href="https://agentmods.dev/skills/znlgis/opengis-skills/sentry"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/sentry/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/znlgis/opengis-skills/sentry"><img src="https://agentmods.dev/badge/skills/znlgis/opengis-skills/sentry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00100 | $0.02545 |
| Opus 5.5 | $0.00040 | $0.01018 |
| Sonnet 5.5 | $0.00020 | $0.00509 |
| Haiku 4.5 | $0.00010 | $0.00254 |
Grade A, and why
sentry 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 today.
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 — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.
项目地址: https://github.com/getsentry/sentry-dotnet
官方文档: https://docs.sentry.io/platforms/dotnet/
NuGet: https://www.nuget.org/packages/Sentry
最新版本: Sentry / Sentry.AspNetCore 6.12.1(截至 2026-10,NuGet 实测)
许可证: MIT
概述
Sentry 是一个开源的 错误追踪与性能监控平台,.NET SDK 支持将异常、崩溃、性能指标统一上报到 Sentry 服务端(SaaS 或自托管)。
核心特性
| 特性 | 说明 |
|---|---|
| 自动异常捕获 | 集成 ASP.NET Core / MAUI / WPF / Blazor / Console |
| 性能监控 | Transaction + Span 模型,自动采集 HTTP/DB/EF Core 耗时 |
| 源码映射 | Release + Debug Files 支持,还原压缩/混淆后的堆栈 |
| Breadcrumb | 自动记录用户操作、HTTP 请求、日志等上下文 |
| Session Replay | 用户会话回放(Web 前端支持) |
| Alerting | 基于 Issue / Metric 的告警规则 |
| 自托管 | 完整的自托管部署方案(Docker/Kubernetes) |
支持的平台
| 包名 | 用途 |
|---|---|
Sentry |
核心 SDK(控制台/Worker) |
Sentry.AspNetCore |
ASP.NET Core Web API / MVC |
Sentry.Maui |
.NET MAUI 移动应用 |
Sentry.AspNetCore.Blazor.WebAssembly |
Blazor WASM |
Sentry.EntityFramework |
Entity Framework 6 集成(EF Core 查询经内置 DiagnosticSource 自动采集) |
Sentry.DiagnosticSource |
DiagnosticSource 事件采集 |
Sentry.OpenTelemetry |
OpenTelemetry 集成 |
Sentry.Profiling |
代码级性能剖析 |
环境准备
安装
方式一:dotnet CLI
# ASP.NET Core 项目
dotnet add package Sentry.AspNetCore
# 控制台 / Worker 项目
dotnet add package Sentry
# 可选集成
dotnet add package Sentry.EntityFramework # EF6(EF Core 无需此包)
dotnet add package Sentry.DiagnosticSource # HTTP / ADO.NET 自动 Span
dotnet add package Sentry.OpenTelemetry # OTel 桥接
dotnet add package Sentry.Profiling # 性能剖析
方式二:PackageReference
<ItemGroup>
<PackageReference Include="Sentry.AspNetCore" Version="6.12.1" />
</ItemGroup>
方式三:包管理器控制台
Install-Package Sentry.AspNetCore -Version 6.12.1
验证安装
dotnet list package | grep -i sentry
初始化
// ASP.NET Core (Program.cs)
builder.WebHost.UseSentry(o =>
{
o.Dsn = "https://[email protected]/0";
o.TracesSampleRate = 1.0; // 100% 性能追踪采样
o.Environment = builder.Environment.EnvironmentName;
o.Release = "[email protected]";
});
// 控制台应用
SentrySdk.Init(o =>
{
o.Dsn = "https://[email protected]/0";
o.TracesSampleRate = 0.2; // 20% 采样
});
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.
- today Changed · +23 lines · +40 tokens per session 81ecaa160fd7
- 12d ago Changed · +1 lines bce174d61433
- 13d ago Changed 09ec3b14bc75
- 1mo ago Changed · +4 lines 8dd1f1f6cfd4
- 1mo ago Changed 8b94bdd54b55
- 1mo ago Changed 5dc2261a061d
- 1mo ago First seen · 259 lines · 60 tokens per session scan A bae69a1ef42a
sentry is a skill published in the GitHub repository znlgis/opengis-skills (75 stars, last pushed today), licensed MIT. It adds 100 tokens to every session and 2,545 once invoked, about $0.0004 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-08-30.
Other skills, from other repositories
opentelemetry-net-instrumentation
Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.
safe-github-push
A workflow for safely pushing Git repositories that contain large assets or binary files to GitHub. It checks repository changes and file sizes before planning commits and pushes.
regenerate-api
Regenerate the AppointMe frontend API client (orval/TanStack Query hooks + TypeScript schemas) after the backend OpenAPI surface changes. Use this whenever backend endpoints, request/response DTOs, or other contract-affecting types are added, removed, or modified — e.g. after editing files under src/AppointMe.Api…
git-workflow
Follow this team's Git conventions for branching, commit messages, and pull requests.
verify
Build, launch, and drive the AppointMe stack to verify a change end-to-end at its runtime surface.
maintain-discatsharp
Review, modify, test, document, or release the DisCatSharp repository. Use for DisCatSharp source changes, API additions and migrations, Discord payload models, serialization, command synchronization, Gateway dispatch, REST behavior, analyzer work, multi-target testing, DocFX generation, release notes, and repository…