[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MFBTW5GT31SG2K9EJ9SV2W":3,"skill-same:01M6MFBTW5GT31SG2K9EJ9SV2W":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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6MFBTW5GT31SG2K9EJ9SV2W","cometchat-ios-calls",null,"Add voice and video calling to an iOS CometChat app — call buttons, incoming\u002Fongoing call screens, call logs, and CallKit ringing. Triggers: 'add video calling ios', 'cometchat voice call swift', 'incoming call screen ios', 'call logs cometchat ios'.","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-ios-calls\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"calls","ios","cometchat ios calls","cometchat","buttons","swift","add","voice","screen","logs","add voice","calling","call","triggers","voice call","app","Video","2026-11-10 10:12:30",false,"---\nname: cometchat-ios-calls\ndescription: \"Add voice and video calling to an iOS CometChat app — call buttons, incoming\u002Fongoing call screens, call logs, and CallKit ringing. Triggers: 'add video calling ios', 'cometchat voice call swift', 'incoming call screen ios', 'call logs cometchat ios'.\"\nlicense: \"MIT\"\ncompatibility: \"CometChatUIKitSwift 5.2.3+ · CometChatCallsSDK 5.0.4+ (Up to Next Major) · iOS 15.1+\"\nmetadata:\n  author: \"CometChat\"\n  version: \"1.0.0\"\n  tags: \"cometchat ios calls voice video callkit swift v5\"\n---\n\n## Companion skills (read first)\n- `cometchat-ios-core` owns setup and the chat surface. This skill ADDS calling, and with it the `CometChatCallsSDK` package (`https:\u002F\u002Fgithub.com\u002Fcometchat\u002Fcalls-sdk-ios`, Up to Next Major from 5.0.4). The kit does not declare it (it links it optionally since 5.2.3), so this skill is where it gets added. If the project already has it, reuse that entry; never add it twice.\n\n## Use this skill when\n\"add voice\u002Fvideo calling\", \"show an incoming call screen\", \"add call history\".\n\n## Calls SDK init and login after the UI Kit login\n\n**Since 5.2.0 the kit logs the Calls SDK in for you:** `CometChatUIKit.login(uid:)` \u002F\n`login(authToken:)` call `CometChatCalls.login(authToken:)` with the chat token once the kit's own\nCalls init has finished, and logout ends that session too (5.2.3 source, `CometChatUIKit.swift`\n`loginCallsSDK` \u002F `logoutCallsSDK`). Before 5.2.0 it did not, and `CometChatCallLogs` showed\n\"Oops! Looks like something went wrong\" with an EMPTY `authToken` (measured on 5.1.19\u002F5.0.3).\n\nStill run the bootstrap below after the UI Kit login. It is now for **attribution**, not auth: the\ncore recipe's classic `CometChatUIKit(uiKitSettings:)` init makes the kit init the Calls SDK\nthrough the `CallAppSettingsBuilder` path (stamped `\"manual\"`); this `initFromSettings` call\nre-stamps the Calls SDK as `\"ai-agent\"`, and its login repeats the kit's with the same chat token. (Kit-managed\nlogin is source-verified on 5.2.3; this bootstrap was device-verified on 5.1.22.)\n\n```swift\n\u002F\u002F DEFAULT — the ai-agent \u002F telemetry-attributed init (persists integrationSource=\"ai-agent\").\n\u002F\u002F Takes NO settings argument: it reads the SAME bundled cometchat-settings.json the core skill\n\u002F\u002F already ships (Copy Bundle Resources) — do not build a second settings object.\n_ = CometChatCalls.initFromSettings(onSuccess: { _ in\n    guard let token = CometChat.getUserAuthToken() else { return }\n    CometChatCalls.login(authToken: token,\n                         onSuccess: { _ in \u002F* calls surfaces are now live *\u002F },\n                         onError:   { error in debugPrint(\"calls login:\", error.errorDescription) })\n}, onError: { error in debugPrint(\"calls init:\", error?.errorDescription ?? \"nil\") })\n```\n\n⚠️ **Init the Calls SDK via `CometChatCalls.initFromSettings`, NOT the classic\n`CometChatCalls(callsAppSettings: CallAppSettingsBuilder()...)` builder — that path attributes the app\nto `\"manual\"` and loses the ai-agent telemetry (RULES §5 \u002F AUDIT-175, the SAME rule the headless\n`cometchat-ios-v5-sdk` follows).** The builder init is the **FALLBACK ONLY**, for an app that does not\nbundle `cometchat-settings.json`:\n\n```swift\n\u002F\u002F FALLBACK — only when no cometchat-settings.json is bundled. Loses ai-agent attribution.\nlet callSettings = CallAppSettingsBuilder().set(appID: appID).set(region: region).build()\n_ = CometChatCalls(callsAppSettings: callSettings, onSuccess: { _ in \u002F* ... login as above ... *\u002F },\n                   onError: { error in debugPrint(\"calls init:\", error?.errorDescription ?? \"nil\") })\n```\n\n**Never do both** — a builder init AFTER `initFromSettings` re-attributes the app to `\"manual\"`.\n`initFromSettings` fails `SETTINGS_FILE_NOT_FOUND` if the file is not in Copy Bundle Resources — the\ncore skill already adds it for chat, so a UI-Kit app that shipped chat first already satisfies this.\n\nChat-only apps skip all of this and do not link the Calls SDK at all (5.2.3 builds and launches\nwithout it; see the core skill's install notes).\n\n## The five components\n| Component | Role |\n|---|---|\n| `CometChatCallButtons` | Voice\u002Fvideo triggers. **Has NO no-arg init — construct it as `CometChatCallButtons(width:height:)`.** `set(user:)` **or** `set(group:)`, plus `set(controller:)`. Put it in the message header's slot, not beside it. |\n| `CometChatIncomingCall` | The ringing screen. `set(call:)`, `set(onAcceptClick:)`, `set(onCancelClick:)` — **decline is `onCancelClick`, there is no `onDeclineClick`.** |\n| `CometChatOngoingCall` | The in-call surface. `set(sessionId:)` — **lowercase `d`**; `set(sessionID:)` does not compile. Also `set(callSettingsBuilder:)`, `set(callWorkFlow:)`, `set(call:)` (5.2.1+). `setOnCallEnded(onCallEnded:)` fires since 5.2.1 (with the `set(call:)` call, or a stand-in carrying the session id), but the screen then calls `self.dismiss(animated:)` itself, so present it modally; never embed it. |\n| `CometChatOutgoingCall` | The caller's ringing screen while the other side has not answered. `set(call:)`, `set(onCancelClick:)`. |\n| `CometChatCallLogs` | Call history. See the `Any` warning below — this component is the worst offender. |\n\n> **`CometChatCallLogs` callbacks are `Any`-typed — cast before touching anything.** Unlike every other list component, five of its setters hand back untyped values and will not compile if you use them directly:\n> `set(onItemClick:)` → `(_ callLog: Any)` · `set(onCallButtonClicked:)` → `(Any)` · `set(options:)` → `(_ callLog: Any)` · `set(onLoad:)` → `([Any])` · **`set(onError:)` → `(_ error: Any)`**, not `CometChatException` like everywhere else.\n> ```swift\n> logs.set(onItemClick: { callLog in\n>     guard let log = callLog as? CallLog else { return }   \u002F\u002F NOT `as? Call` — that cast FAILS at\n>     ...  \u002F\u002F runtime and makes the tap a silent no-op (measured: RUNTIME TYPE = CallLog).\n>     \u002F\u002F CallLog exposes status, type, mode, initiator, receiver — not the Call spellings\n>     \u002F\u002F (callStatus\u002FcallType\u002FcallInitiator\u002FcallReceiver). CallLog is a Calls-SDK type.\n> })\n> logs.set(onError: { error in\n>     \u002F\u002F The value is the CALLS SDK's exception type — casting to the chat SDK's\n>     \u002F\u002F CometChatException fails and prints nothing useful (measured).\n>     debugPrint((error as? CometChatCallException)?.errorDescription ?? \"\\(error)\")\n> })\n> ```\n\n> **`sessionID` vs `sessionId` — the same concept, spelled two ways.** The SDK's `Call` exposes **`sessionID`** (capital), while the kit's `CometChatOngoingCall` takes **`set(sessionId:)`** (lowercase). Reading a log and starting a call in the same function means using both spellings; neither compiles in the other's place.\n\nVoice\u002Fvideo click handlers on `CometChatCallButtons` are **properties**: `callButtons.onVoiceCallClick = { user, group in ... }`, `onVideoCallClick` likewise. And it is `set(callSettingsBuilder:)` — **plural \"Settings\"**.\n\n> **`@MainActor` if you construct these in a factory.** Inside a `UIViewController` this wiring is free (already main-actor). But if you wrap it in a standalone factory\u002Fenum\u002F`static` method, mark that context `@MainActor` — the components' setters are main-actor-isolated. **`CometChatOutgoingCall` is the strictest:** unlike `CometChatIncomingCall`\u002F`CometChatCallButtons` it carries no `@preconcurrency`, so under Swift 5 its `set(call:)`\u002F`set(onCancelClick:)` are a HARD ERROR from a nonisolated context (\"call to main actor-isolated instance method ... in a synchronous nonisolated context\"), not just a warning. (Same rule as `cometchat-ios-core`'s `@MainActor`-factory note.)\n\n```swift\n\u002F\u002F Minimum voice-video-calls wiring — all five components (inside a @MainActor context, e.g. a UIViewController)\nlet callButtons = CometChatCallButtons(width: 180, height: 40)\ncallButtons.set(user: user)          \u002F\u002F or .set(group:) for a group call\ncallButtons.set(controller: self)\ncallButtons.onVoiceCallClick = { user, group in \u002F* initiate voice call *\u002F }\ncallButtons.onVideoCallClick = { user, group in \u002F* initiate video call *\u002F }\n\n\u002F\u002F Present incoming call over any screen via a global app-level listener\nlet incoming = CometChatIncomingCall()\nincoming.set(call: incomingCall)\n\u002F\u002F accept\u002Fcancel closures are TWO-arg: (call: Call?, controller: UIViewController?). A one-arg\n\u002F\u002F `{ call in ... }` does NOT compile (\"expects 2 arguments, but 1 was used\").\nincoming.set(onAcceptClick: { call, _ in \u002F* push CometChatOngoingCall *\u002F })\nincoming.set(onCancelClick: { call, _ in self.dismiss(animated: true) })\n\nlet outgoing = CometChatOutgoingCall()\noutgoing.set(call: pendingCall)\noutgoing.set(onCancelClick: { call, _ in self.dismiss(animated: true) })\n\nlet ongoing = CometChatOngoingCall()\n\u002F\u002F `Call.sessionID` (uppercase D, SDK) is OPTIONAL (String?); `set(sessionId:)` (lowercase d, kit)\n\u002F\u002F wants a non-optional String — so GUARD it. Passing the optional directly does not compile.\nif let sid = pendingCall.sessionID { ongoing.set(sessionId: sid) }\n\nlet logs = CometChatCallLogs()\n\u002F\u002F NOTE: CometChatCallLogs has NO `set(controller:)` — present\u002Fpush it like any UIViewController\n\u002F\u002F (e.g. UINavigationController(rootViewController: logs)). Its only setters are the Any-typed\n\u002F\u002F callbacks below plus set(callRequestBuilder:).\nlogs.set(onItemClick: { callLog in guard let log = callLog as? CallLog else { return } \u002F* ... *\u002F })\n```\n\n## Incoming calls are app-level, not screen-level\nA call can arrive on any screen, so listen at the app level (`CometChatCallEventListener` \u002F `CometChatCallEvents`) and present `CometChatIncomingCall` over whatever is showing. Wiring it inside one chat screen means calls are missed everywhere else.\n\n## Permissions and background\nCamera and microphone usage descriptions in `Info.plist`, or the app crashes on first call rather than failing gracefully. Ringing while backgrounded is handled by the **`CometChatPushNotifications`** SDK — it owns CallKit + PushKit for you. **Do NOT hand-roll `PKPushRegistryDelegate` \u002F `CXProviderDelegate` or call `UIKitSettings.set(voipToken:)`** (that setter is the legacy path the current docs no longer use). Full VoIP wiring: `cometchat-ios-v5-sdk` § \"VoIP call notifications\" and `cometchat-ios-push`; needs an APNs VoIP provider in the Dashboard and a physical device.\n\n## Huddle \u002F docked call (Slack-style)\nGroup calls start, join and render through the Calls SDK into YOUR view: `references\u002Fhuddle.md` (BAKED — re-verified vs 5.2.3 + Calls 5.0.4), pattern in `cometchat-onboarding\u002Freferences\u002Fclone-mode.md` → *Huddle \u002F drop-in room pattern*.\n\n## Gotchas\n- **Simulator limits.** No camera; a WebRTC surface may behave differently than on device. Verify calling on a real device.\n- **The kit's group call button and meeting Join present `CometChatOngoingCall` full screen.** For a docked or mini call, follow `references\u002Fhuddle.md`; don't embed `CometChatOngoingCall` (it dismisses on end).\n- **Every call screen needs an exit.** Accept, decline and hang-up must all lead somewhere.\n- **Versions.** Kit Up to Next Major from 5.2.3 (it resolves the Chat SDK itself) + Calls SDK Up to Next Major from 5.0.4. Don't stop at kit 5.2.0 to 5.2.2 (launch crash without the Calls SDK) and don't hand-pin the Chat SDK.\n\n## Verify it works\nOn a device: the call button appears in the header, tapping it rings the other side, the incoming screen shows over whatever was on screen, accept connects with audio and video, hang-up releases camera and microphone, and the call appears in call logs.\n","## Companion skills (read first)\n- `cometchat-ios-core` owns setup and the chat surface. This skill ADDS calling, and with it the `CometChatCallsSDK` package (`https:\u002F\u002Fgithub.com\u002Fcometchat\u002Fcalls-sdk-ios`, Up to Next Major from 5.0.4). The kit does not declare it (it links it optionally since 5.2.3), so this skill is where it gets added. If the project already has it, reuse that entry; never add it twice.\n\n## Use this skill when\n\"add voice\u002Fvideo calling\", \"show an incoming call screen\", \"add call history\".\n\n## Calls SDK init and login after the UI Kit login\n\n**Since 5.2.0 the kit logs the Calls SDK in for you:** `CometChatUIKit.login(uid:)` \u002F\n`login(authToken:)` call `CometChatCalls.login(authToken:)` with the chat token once the kit's own\nCalls init has finished, and logout ends that session too (5.2.3 source, `CometChatUIKit.swift`\n`loginCallsSDK` \u002F `logoutCallsSDK`). Before 5.2.0 it did not, and `CometChatCallLogs` showed\n\"Oops! Looks like something went wrong\" with an EMPTY `authToken` (measured on 5.1.19\u002F5.0.3).\n\nStill run the bootstrap below after the UI Kit login. It is now for **attribution**, not auth: the\ncore recipe's classic `CometChatUIKit(uiKitSettings:)` init makes the kit init the Calls SDK\nthrough the `CallAppSettingsBuilder` path (stamped `\"manual\"`); this `initFromSettings` call\nre-stamps the Calls SDK as `\"ai-agent\"`, and its login repeats the kit's with the same chat token. (Kit-managed\nlogin is source-verified on 5.2.3; this bootstrap was device-verified on 5.1.22.)\n\n```swift\n\u002F\u002F DEFAULT — the ai-agent \u002F telemetry-attributed init (persists integrationSource=\"ai-agent\").\n\u002F\u002F Takes NO settings argument: it reads the SAME bundled cometchat-settings.json the core skill\n\u002F\u002F already ships (Copy Bundle Resources) — do not build a second settings object.\n_ = CometChatCalls.initFromSettings(onSuccess: { _ in\n    guard let token = CometChat.getUserAuthToken() else { return }\n    CometChatCalls.login(authToken: token,\n                         onSuccess: { _ in \u002F* calls surfaces are now live *\u002F },\n                         onError:   { error in debugPrint(\"calls login:\", error.errorDescription) })\n}, onError: { error in debugPrint(\"calls init:\", error?.errorDescription ?? \"nil\") })\n```\n\n⚠️ **Init the Calls SDK via `CometChatCalls.initFromSettings`, NOT the classic\n`CometChatCalls(callsAppSettings: CallAppSettingsBuilder()...)` builder — that path attributes the app\nto `\"manual\"` and loses the ai-agent telemetry (RULES §5 \u002F AUDIT-175, the SAME rule the headless\n`cometchat-ios-v5-sdk` follows).** The builder init is the **FALLBACK ONLY**, for an app that does not\nbundle `cometchat-settings.json`:\n\n```swift\n\u002F\u002F FALLBACK — only when no cometchat-settings.json is bundled. Loses ai-agent attribution.\nlet callSettings = CallAppSettingsBuilder().set(appID: appID).set(region: region).build()\n_ = CometChatCalls(callsAppSettings: callSettings, onSuccess: { _ in \u002F* ... login as above ... *\u002F },\n                   onError: { error in debugPrint(\"calls init:\", error?.errorDescription ?? \"nil\") })\n```\n\n**Never do both** — a builder init AFTER `initFromSettings` re-attributes the app to `\"manual\"`.\n`initFromSettings` fails `SETTINGS_FILE_NOT_FOUND` if the file is not in Copy Bundle Resources — the\ncore skill already adds it for chat, so a UI-Kit app that shipped chat first already satisfies this.\n\nChat-only apps skip all of this and do not link the Calls SDK at all (5.2.3 builds and launches\nwithout it; see the core skill's install notes).\n\n## The five components\n| Component | Role |\n|---|---|\n| `CometChatCallButtons` | Voice\u002Fvideo triggers. **Has NO no-arg init — construct it as `CometChatCallButtons(width:height:)`.** `set(user:)` **or** `set(group:)`, plus `set(controller:)`. Put it in the message header's slot, not beside it. |\n| `CometChatIncomingCall` | The ringing screen. `set(call:)`, `set(onAcceptClick:)`, `set(onCancelClick:)` — **decline is `onCancelClick`, there is no `onDeclineClick`.** |\n| `CometChatOngoingCall` | The in-call surface. `set(sessionId:)` — **lowercase `d`**; `set(sessionID:)` does not compile. Also `set(callSettingsBuilder:)`, `set(callWorkFlow:)`, `set(call:)` (5.2.1+). `setOnCallEnded(onCallEnded:)` fires since 5.2.1 (with the `set(call:)` call, or a stand-in carrying the session id), but the screen then calls `self.dismiss(animated:)` itself, so present it modally; never embed it. |\n| `CometChatOutgoingCall` | The caller's ringing screen while the other side has not answered. `set(call:)`, `set(onCancelClick:)`. |\n| `CometChatCallLogs` | Call history. See the `Any` warning below — this component is the worst offender. |\n\n> **`CometChatCallLogs` callbacks are `Any`-typed — cast before touching anything.** Unlike every other list component, five of its setters hand back untyped values and will not compile if you use them directly:\n> `set(onItemClick:)` → `(_ callLog: Any)` · `set(onCallButtonClicked:)` → `(Any)` · `set(options:)` → `(_ callLog: Any)` · `set(onLoad:)` → `([Any])` · **`set(onError:)` → `(_ error: Any)`**, not `CometChatException` like everywhere else.\n> ```swift\n> logs.set(onItemClick: { callLog in\n>     guard let log = callLog as? CallLog else { return }   \u002F\u002F NOT `as? Call` — that cast FAILS at\n>     ...  \u002F\u002F runtime and makes the tap a silent no-op (measured: RUNTIME TYPE = CallLog).\n>     \u002F\u002F CallLog exposes status, type, mode, initiator, receiver — not the Call spellings\n>     \u002F\u002F (callStatus\u002FcallType\u002FcallInitiator\u002FcallReceiver). CallLog is a Calls-SDK type.\n> })\n> logs.set(onError: { error in\n>     \u002F\u002F The value is the CALLS SDK's exception type — casting to the chat SDK's\n>     \u002F\u002F CometChatException fails and prints nothing useful (measured).\n>     debugPrint((error as? CometChatCallException)?.errorDescription ?? \"\\(error)\")\n> })\n> ```\n\n> **`sessionID` vs `sessionId` — the same concept, spelled two ways.** The SDK's `Call` exposes **`sessionID`** (capital), while the kit's `CometChatOngoingCall` takes **`set(sessionId:)`** (lowercase). Reading a log and starting a call in the same function means using both spellings; neither compiles in the other's place.\n\nVoice\u002Fvideo click handlers on `CometChatCallButtons` are **properties**: `callButtons.onVoiceCallClick = { user, group in ... }`, `onVideoCallClick` likewise. And it is `set(callSettingsBuilder:)` — **plural \"Settings\"**.\n\n> **`@MainActor` if you construct these in a factory.** Inside a `UIViewController` this wiring is free (already main-actor). But if you wrap it in a standalone factory\u002Fenum\u002F`static` method, mark that context `@MainActor` — the components' setters are main-actor-isolated. **`CometChatOutgoingCall` is the strictest:** unlike `CometChatIncomingCall`\u002F`CometChatCallButtons` it carries no `@preconcurrency`, so under Swift 5 its `set(call:)`\u002F`set(onCancelClick:)` are a HARD ERROR from a nonisolated context (\"call to main actor-isolated instance method ... in a synchronous nonisolated context\"), not just a warning. (Same rule as `cometchat-ios-core`'s `@MainActor`-factory note.)\n\n```swift\n\u002F\u002F Minimum voice-video-calls wiring — all five components (inside a @MainActor context, e.g. a UIViewController)\nlet callButtons = CometChatCallButtons(width: 180, height: 40)\ncallButtons.set(user: user)          \u002F\u002F or .set(group:) for a group call\ncallButtons.set(controller: self)\ncallButtons.onVoiceCallClick = { user, group in \u002F* initiate voice call *\u002F }\ncallButtons.onVideoCallClick = { user, group in \u002F* initiate video call *\u002F }\n\n\u002F\u002F Present incoming call over any screen via a global app-level listener\nlet incoming = CometChatIncomingCall()\nincoming.set(call: incomingCall)\n\u002F\u002F accept\u002Fcancel closures are TWO-arg: (call: Call?, controller: UIViewController?). A one-arg\n\u002F\u002F `{ call in ... }` does NOT compile (\"expects 2 arguments, but 1 was used\").\nincoming.set(onAcceptClick: { call, _ in \u002F* push CometChatOngoingCall *\u002F })\nincoming.set(onCancelClick: { call, _ in self.dismiss(animated: true) })\n\nlet outgoing = CometChatOutgoingCall()\noutgoing.set(call: pendingCall)\noutgoing.set(onCancelClick: { call, _ in self.dismiss(animated: true) })\n\nlet ongoing = CometChatOngoingCall()\n\u002F\u002F `Call.sessionID` (uppercase D, SDK) is OPTIONAL (String?); `set(sessionId:)` (lowercase d, kit)\n\u002F\u002F wants a non-optional String — so GUARD it. Passing the optional directly does not compile.\nif let sid = pendingCall.sessionID { ongoing.set(sessionId: sid) }\n\nlet logs = CometChatCallLogs()\n\u002F\u002F NOTE: CometChatCallLogs has NO `set(controller:)` — present\u002Fpush it like any UIViewController\n\u002F\u002F (e.g. UINavigationController(rootViewController: logs)). Its only setters are the Any-typed\n\u002F\u002F callbacks below plus set(callRequestBuilder:).\nlogs.set(onItemClick: { callLog in guard let log = callLog as? CallLog else { return } \u002F* ... *\u002F })\n```\n\n## Incoming calls are app-level, not screen-level\nA call can arrive on any screen, so listen at the app level (`CometChatCallEventListener` \u002F `CometChatCallEvents`) and present `CometChatIncomingCall` over whatever is showing. Wiring it inside one chat screen means calls are missed everywhere else.\n\n## Permissions and background\nCamera and microphone usage descriptions in `Info.plist`, or the app crashes on first call rather than failing gracefully. Ringing while backgrounded is handled by the **`CometChatPushNotifications`** SDK — it owns CallKit + PushKit for you. **Do NOT hand-roll `PKPushRegistryDelegate` \u002F `CXProviderDelegate` or call `UIKitSettings.set(voipToken:)`** (that setter is the legacy path the current docs no longer use). Full VoIP wiring: `cometchat-ios-v5-sdk` § \"VoIP call notifications\" and `cometchat-ios-push`; needs an APNs VoIP provider in the Dashboard and a physical device.\n\n## Huddle \u002F docked call (Slack-style)\nGroup calls start, join and render through the Calls SDK into YOUR view: `references\u002Fhuddle.md` (BAKED — re-verified vs 5.2.3 + Calls 5.0.4), pattern in `cometchat-onboarding\u002Freferences\u002Fclone-mode.md` → *Huddle \u002F drop-in room pattern*.\n\n## Gotchas\n- **Simulator limits.** No camera; a WebRTC surface may behave differently than on device. Verify calling on a real device.\n- **The kit's group call button and meeting Join present `CometChatOngoingCall` full screen.** For a docked or mini call, follow `references\u002Fhuddle.md`; don't embed `CometChatOngoingCall` (it dismisses on end).\n- **Every call screen needs an exit.** Accept, decline and hang-up must all lead somewhere.\n- **Versions.** Kit Up to Next Major from 5.2.3 (it resolves the Chat SDK itself) + Calls SDK Up to Next Major from 5.0.4. Don't stop at kit 5.2.0 to 5.2.2 (launch crash without the Calls SDK) and don't hand-pin the Chat SDK.\n\n## Verify it works\nOn a device: the call button appears in the header, tapping it rings the other side, the incoming screen shows over whatever was on screen, accept connects with audio and video, hang-up releases camera and microphone, and the call appears in call logs.\n",{"name":5,"license":15,"metadata":41,"description":7,"compatibility":45},{"tags":42,"author":43,"version":44},"cometchat ios calls voice video callkit swift v5","CometChat","1.0.0","CometChatUIKitSwift 5.2.3+ · CometChatCallsSDK 5.0.4+ (Up to Next Major) · iOS 15.1+","main","cebc3dce495d7eb80d3b1d5841f877a4a92e162d","plugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-ios-calls",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":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-ios-calls",{"tool":62,"command":63},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-ios-calls",{"tool":65,"command":66},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cometchat-ios-calls","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-ios-calls\u002FSKILL.md",true,[70],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fhuddle.md","REFERENCE","参考文档",6876,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fcometchat\u002Fcometchat-skills\u002Fskills\u002Fcometchat-ios-calls\u002Freferences\u002Fhuddle.md",[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",[],[]]