/sendbird-client:diagnose-channel [symptom]from Sendbird Client Plugin
Diagnose a Sendbird channel that misbehaves — a channel created by API or in the Sendbird Dashboard does not show in the list, every "message" tap creates a new 1:1 channel with the same user, a channel disappeared after members left or fetching it fails with 400201, or a user shown in the channel gets 400108. Reads the customer's code, names the cause with file:line, and offers the fix. Use when a channel is missing, duplicated, or gone, also when opening or loading it fails with 400201 or 400108.
Ships in Sendbird Client Plugin. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resolve every plugin-owned path below from ${CLAUDE_PLUGIN_ROOT}. Where that variable is empty (Codex does not set it for shell commands), the plugin root is the folder two levels above this SKILL.md. A shell command that only reads or checks files exits 0 when a file it looks for is missing (if [ -f <file> ]; then cat <file>; fi, or || true after an optional read), and quotes separator lines (echo '=== name': zsh, the default macOS shell, treats a word that starts with = as a command name). Otherwise a normal check is shown to the customer as a failed command.
Resolve the platform agent with bash "${CLAUDE_PLUGIN_ROOT}/tools/routing/route-agent.sh" <project-dir> code. Hand work to that agent by calling the Agent tool once with the agent as Claude Code lists it: this plugin's name, a colon, then the name the router printed (for example sendbird-client:sendbird-ios-agent). In Codex, which has no Agent tool, run that agent's launcher skill instead (for example $sendbird-client:sendbird-ios-agent) and start the agent only as that skill says; it sets the model and settings the agent needs. Do not do the agent's part yourself, even in a small project: write or edit no project source file in this session, before or after the hand-off, also when the customer confirms a change in a later turn. If the hand-off fails, say that this part was not done. When the agent reports, your final answer carries its changed files, every check line, and its symbol, source, and version table as the agent wrote them (docs/AGENT_CONTRACT.md section 6); shorten the wording only. In an answer in another language each check line still starts with the check's name as the agent wrote it (- dependency: pass, package.json:12); translate only the words after it.
Read-first diagnosis. The skill finds the cause in the customer's code and changes code only through the platform agent. When the request itself asks for the fix (for example "fix it", "apply", "고쳐 줘", "적용해 줘", or --apply), apply it after the report without asking; otherwise offer it and apply it after the customer says yes.
bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/detect.sh" <project-dir> and resolve platform, host, products, and installed SDK versions. Note whether the screens are UIKit (prebuilt list and create-channel screens) or the app's own Chat SDK code.products/chat.md sections alike, before searching the project, and nothing else. The troubleshooting section is "Channels" on iOS, "Messages and channels" on Android, and "Channel list and channel creation" on JS, all in knowledge/curated/<platform>/cross-cutting/troubleshooting.md.docs/AGENT_CONTRACT.md section 6 "Write for the customer" gives for a problem: first why the channel fails in one or two plain sentences, or, when no check explained the symptom, that the checks did not find why, then the next steps as a short numbered list, then the details: the symptom; each check you walked, with its evidence and verdict (cause / ruled out / not verifiable from code); each check after the one that explained the symptom as one line, "not checked: stopped at the cause"; the cause with file:line; and the fix from the curated entry with its citation, the curated entry first (docs/AGENT_CONTRACT.md section 2, "Cite the curated entry"). Do not add causes from checks you did not walk. Then, when the request itself asks for the fix ("fix it", "apply", "고쳐 줘", "적용해 줘", or --apply), delegate once to the platform agent with the file:line and the cited fix right away, without asking; otherwise offer the fix and delegate after the customer says yes.
SENDBIRD_NONINTERACTIVE): when the request does not ask for the fix, change nothing and stop with needs_input and the apply-fix question (docs/AGENT_CONTRACT.md section 7) instead of asking.| Symptom | Checks, in order | Curated source |
|---|---|---|
| A channel created through the Platform API, the Sendbird Dashboard, or another client is missing from the list | (a) The list query leaves out empty channels: find the query or UIKit list the screen uses and check whether the "include empty" option of the detected platform is set to true. UIKit's default list leaves it off. (b) A filter on that query that the channel does not pass, such as a name filter ("Filter the channel list by name"). Compare it with the channel the customer describes; verify any other filter name against the installed SDK with tools/local-sdk/read-surface.sh before naming it. (c) The current user is not a joined member: the "my channels" query lists only channels the user belongs to, and a channel the user has not joined needs the public channel query (JS chat.md "Create and list group channels"). (d) After resetMyHistory() the channel is empty again for that user (JS entry). | troubleshooting entry about channels created elsewhere; products/chat.md "Create and list group channels" and "Filter the channel list by name" |
| Starting a chat with the same person creates a new channel each time | (a) The create call or UIKit create-channel screen does not set isDistinct to true; on iOS UIKit, isDistinct is reset to false before your builder runs, so set it in the global create-params builder. The iOS UIKit profile "Message" button creates channels the same way, so when the app shows UIKit screens and sets no global create-params builder, "not found" for that builder is itself the cause. (b) The params also mark the channel public; JS notes that a public channel cannot be distinct. | troubleshooting entry about duplicate 1:1 channels; products/chat.md "Create and list group channels" |
| A channel disappeared after everyone left, or fetching it fails with 400201 | (a) The app stores channel URLs and later opens one whose members all left. By default the server deletes a group channel when its member count reaches zero. No client change keeps it; the curated fix is to ask Sendbird support to change the Sendbird app setting. (b) The URL is wrong (Android 400201 entry). | iOS "A group channel disappears after every member leaves"; Android 400201 entry |
| A user who appears in the channel gets 400108 "User must be a member" | (a) The user was invited but has not joined: check for code that reads the member state and accepts the invitation, or turns on automatic acceptance (JS entry). (b) The user reached the joined-channel limit (knowledge/curated/js/cross-cutting/pitfalls.md "Joined-channel limit"). (c) On iOS, 400108 from channel creation means the Sendbird app blocks channel creation from clients (iOS entry). | JS 400108 entry; iOS "Creating a channel from the app fails with 400108"; cross-cutting/errors.md |
| Members don't see messages sent before they joined | Chat history is a Sendbird app setting, not an SDK option, and applies only to users who join after it is turned on. Nothing in the code fixes it; link the Sendbird Dashboard docs instead of describing click paths. | JS "Messages sent before a user joined are missing" |
When a row's curated entry exists only for another platform, use it as a lead, not as the answer: confirm the same option on the detected platform in knowledge/curated/<platform>/products/chat.md, its UIKit doc, or the installed SDK surface (bash "${CLAUDE_PLUGIN_ROOT}/tools/local-sdk/read-surface.sh" <project> chat), and say which source confirmed it.
knowledge/curated/<platform>/cross-cutting/troubleshooting.md — symptom, cause, fix, and public cases for each row above.knowledge/curated/<platform>/products/chat.md — channel creation with isDistinct, channel list queries and collections, the name filter, invitations and operators.knowledge/curated/<platform>/products/uikit.md and knowledge/curated/<platform>/hosts/*.md — passing a custom list query to the UIKit list on each host.knowledge/curated/<platform>/cross-cutting/errors.md — 400108, 400201, and the other codes a channel call can return.Every cause and fix must come from a cited curated entry or the installed SDK surface. Do not invent a filter name, a default value, or a Sendbird Dashboard path. When the code shows nothing that explains the symptom, say which checks were ruled out with what evidence, name the Sendbird app settings that remain (chat history, deletion of empty channels, client channel creation), and point to the docs instead of guessing.
What SKILL.md sets; muted values are Claude Code's defaults
sendbird-client@sendbird is listed by sendbird/sendbird-plugins — review the source before installing
npx claudepluginhub sendbird/sendbird-plugins --plugin sendbird-client18 skills in this plugin
/add-featureAdd a Sendbird feature to the project (channel, message, reaction, thread, typing, file, push, call, and more). Use when the customer wants to add a specific Sendbird capability to existing code./auth-recipesGenerate correct Sendbird connection/session code — direct connect, session-token issue/refresh, multi-device, reauth, safe logout — for the detected platform/host. Auth is part of Chat. Use when the customer asks about authentication, session tokens, or login/logout flows./calls-incomingMake Sendbird Calls ring (on iOS, Android, and React Native new incoming calls arrive only through push, even while the app is open, and also in the background or after the app was closed), and fix common in-call audio and video problems — iOS PushKit with CallKit, Android FCM with a call notification, React Native native push, and web media and WebSocket checks. Use when an app that already uses Sendbird Calls misses incoming calls, crashes on a VoIP push, or has no audio or video during a call./choose-uiHelp the customer choose between Sendbird UIKit (prebuilt screens they can theme and customize) and their own UI built on the Chat SDK. Reads the project and the requirements (how custom the design is, the timeline, the features, the platform and host), compares the two options from the plugin's curated knowledge with cited sections, and recommends one with the next skill to run. Changes no files. Use when the customer asks whether to use UIKit or build their own chat UI./docs-searchSearch Sendbird official docs, public samples, and public discussions to answer a how-do-I or what-is question across any Sendbird product/platform. Use when the user asks about Sendbird documentation or concepts./explain-errorExplain a Sendbird error code or message — its meaning, common triggers, and a fix — across any product/platform, citing the verified error table. Use when the customer hits a Sendbird error code or exception. When opening or loading a channel fails with 400201 or 400108, use diagnose-channel instead; for a build, bundler, or package-install error, or an error from two copies of a Sendbird package, use fix-build.Other plugins' skills for the same job