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 agentmods add skills/launch52-ai/flutter-template/analyticsnpx skills add launch52-ai/flutter-template --skill analyticsgit clone --depth 1 https://github.com/launch52-ai/flutter-templateWhat 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 | $0.00055 | $0.01379 |
| Opus 5 | $0.00028 | $0.00690 |
| Sonnet 5 | $0.00011 | $0.00276 |
| Haiku 4.5 | $0.00006 | $0.00138 |
Grade A, and why
analytics 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 yesterday.
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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Analytics & Crash Reporting
Track user behavior, monitor app health, and debug production issues. Supports multiple providers with a plug-and-play architecture.
When to Use This Skill
- Adding analytics to a Flutter app
- Setting up crash/error reporting
- Implementing custom event tracking
- Switching analytics providers
- User asks "add analytics", "track events", "crash reporting", "Sentry", or "PostHog"
Questions to Ask
- Analytics provider: Firebase Analytics (default), PostHog, or Mixpanel?
- Error tracking provider: Firebase Crashlytics (default) or Sentry?
- Analytics scope: Full analytics (events + properties + screens) or just crash reporting?
- Custom events: What key user actions need tracking? (purchases, signups, feature usage)
- Privacy: GDPR/CCPA compliance needed? User consent flow required?
Provider Quick Reference
| Need | Recommended | Why |
|---|---|---|
| Just get started | Firebase | Free, easy setup |
| Better product analytics | PostHog | Funnels, retention, session replay |
| Better error tracking | Sentry | Superior debugging |
| Data ownership | PostHog (self-hosted) | Your servers |
See: providers-guide.md for detailed comparison.
Reference Files
reference/services/- Provider-agnostic interface + implementations (Firebase, Sentry, PostHog)reference/repositories/- Domain interface + implementationsreference/providers/- Riverpod state managementreference/failures/- Sealed Failure typesreference/utils/- Route observer, consent helpers
Workflow
Phase 1: Choose Providers
- Select analytics provider (Firebase Analytics / PostHog / Mixpanel)
- Select error tracking provider (Crashlytics / Sentry)
- Add dependencies to
pubspec.yaml
Phase 2: Platform Config
Firebase:
- Add
GoogleService-Info.plist(iOS) andgoogle-services.json(Android) - Configure dSYM upload for Crashlytics
Sentry:
- Get DSN from Sentry dashboard
- Configure sentry-cli for dSYM upload
What ships with it
19 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- checklist.md 4.2 KB
- firebase-setup-guide.md 5.9 KB
- implementation-guide.md 12 KB
- local-setup-guide.md 3.8 KB
- providers-guide.md 7.0 KB
- reference/failures/analytics_failures.dart 1.8 KB
- reference/providers/analytics_providers.dart 4.8 KB
- reference/repositories/analytics_repository_impl.dart 4.1 KB
- reference/repositories/analytics_repository.dart 1.4 KB
- reference/repositories/mock_analytics_repository.dart 3.9 KB
- reference/services/error_tracking_service.dart 2.3 KB
- reference/services/firebase_analytics_service.dart 3.3 KB
- reference/services/firebase_crashlytics_service.dart 2.7 KB
- reference/services/posthog_analytics_service.dart 3.4 KB
- reference/services/sentry_error_tracking_service.dart 3.4 KB
- reference/utils/analytics_observer.dart 2.8 KB
- scripts/upload_dsyms_crashlytics.sh 2.3 KB runs code
- scripts/upload_dsyms_sentry.sh 2.1 KB runs code
- scripts/upload_mapping_android.sh 2.8 KB runs code
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.
- yesterday First seen · 175 lines · 55 tokens per session scan A adf14da20229
analytics is a skill published in the GitHub repository launch52-ai/flutter-template (2 stars, last pushed 6mo ago), licensed MIT. It adds 55 tokens to every session and 1,379 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
merge-seed
Merge upstream React Starter Kit updates (the seed remote) into main, preserving this project's identity, scope, and behavior. Use when asked to sync, pull, or merge the seed / starter kit / upstream template.
django-celery-expert
Expert Django Celery guidance for asynchronous task processing. Use when designing background tasks, configuring Celery workers, handling task retries and errors, optimizing Celery performance, implementing periodic tasks with Celery Beat, or setting up production monitoring for Celery. Do not use for general Django…
django-expert
Expert Django backend development guidance. Use when creating Django models, views, serializers, or APIs; debugging ORM queries or migrations; optimizing database performance; implementing authentication; writing tests; or working with Django REST Framework. Follows Django best practices and modern patterns.
shadcn
Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…
setup
Interactive project setup from the ai-project-template — replaces the static SETUPGUIDE.md with a guided, multi-step workflow.
template-guide
Navigate template conventions, audit compliance, and guide upgrades for ai-project-template repos.