Agent skill

Push Notification Setup

by secondsky in secondsky/claude-skills

Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services.

MITAuto-check passedMobile

Install Push Notification Setup

skills CLI
$ npx skills add secondsky/claude-skills --skill push-notification-setup -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install secondsky/claude-skills push-notification-setup --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/secondsky/claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/push-notification-setup/skills/push-notification-setup .claude/skills/push-notification-setup && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
push-notification-setup
GitHub stars
227
Token cost
~760 tokens
SKILL.md length
48 words
Files
1
Skills in repo
169
Repo updated
First seen
Licence
MIT

At a glance

Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services.

  • Adding notification capabilities
  • SKILL.md covers Firebase Cloud Messaging…, iOS Native (Swift), Android (Kotlin) and Best Practices
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Handling background messages

What it does

Push Notification Setup is an agent skill from secondsky/claude-skills. Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Use when adding notification capabilities, handling background messages, or setting up notification channels.

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile. It works with Android, Firebase and iOS. The repository describes itself as: Production-ready skills for Claude Code CLI - Cloudflare, React, Tailwind v4, and AI integrations. The licence is MIT.

When your agent uses it

  • Adding notification capabilities
  • Handling background messages
  • Setting up notification channels

Example prompts

  • “Use the push-notification-setup skill to implement push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services”
  • “/push-notification-setup”

What it can do on your machine

Read from SKILL.md and the folder at commit 8837836. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are javascript, swift and kotlin).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Push Notification Setup loads about 760 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 48 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~760

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from secondsky/claude-skills at commit 8837836, republished under its MIT licence (© secondsky). 48 words, ~760 tokens.

Download SKILL.mdSave it as .claude/skills/push-notification-setup/SKILL.md (or your agent's skills folder).
name
push-notification-setup
description
Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Use when adding notification capabilities, handling background messages, or setting up notification channels.
metadata.keywords
push notifications, FCM, Firebase Cloud Messaging, iOS notifications, Android notifications, web notifications, React Native notifications, notification…
license
MIT

Push Notification Setup

Implement push notifications across mobile and web platforms.

Firebase Cloud Messaging (React Native)

javascript
import messaging from '@react-native-firebase/messaging';

// Request permission
async function requestPermission() {
  const status = await messaging().requestPermission();
  if (status === messaging.AuthorizationStatus.AUTHORIZED) {
    const token = await messaging().getToken();
    await sendTokenToServer(token);
  }
}

// Handle foreground messages
messaging().onMessage(async message => {
  console.log('Foreground message:', message);
  showLocalNotification(message);
});

// Handle background/quit messages
messaging().setBackgroundMessageHandler(async message => {
  console.log('Background message:', message);
});

// Handle token refresh
messaging().onTokenRefresh(token => {
  sendTokenToServer(token);
});

iOS Native (Swift)

swift
import UserNotifications

func requestAuthorization() {
    UNUserNotificationCenter.current().requestAuthorization(options: [.alert, .badge, .sound]) { granted, error in
        if granted {
            DispatchQueue.main.async {
                UIApplication.shared.registerForRemoteNotifications()
            }
        }
    }
}

func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
    let token = deviceToken.map { String(format: "%02.2hhx", $0) }.joined()
    sendTokenToServer(token)
}

Android (Kotlin)

kotlin
class MyFirebaseService : FirebaseMessagingService() {
    override fun onNewToken(token: String) {
        sendTokenToServer(token)
    }

    override fun onMessageReceived(message: RemoteMessage) {
        message.notification?.let {
            showNotification(it.title, it.body)
        }
    }

    private fun showNotification(title: String?, body: String?) {
        val channelId = "default"
        val notification = NotificationCompat.Builder(this, channelId)
            .setContentTitle(title)
            .setContentText(body)
            .setSmallIcon(R.drawable.ic_notification)
            .build()

        NotificationManagerCompat.from(this).notify(0, notification)
    }
}

Best Practices

  • Request permission at appropriate time
  • Handle token refresh
  • Support notification channels (Android)
  • Implement deep linking
  • Never send sensitive data in payload
  • Test on real devices

© secondsky, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/push-notification-setup/skills/push-notification-setup of secondsky/claude-skills.

Open the folder on GitHubat commit 8837836

Compare with similar skills

Push Notification Setup next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Push Notification Setup compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Push Notification Setup this skillsecondsky/claude-skills227—~760Automated safety check: PassMIT
Exposed MigrationGerardPaligot/Confily152—~1.3kAutomated safety check: PassApache-2.0
Kotlin LintingGerardPaligot/Confily152—~708Automated safety check: PassApache-2.0
Firebase Messagingevanca/flutter-ai-rules647—~3.2kAutomated safety check: PassMIT
Maui Push Notificationsdavidortinau/maui-skills174—~1.2kAutomated safety check: PassMIT
Cometchat Flutter V6 Pushcometchat/cometchat-skills129—~1.4kAutomated safety check: PassMIT

Similar skills

  • Exposed Migration

    GerardPaligot/Confily

    A skill your agent uses when adding, removing, or modifying columns, indexes, or tables in any Exposed table object (files under infrastructure/exposed/ ending in Table.kt).

    152 GitHub stars~1.3k tokensUpdated 10 days ago
    MobileAuto-check passed
  • Kotlin Linting

    GerardPaligot/Confily

    A skill your agent uses whenever you write or modify Kotlin files in this project.

    152 GitHub stars~708 tokensUpdated 10 days ago
    MobileAuto-check passed
  • Firebase Messaging

    evanca/flutter-ai-rules

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

    647 GitHub stars~3.2k tokensUpdated 23 days ago
    MobileAuto-check passed
  • Maui Push Notifications

    davidortinau/maui-skills

    End-to-end guide for adding push notifications to .NET MAUI apps.

    174 GitHub stars~1.2k tokensUpdated 3 mo ago
    MobileAuto-check passed
  • Cometchat Flutter V6 Push

    cometchat/cometchat-skills

    Add push notifications to a Flutter app with CometChat — FCM on Android, FCM/APNs on iOS, registered through CometChatNotifications with the Dashboard provider as the sender.

    129 GitHub stars~1.4k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Cometchat React Native Push

    cometchat/cometchat-skills

    Push notifications for CometChat in React Native — FCM on Android, APNs on iOS, registering the device token with CometChatNotifications, and why none of it can be verified without a real device.

    129 GitHub stars~1.3k tokensUpdated 2 days ago
    MobileAuto-check passed

More from secondsky/claude-skills

All 169 skills in this repo
  • Tanstack AI

    secondsky/claude-skills

    TanStack AI (alpha) provider-agnostic type-safe chat with streaming for OpenAI, Anthropic, Gemini, Ollama.

    227 GitHub starsUsed in 1 repo~3.6k tokens
    Auto-check: notes
  • Auto Animate

    secondsky/claude-skills

    AutoAnimate (@formkit/auto-animate) zero-config animations for React.

    227 GitHub stars~2.9k tokensUpdated 9 days ago
    Auto-check passed
  • Base UI React

    secondsky/claude-skills

    MUI Base UI unstyled React components with Floating UI. An agent skill from secondsky/claude-skills.

    227 GitHub stars~1.9k tokensUpdated 9 days ago
    Auto-check passed
  • Cloudflare Images

    secondsky/claude-skills

    This skill should be used when the user asks to "upload images to Cloudflare", "implement direct creator upload", "configure image transformations", "optimize WebP/AVIF", "create image variants"…

    227 GitHub stars~3.6k tokensUpdated 9 days ago
    Auto-check: notes
  • Cloudflare Nextjs

    secondsky/claude-skills

    Deploy Next.js to Cloudflare Workers via the OpenNext adapter (@opennextjs/cloudflare).

    227 GitHub stars~5.3k tokensUpdated 9 days ago
    Auto-check: notes
  • Cloudflare Sandbox

    secondsky/claude-skills

    Cloudflare Sandboxes SDK for secure code execution in Linux containers at edge.

    227 GitHub stars~4.5k tokensUpdated 9 days ago
    Auto-check passed

Categories

Questions about Push Notification Setup

What does Push Notification Setup do?

Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services. Push Notification Setup is an agent skill from secondsky/claude-skills. Implements push notifications across iOS, Android, and web using Firebase Cloud Messaging and native services.

When should I use Push Notification Setup?

Push Notification Setup fits situations like: adding notification capabilities; handling background messages; setting up notification channels.

How do I install Push Notification Setup in Claude Code?

Run `npx skills add secondsky/claude-skills --skill push-notification-setup -a claude-code`. Or copy the skill folder (plugins/push-notification-setup/skills/push-notification-setup in secondsky/claude-skills) into .claude/skills/push-notification-setup in your project. Claude Code loads it when a task matches its description.

How do I install Push Notification Setup in Codex?

Run `npx skills add secondsky/claude-skills --skill push-notification-setup -a codex`. Or copy the skill folder (plugins/push-notification-setup/skills/push-notification-setup in secondsky/claude-skills) into .agents/skills/push-notification-setup in your project. Codex loads it when a task matches its description.

Can I use Push Notification Setup in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add secondsky/claude-skills --skill push-notification-setup -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/push-notification-setup, .gemini/skills/push-notification-setup, .github/skills/push-notification-setup and .opencode/skills/push-notification-setup in your project.

What does Push Notification Setup need to run?

SKILL.md names no scripts, command-line tools or credentials: Push Notification Setup is instructions for the agent only.

Does Push Notification Setup access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Push Notification Setup safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Push Notification Setup use?

Push Notification Setup is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Push Notification Setup use?

About 760 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Push Notification Setup?

Skills that share tags, products or a category with Push Notification Setup: Exposed Migration (GerardPaligot/Confily, 152 stars), Kotlin Linting (GerardPaligot/Confily, 152 stars), Firebase Messaging (evanca/flutter-ai-rules, 647 stars) and Maui Push Notifications (davidortinau/maui-skills, 174 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Push Notification Setup?

secondsky (a GitHub user) maintains it in secondsky/claude-skills, which has 227 GitHub stars. The repository holds 169 skills in this directory. The repository was last updated on September 28, 2026.

Source: secondsky/claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.