[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MFB37H8W992HD6QT3EQCWE":3,"skill-same:01M6MFB37H8W992HD6QT3EQCWE":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":57,"ownerHtmlUrl":58,"ownerBlogUrl":59,"ownerDescription":60,"updatedAt":61,"install":62,"resources":75},"01M6MFB37H8W992HD6QT3EQCWE","cometchat-flutter-v6-push",null,"Add push notifications to a Flutter app with CometChat — FCM on Android, FCM\u002FAPNs on iOS, registered through CometChatNotifications with the Dashboard provider as the sender. THIN + docs-first: the Firebase setup is FETCHED from CometChat's notifications docs; this skill bakes the SDK symbols and the token lifecycle. Triggers: 'add push notifications in flutter', 'FCM push flutter', 'notify me when the app is closed', 'cometchat push flutter'.","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-flutter-v6-push\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"flutter","cometchat flutter v6 push","push","cometchat","flutter push notifications","when","push notifications","uikit","apns","triggers","firebase","lifecycle","provider","as","add","flutter app","token","dashboard","me","notifications","notify","messaging","app","2026-11-10 10:12:30",false,"---\nname: cometchat-flutter-v6-push\ndescription: \"Add push notifications to a Flutter app with CometChat — FCM on Android, FCM\u002FAPNs on iOS, registered through CometChatNotifications with the Dashboard provider as the sender. THIN + docs-first: the Firebase setup is FETCHED from CometChat's notifications docs; this skill bakes the SDK symbols and the token lifecycle. Triggers: 'add push notifications in flutter', 'FCM push flutter', 'notify me when the app is closed', 'cometchat push flutter'.\"\nlicense: \"MIT\"\ncompatibility: \"Flutter >=3.38.9; cometchat_chat_uikit ^6.2.0 (6.2.x); cometchat_sdk ^5.0.8 (ships CometChatNotifications); firebase_messaging (FCM)\"\nmetadata:\n  author: \"CometChat\"\n  version: \"1.0.0\"\n  tags: \"cometchat flutter push notifications fcm apns firebase v6\"\n---\n\n> **Ground truth — DOCS-FIRST.** Push is an EXTERNAL integration (a Firebase project, native config on both platforms, and a Dashboard provider), not a UI Kit widget. The current setup lives in **CometChat's notifications docs — FETCH them**, via `..\u002Fcometchat-flutter-v6-core\u002Freferences\u002Fdocs-map.md` → `\u002Fnotifications\u002Fpush-overview` · `\u002Fnotifications\u002Fflutter-push-notifications-android` · `\u002Fnotifications\u002Fflutter-push-notifications-ios`. (The old singular `\u002Fnotifications\u002Fflutter-push-notifications` now redirects to a legacy page — use the per-platform pages above.) This skill bakes ONLY the SDK symbols (verified vs `cometchat_sdk` 5.0.6) and the hardening deltas. **Symbols baked; the step-by-step is fetched.**\n\n## Companion skills (read first)\n- `cometchat-flutter-v6-core` — install, credentials, `init→login→render`. This skill ASSUMES it (push registers AFTER login, on the SAME SDK).\n- `cometchat-flutter-v6-events` — the listener lifecycle; a push registration is a lifecycle-bound side effect.\n\n## Use this skill when\n\"add push notifications\", \"FCM push\", \"notify me when the app is closed \u002F backgrounded\".\n\n## Build it — FETCH the docs, then apply the deltas\n1. **FETCH the setup** (source of truth): the notifications docs above. Follow their Firebase project creation, `google-services.json` \u002F `GoogleService-Info.plist` placement, the Gradle\u002FPodfile changes, and (iOS) the APNs key upload. **If the docs are wrong or missing a step, that is a DOCS gap — flag it (`RULES.md` §20), don't bake a permanent workaround.**\n2. **Dashboard prerequisite:** configure the **push provider in the CometChat Dashboard** — it is the SENDER. Note the **provider ID**; registration needs it. Without this, nothing is ever delivered no matter how correct the client is.\n3. **Install:** `flutter pub add firebase_core firebase_messaging`. `CometChatNotifications` ships with the already-installed `cometchat_sdk` — no extra CometChat package.\n\n## Baked SDK symbols (verified vs 5.0.6 — do NOT guess these)\n```dart\nimport 'package:cometchat_chat_uikit\u002Fcometchat_chat_uikit.dart';\n\n\u002F\u002F Register AFTER login, with the token you got from firebase_messaging getToken().\nFuture\u003Cvoid> registerPush(String fcmToken, String providerId) async {\n  await CometChatNotifications.registerPushToken(\n    PushPlatforms.FCM_FLUTTER_ANDROID,        \u002F\u002F FCM_FLUTTER_IOS on iOS; for a raw APNs token use APNS_FLUTTER_DEVICE \u002F APNS_FLUTTER_VOIP (there is NO plain PushPlatforms.APNS)\n    providerId: providerId,                   \u002F\u002F from the Dashboard provider you configured\n    fcmToken: fcmToken,\n    onSuccess: (res) {},\n    onError: (e) {},\n  );\n}\n\n\u002F\u002F On logout — otherwise the device keeps receiving the previous user's messages.\nFuture\u003Cvoid> unregisterPush() async {\n  await CometChatNotifications.unregisterPushToken(onSuccess: (res) {}, onError: (e) {});\n}\n```\n> `PushPlatforms` is an enum with per-platform Flutter variants — pick the one matching the running platform and the token type (`fcmToken` vs `deviceToken` vs `voipToken`). Do not pass an FCM token as a `deviceToken`.\n\n## The token lifecycle (the part docs usually under-specify)\n1. **Register AFTER `login` succeeds** — a token registered against no user goes nowhere.\n2. **Re-register on token refresh.** FCM rotates tokens; listen to `onTokenRefresh` and re-register, or delivery silently stops days later.\n3. **Unregister on logout**, before `CometChatUIKit.logout()` — otherwise the next user of that device receives the previous user's notifications. This is a privacy bug, not just a nuisance.\n4. **Ask permission at the right moment** — iOS (and Android 13+) require a runtime prompt. Request it on a deliberate user action, not at first launch, or users decline permanently.\n\n## Common pitfalls (BAKED)\n- **No Dashboard provider** → the client is perfect and nothing is delivered. Check this FIRST when debugging.\n- **Registering before login** → silence.\n- **Never re-registering on refresh** → push works for days, then stops.\n- **No unregister on logout** → the previous user's messages land on the device.\n- **Testing on a simulator** → iOS simulators cannot receive push. Use a real device.\n- **Expecting push while the app is foregrounded** — foreground messages arrive as data; you present them yourself.\n- **Assuming the web\u002Fdesktop story matches mobile** — verify before promising it.\n\n## Verify it works\nOn a REAL device: permission granted → the token registers after login (no error) → background the app → a message from another user produces a notification → tapping it opens the app → logging out stops delivery to that device. Nothing arriving with a clean client almost always means the Dashboard provider or the platform credential (APNs key \u002F `google-services.json`), not your Dart.\n> Live delivery is a **manual device check** — it cannot be automated here. Say so honestly rather than claiming verification you did not do.\n","> **Ground truth — DOCS-FIRST.** Push is an EXTERNAL integration (a Firebase project, native config on both platforms, and a Dashboard provider), not a UI Kit widget. The current setup lives in **CometChat's notifications docs — FETCH them**, via `..\u002Fcometchat-flutter-v6-core\u002Freferences\u002Fdocs-map.md` → `\u002Fnotifications\u002Fpush-overview` · `\u002Fnotifications\u002Fflutter-push-notifications-android` · `\u002Fnotifications\u002Fflutter-push-notifications-ios`. (The old singular `\u002Fnotifications\u002Fflutter-push-notifications` now redirects to a legacy page — use the per-platform pages above.) This skill bakes ONLY the SDK symbols (verified vs `cometchat_sdk` 5.0.6) and the hardening deltas. **Symbols baked; the step-by-step is fetched.**\n\n## Companion skills (read first)\n- `cometchat-flutter-v6-core` — install, credentials, `init→login→render`. This skill ASSUMES it (push registers AFTER login, on the SAME SDK).\n- `cometchat-flutter-v6-events` — the listener lifecycle; a push registration is a lifecycle-bound side effect.\n\n## Use this skill when\n\"add push notifications\", \"FCM push\", \"notify me when the app is closed \u002F backgrounded\".\n\n## Build it — FETCH the docs, then apply the deltas\n1. **FETCH the setup** (source of truth): the notifications docs above. Follow their Firebase project creation, `google-services.json` \u002F `GoogleService-Info.plist` placement, the Gradle\u002FPodfile changes, and (iOS) the APNs key upload. **If the docs are wrong or missing a step, that is a DOCS gap — flag it (`RULES.md` §20), don't bake a permanent workaround.**\n2. **Dashboard prerequisite:** configure the **push provider in the CometChat Dashboard** — it is the SENDER. Note the **provider ID**; registration needs it. Without this, nothing is ever delivered no matter how correct the client is.\n3. **Install:** `flutter pub add firebase_core firebase_messaging`. `CometChatNotifications` ships with the already-installed `cometchat_sdk` — no extra CometChat package.\n\n## Baked SDK symbols (verified vs 5.0.6 — do NOT guess these)\n```dart\nimport 'package:cometchat_chat_uikit\u002Fcometchat_chat_uikit.dart';\n\n\u002F\u002F Register AFTER login, with the token you got from firebase_messaging getToken().\nFuture\u003Cvoid> registerPush(String fcmToken, String providerId) async {\n  await CometChatNotifications.registerPushToken(\n    PushPlatforms.FCM_FLUTTER_ANDROID,        \u002F\u002F FCM_FLUTTER_IOS on iOS; for a raw APNs token use APNS_FLUTTER_DEVICE \u002F APNS_FLUTTER_VOIP (there is NO plain PushPlatforms.APNS)\n    providerId: providerId,                   \u002F\u002F from the Dashboard provider you configured\n    fcmToken: fcmToken,\n    onSuccess: (res) {},\n    onError: (e) {},\n  );\n}\n\n\u002F\u002F On logout — otherwise the device keeps receiving the previous user's messages.\nFuture\u003Cvoid> unregisterPush() async {\n  await CometChatNotifications.unregisterPushToken(onSuccess: (res) {}, onError: (e) {});\n}\n```\n> `PushPlatforms` is an enum with per-platform Flutter variants — pick the one matching the running platform and the token type (`fcmToken` vs `deviceToken` vs `voipToken`). Do not pass an FCM token as a `deviceToken`.\n\n## The token lifecycle (the part docs usually under-specify)\n1. **Register AFTER `login` succeeds** — a token registered against no user goes nowhere.\n2. **Re-register on token refresh.** FCM rotates tokens; listen to `onTokenRefresh` and re-register, or delivery silently stops days later.\n3. **Unregister on logout**, before `CometChatUIKit.logout()` — otherwise the next user of that device receives the previous user's notifications. This is a privacy bug, not just a nuisance.\n4. **Ask permission at the right moment** — iOS (and Android 13+) require a runtime prompt. Request it on a deliberate user action, not at first launch, or users decline permanently.\n\n## Common pitfalls (BAKED)\n- **No Dashboard provider** → the client is perfect and nothing is delivered. Check this FIRST when debugging.\n- **Registering before login** → silence.\n- **Never re-registering on refresh** → push works for days, then stops.\n- **No unregister on logout** → the previous user's messages land on the device.\n- **Testing on a simulator** → iOS simulators cannot receive push. Use a real device.\n- **Expecting push while the app is foregrounded** — foreground messages arrive as data; you present them yourself.\n- **Assuming the web\u002Fdesktop story matches mobile** — verify before promising it.\n\n## Verify it works\nOn a REAL device: permission granted → the token registers after login (no error) → background the app → a message from another user produces a notification → tapping it opens the app → logging out stops delivery to that device. Nothing arriving with a clean client almost always means the Dashboard provider or the platform credential (APNs key \u002F `google-services.json`), not your Dart.\n> Live delivery is a **manual device check** — it cannot be automated here. Say so honestly rather than claiming verification you did not do.\n",{"name":5,"license":15,"metadata":47,"description":7,"compatibility":51},{"tags":48,"author":49,"version":50},"cometchat flutter push notifications fcm apns firebase v6","CometChat","1.0.0","Flutter >=3.38.9; cometchat_chat_uikit ^6.2.0 (6.2.x); cometchat_sdk ^5.0.8 (ships CometChatNotifications); firebase_messaging (FCM)","main","cebc3dce495d7eb80d3b1d5841f877a4a92e162d","plugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-flutter-v6-push",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":63,"prompt":73,"zipAvailable":74},[64,67,70],{"tool":65,"command":66},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-flutter-v6-push",{"tool":68,"command":69},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-flutter-v6-push",{"tool":71,"command":72},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-flutter-v6-push","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-flutter-v6-push\u002FSKILL.md",true,[],[77,86,94,102,110,118],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":81,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":85},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":85},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":85},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":106,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":85},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":114,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":85},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":85},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]