firebase-in-app-messaging

firebase-in-app-messaging is a skill for Claude Code from evanca/flutter-ai-rules. It costs 43 tokens per session (1,883 once invoked), scanned A, original, MIT.

A guide for using Firebase In-App Messaging in Flutter apps. These are messages shown inside an app, such as notices or prompts, rather than ordinary phone notifications.

In plain words
What is it for?
Use it to add the Firebase package, initialise it, trigger or suppress messages, support opt-in data collection, test campaigns on specific devices, and configure targeting or A/B tests.
Why use it?
It helps developers configure message delivery, privacy choices, device testing, triggers, targeting, and callbacks correctly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the flutter-ai-skills plugin — 36 skills shipped together

Good fit Use it to add the Firebase package, initialise it, trigger or suppress messages, support opt-in data collection, test campaigns on specific devices, and configure targeting or A/B tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evanca/flutter-ai-rules/firebase-in-app-messaging
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 evanca/flutter-ai-rules --skill firebase-in-app-messaging
Clone the repo
git clone --depth 1 https://github.com/evanca/flutter-ai-rules

Made for: Claude Code.

Or install flutter-ai-skills, the plugin that ships this one along with the rest of its 36 skills.

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 firebase-in-app-messaging

README.md
[![agentmods](https://agentmods.dev/badge/skills/evanca/flutter-ai-rules/firebase-in-app-messaging/github.svg)](https://agentmods.dev/skills/evanca/flutter-ai-rules/firebase-in-app-messaging)
Your own site
<a href="https://agentmods.dev/skills/evanca/flutter-ai-rules/firebase-in-app-messaging"><img src="https://agentmods.dev/badge/skills/evanca/flutter-ai-rules/firebase-in-app-messaging/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 firebase-in-app-messaging

Your own site · 80×15
<a href="https://agentmods.dev/skills/evanca/flutter-ai-rules/firebase-in-app-messaging"><img src="https://agentmods.dev/badge/skills/evanca/flutter-ai-rules/firebase-in-app-messaging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,883 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 88
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00043 $0.01883
Opus 5.5 $0.00017 $0.00753
Sonnet 5.5 $0.00009 $0.00377
Haiku 4.5 $0.00004 $0.00188

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

Security

Grade A, and why

firebase-in-app-messaging 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.

skills/firebase-in-app-messaging/SKILL.md · 203 lines

How it starts

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

Firebase In-App Messaging Skill

This skill defines how to correctly implement Firebase In-App Messaging in Flutter applications, covering setup, programmatic triggers, privacy controls, testing workflows, and campaign management.

When to Use

Use this skill when:

  • Setting up Firebase In-App Messaging in a Flutter project.
  • Triggering or suppressing in-app messages programmatically.
  • Implementing opt-in data collection for GDPR or user privacy compliance.
  • Testing campaigns with specific devices before rollout.
  • Configuring message types, targeting rules, and A/B tests.
  • Rendering campaigns with custom Flutter widgets instead of native templates.

1. Setup and Configuration

flutter pub add firebase_in_app_messaging
import 'package:firebase_in_app_messaging/firebase_in_app_messaging.dart';
  • Initialize Firebase before using any In-App Messaging features.
  • In-App Messaging retrieves messages from the server once per day by default to conserve power.

Setup Checklist

  1. Confirm Firebase.initializeApp() completes before accessing In-App Messaging.
  2. Create a test campaign in the Firebase console to verify the integration.
  3. Locate the Installation ID for device-specific testing (see Testing section).

2. Message Triggering and Display

Use Google Analytics events to trigger in-app messages without additional code. For programmatic triggering:

// Trigger a message tied to a custom event
await FirebaseInAppMessaging.instance.triggerEvent("purchase_complete");

Suppress Messages During Critical Flows

class PaymentScreen extends StatefulWidget {
  @override
  State<PaymentScreen> createState() => _PaymentScreenState();
}

class _PaymentScreenState extends State<PaymentScreen> {
  @override
  void initState() {
    super.initState();
    // Suppress messages during payment
    FirebaseInAppMessaging.instance.setMessagesSuppressed(true);
  }

  @override
  void dispose() {
    // Re-enable messages when leaving payment flow
    FirebaseInAppMessaging.instance.setMessagesSuppressed(false);
    super.dispose();
  }
}

Read the full file on GitHub · 203 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. yesterday Changed · +43 lines · +7 tokens per session f37341653bbb
  2. 2mo ago First seen · 160 lines · 36 tokens per session scan A a3939a5b738f

Subscribe to this mod's changes

firebase-in-app-messaging is a skill published in the GitHub repository evanca/flutter-ai-rules (669 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 1,883 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-30.

Related

firebase-in-app-messaging compared with skills from other repositories

firebase-in-app-messaging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
firebase-in-app-messagingevanca/flutter-ai-rulesSkill669yesterdayMITA43Claude Code
dart-expertpersonamanagmentlayer/pclSkill4411d agoApache-2.0A44Claude Code
flutter-sdk-changelogRandalSchwartz/dart-sdk-skillsSkill348d agoMITA103Claude Code, Codex
Flutter Testing PatternsPramodDutta/qaskillsSkill2453d agoMITA31Claude Code, Codex
flutterericrisco/rsc-harnessSkill5032d agoMITA91Claude Code, Codex
flutter-mcp-toolkit-controlArenukvern/mcp_flutterSkill39520d agoMITA38Claude Code
flutter-mcp-toolkit-maintain-webArenukvern/mcp_flutterSkill39520d agoMITA88Claude Code