integrating-sentry

integrating-sentry is a skill for Claude Code, Codex from Poorgramer-Zack/dart-expert-skills. It costs 117 tokens per session (1,390 once invoked), scanned A, original, MIT.

A guide for adding Sentry to a Flutter app. Sentry is a service that records crashes, handled errors, navigation activity, and performance data so developers can investigate problems.

In plain words
What is it for?
Use it to configure crash reporting, capture exceptions, monitor screen navigation and HTTP requests, and add performance tracing with Sentry's Flutter SDK.
Why use it?
It gives you information about failures and slow operations that may not appear during local testing. It also covers limiting tracing data and avoiding exposure of personal information.

Skill for Claude CodeCodex

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

Good fit Use it to configure crash reporting, capture exceptions, monitor screen navigation and HTTP requests, and add performance tracing with Sentry's Flutter SDK.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/poorgramer-zack/dart-expert-skills/sentry-flutter
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 Poorgramer-Zack/dart-expert-skills --skill sentry-flutter
Clone the repo
git clone --depth 1 https://github.com/Poorgramer-Zack/dart-expert-skills

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 integrating-sentry

README.md
[![agentmods](https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/sentry-flutter/github.svg)](https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/sentry-flutter)
Your own site
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/sentry-flutter"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/sentry-flutter/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 integrating-sentry

Your own site · 80×15
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/sentry-flutter"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/sentry-flutter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,390 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.00117 $0.01390
Opus 5.5 $0.00047 $0.00556
Sonnet 5.5 $0.00023 $0.00278
Haiku 4.5 $0.00012 $0.00139

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

Security

Grade A, and why

integrating-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 19d 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-flutter/SKILL.md · 142 lines

How it starts

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

Sentry Flutter Integration Guide (sentry_flutter)

Goal

Implement a robust observability and performance monitoring layer using Sentry's official Flutter SDK. This skill ensures comprehensive error tracking across the UI and Network layers, alongside performance tracking (Tracing) for application navigation and HTTP requests, without exhausting Sentry data quotas or exposing PII.

Instructions

1. Core Initialization (sentry_flutter)

Version notes (sentry_flutter 10): Requires Dart 3.12+ / Flutter 3.44+, Android minSdk 26, and Swift Package Manager for Apple platforms (CocoaPods removed). SDK profiling (profilesSampleRate) was removed. Tracing defaults to streaming: use Sentry.startSpan instead of startTransaction / startChild. Logs and metrics are always enabled (enableLogs / enableMetrics removed).

You must initialize Sentry as early as possible in your application's lifecycle, wrapping runApp with SentryWidget to capture AssetBundle transaction times and basic UI interactions natively.

import 'package:flutter/widgets.dart';
import 'package:sentry_flutter/sentry_flutter.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  await SentryFlutter.init(
    (options) {
      options.dsn = '___PUBLIC_DSN___'; // Inject via --dart-define or .env
      
      // Controls the percentage of Tracing (Performance) transactions sent.
      // 1.0 = 100%. (Reduce in production to avoid quota exhaustion!)
      options.tracesSampleRate = 0.2; 
      
      // Replay sessions to visually debug errors.
      options.replay.onErrorSampleRate = 1.0; 
      options.replay.sessionSampleRate = 0.1;

      // Ensure PII (Personally Identifiable Information) isn't recklessly sent
      options.sendDefaultPii = false; 
    },
    appRunner: () => runApp(
      SentryWidget(
        child: const MyApp(),
      ),
    ),
  );
}

2. Routing Instrumentation (GoRouter)

Sentry can automatically track how long it takes to render a screen and trace the navigation paths of users. If you are using go_router (the standard Flutter routing solution), you must inject the SentryNavigatorObserver.

Read the full file on GitHub · 142 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. 19d ago Changed · -1 lines 5a93c9b57a2e
  2. 3mo ago First seen · 143 lines · 117 tokens per session scan A a7e1abf2747f

Subscribe to this mod's changes

integrating-sentry is a skill published in the GitHub repository Poorgramer-Zack/dart-expert-skills (7 stars, last pushed 20d ago), licensed MIT. It adds 117 tokens to every session and 1,390 once invoked, about $0.0005 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-31.

Related

integrating-sentry compared with skills from other repositories

integrating-sentry next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
integrating-sentryPoorgramer-Zack/dart-expert-skillsSkill720d agoMITA117Claude Code, Codex
flutter-mcp-toolkit-debugArenukvern/mcp_flutterSkill4014d agoMITA32Claude Code
gitnexus-guideArenukvern/mcp_flutterSkill4014d agoMITA56Claude Code
flutter-mcp-toolkit-inspectArenukvern/mcp_flutterSkill4014d agoMITA41Claude Code
firebase-crashlyticsevanca/flutter-ai-rulesSkill67618d agoMITA34Claude Code
flutter-mcp-toolkit-intentcall-migrationArenukvern/mcp_flutterSkill4014d agoMITA58Claude Code
flutter-errorsevanca/flutter-ai-rulesSkill67618d agoMITA34Claude Code