push-notifications

push-notifications is a skill for Claude Code from launch52-ai/flutter-template. It costs 44 tokens per session (1,095 once invoked), scanned A, original, MIT.

A guide for adding push notifications—messages sent to a phone by an app—to Flutter apps using Firebase Cloud Messaging (FCM). It covers iOS and Android delivery, app states, and notification links.

In plain words
What is it for?
Use it to configure FCM, set up Apple's notification service, open specific app screens from notifications, subscribe users to topics, or show local notifications.
Why use it?
It helps handle the platform setup and the different ways notifications behave when an app is open, closed, or running in the background.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to configure FCM, set up Apple's notification service, open specific app screens from notifications, subscribe users to topics, or show local notifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/launch52-ai/flutter-template/push-notifications
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 launch52-ai/flutter-template --skill push-notifications
Clone the repo
git clone --depth 1 https://github.com/launch52-ai/flutter-template

Made for: Claude Code.

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 push-notifications

README.md
[![agentmods](https://agentmods.dev/badge/skills/launch52-ai/flutter-template/push-notifications/github.svg)](https://agentmods.dev/skills/launch52-ai/flutter-template/push-notifications)
Your own site
<a href="https://agentmods.dev/skills/launch52-ai/flutter-template/push-notifications"><img src="https://agentmods.dev/badge/skills/launch52-ai/flutter-template/push-notifications/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 push-notifications

Your own site · 80×15
<a href="https://agentmods.dev/skills/launch52-ai/flutter-template/push-notifications"><img src="https://agentmods.dev/badge/skills/launch52-ai/flutter-template/push-notifications.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,095 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.00044 $0.01095
Opus 5.5 $0.00018 $0.00438
Sonnet 5.5 $0.00009 $0.00219
Haiku 4.5 $0.00004 $0.00110

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

Security

Grade A, and why

push-notifications 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.

.claude/skills/push-notifications/SKILL.md · 140 lines

How it starts

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

Push Notifications - Firebase Cloud Messaging

Push notifications with FCM for iOS and Android. Handles foreground, background, and terminated app states.

When to Use This Skill

  • Adding push notifications to a Flutter app
  • Configuring Firebase Cloud Messaging
  • Setting up APNs for iOS
  • Implementing deep linking from notifications
  • User asks "add push notifications", "FCM setup", or "notification handling"

Questions to Ask

  1. Firebase project: Is Firebase already configured, or need to set up from scratch?
  2. Notification types: Marketing notifications only, or also transactional (in-app events)?
  3. Deep linking: Should notifications open specific screens?
  4. Topics: Need topic-based subscriptions (e.g., "news", "promotions")?
  5. Local notifications: Need scheduled/local notifications (non-push)?

Reference Files

reference/
├── models/           # Notification payload (Freezed)
├── services/         # FCM initialization, handlers
├── repositories/     # Domain interface + impl + mock
├── providers/        # Riverpod notifiers + state
└── failures/         # Sealed Failure types

templates/ios/        # Info.plist additions
templates/android/    # AndroidManifest, build.gradle

See: implementation-guide.md for complete setup.

Workflow

Phase 1: Firebase Setup

  1. Create Firebase project (if needed)
  2. Add iOS app with APNs key (see firebase-setup-guide.md)
  3. Add Android app with SHA-1 fingerprints
  4. Download config files (GoogleService-Info.plist, google-services.json)

Phase 2: Platform Config

  1. iOS: Add Push Notification capability, Background Modes
  2. Android: Add FCM dependencies and manifest entries
  3. Add config files to project

Phase 3: Implementation

  1. Copy reference files to project
  2. Initialize FCM in main.dart
  3. Implement token registration with backend
  4. Add notification handlers (foreground/background/terminated)
  5. Configure deep linking (optional)

Core API

Read the full file on GitHub · 140 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. 1mo ago First seen · 140 lines · 44 tokens per session scan A 0a8c710f6a3a

Subscribe to this mod's changes

push-notifications is a skill published in the GitHub repository launch52-ai/flutter-template (2 stars, last pushed 7mo ago), licensed MIT. It adds 44 tokens to every session and 1,095 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-08-31.

Related

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.

kriasoft/react-starter-kit · 49 tokens

firebase-messaging

Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).

evanca/flutter-ai-rules · 35 tokens

generate-images-with-firebase-ai

Use when generating or editing images from Flutter/Dart with Firebase AI Logic and a Gemini image model (Nano Banana), making the first call work, choosing Gemini Developer API vs Vertex AI, hitting quota, billing or App Check failures, getting empty or image-only responses, sending a user photo as input, controlling…

evanca/flutter-ai-rules · 84 tokens

firebase-database

Use when syncing real-time data, structuring JSON trees, reading/writing, creating listeners, enabling offline persistence, managing presence, sharding, or writing security rules.

evanca/flutter-ai-rules · 38 tokens

flutter-app-architecture

Use when scaffolding a project, refactoring into layers, creating view models/repositories, configuring dependency injection, or implementing unidirectional data flow (MVVM).

evanca/flutter-ai-rules · 38 tokens

riverpod

Use when setting up providers, combining requests, managing state disposal, passing arguments, performing side effects, or testing providers (Riverpod).

evanca/flutter-ai-rules · 30 tokens