capacitor-push-notifications

capacitor-push-notifications is a skill for Claude Code from Cap-go/capgo-skills. It costs 237 tokens per session (2,348 once invoked), scanned A, original, MIT.

A guide to sending messages to Capacitor apps through Firebase Cloud Messaging and Apple's Push Notification service. It covers setup and handling notifications inside the app.

In plain words
What is it for?
Use it to add push notifications, configure FCM and APNs, and handle notification events in a Capacitor app.
Why use it?
It removes the uncertainty around connecting the app to Apple's and Google's notification systems and responding to incoming messages.

Skill for Claude Code

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

Part of the capacitor-features plugin — 6 skills shipped together

Good fit Use it to add push notifications, configure FCM and APNs, and handle notification events in a Capacitor app.

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

Made for: Claude Code.

Or install capacitor-features, the plugin that ships this one along with the rest of its 6 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 capacitor-push-notifications

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cap-go/capgo-skills/capacitor-push-notifications"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/capacitor-push-notifications.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 237 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,348 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
  • Socket pass 11 Oct 2026
  • Snyk pass 11 Oct 2026
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.00237 $0.02348
Opus 5.5 $0.00095 $0.00939
Sonnet 5.5 $0.00047 $0.00470
Haiku 4.5 $0.00024 $0.00235

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

Security

Grade A, and why

capacitor-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.

plugins/capacitor-features/skills/capacitor-push-notifications/SKILL.md · 146 lines

How it starts

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

Push Notifications in Capacitor

When to Use

TRIGGER when:

  • Adding remote push (FCM / APNs) to a Capacitor app
  • registration / registrationError never fire, or the token works on one platform only
  • iOS token is a 64-hex APNs token but the backend expects an FCM token
  • Notifications arrive in background but not in foreground (or vice versa)
  • Android 13+ shows no prompt and nothing is delivered
  • Upgrading to Capacitor 8.5 (UIScene) or 9 (alert presentation option removed)

Do not use:

  • Opening the app from https:// / myapp:// links: capacitor-deep-linking
  • Moving AppDelegate code to SceneDelegate: capacitor-uiscene-migration
  • Device log capture: ios-android-logs
  • Choosing other native plugins: capacitor-plugins

Choose the plugin first (ask the user if unclear)

Need Plugin
Official plugin; APNs token on iOS, FCM token on Android @capacitor/push-notifications
FCM token on both platforms, topics, Firebase-first backend @capgo/capacitor-firebase-messaging
Capgo-managed delivery (dashboard campaigns, badges, silent live-update checks, no own push server) @capgo/capacitor-notifications
Local notifications only, rich layouts @capgo/capacitor-rich-notifications or @capacitor/local-notifications

The rest of this file covers @capacitor/push-notifications. For Capgo plugins follow https://capgo.app/docs/plugins/firebase-messaging/ or https://capgo.app/docs/plugins/notifications/getting-started/.

Workflow

  1. Inspect: package.json versions (@capacitor/core, @capacitor/push-notifications), capacitor.config.* plugins.PushNotifications, ios/App/App/AppDelegate.swift, ios/App/App/*.entitlements, android/app/google-services.json, android/variables.gradle, AndroidManifest.xml.
  2. Install: npm install @capacitor/push-notifications && npx cap sync.
  3. iOS: capability + APNs key + AppDelegate forwarding. Details: references/ios-setup.md.
  4. Android: google-services.json, channel, icon, permission. Details: references/android-setup.md.
  5. JS: listeners first, then permission, then register() (below).
  6. Backend: send a test message. Payload shapes: references/sending.md.
  7. Verify with the checklist below on physical devices.

Read the full file on GitHub · 146 lines

Files

What ships with it

4 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.

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 Changed · -334 lines · +183 tokens per session 3f9708f16854
  2. 3mo ago First seen · 480 lines · 54 tokens per session scan A 082cc5f6f9a7

Subscribe to this mod's changes

capacitor-push-notifications is a skill published in the GitHub repository Cap-go/capgo-skills (79 stars, last pushed 19d ago), licensed MIT. It adds 237 tokens to every session and 2,348 once invoked, about $0.0009 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

capacitor-push-notifications compared with skills from other repositories

capacitor-push-notifications next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
capacitor-push-notificationsCap-go/capgo-skillsSkill7919d agoMITA237Claude Code
loom-dartcosmix/loomSkill66yesterdayMITA16Claude Code, Codex
deploy-edge-ai-modelpjt222/agent-almanacSkill46yesterdayMITA108Claude Code
capacitor-pluginscapawesome-team/skillsSkill5612d agoMITA101Claude Code, Codex
ionic-appflow-migrationcapawesome-team/skillsSkill5612d agoMITA196Claude Code, Codex
capacitor-expertcapawesome-team/skillsSkill5612d agoMITA76Claude Code, Codex
capgo-cloud-migrationcapawesome-team/skillsSkill5612d agoMITA160Claude Code, Codex