/sendbird-client:permissions-setup [requirements]from Sendbird Client Plugin
Turn permission requirements into the right Sendbird layer — "users must not create channels", "only operators see the edit button", "freeze, mute, or ban from UIKit". Decides for each requirement whether it is a Sendbird app setting, a server-side Platform API job, or client code, links the docs for the first two, and writes only the client part (operator role checks, hiding or disabling UIKit actions, moderation calls). Use when the customer describes who may do what in chat.
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.
Before anything else, check every product the request names (chat, uikit, calls, desk, or live; a Sendbird product outside that list is not covered by this plugin, so change nothing for it and tell the customer) with bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/resolve-products.sh" <project-dir> --check <product>, one run per product. Printing the scope without --check is not this check. When it exits 1, change nothing and hand nothing to an agent: say what it printed. Only for "out of configured scope" add that SENDBIRD_PRODUCTS or enabledProducts in .sendbird-client/profile.json sets the scope; for "not available on this host" give the reason it printed and never suggest those settings, which cannot change it; a non-interactive run ends with status: "declined".
bash "${CLAUDE_PLUGIN_ROOT}/tools/detection/detect.sh" <project-dir> and resolve platform, host, products, and installed versions. Note whether the screens are UIKit or the app's own Chat SDK code.core/docs-index.json, linked before any custom code; promoting a member to operator is a client call.${CLAUDE_PLUGIN_ROOT}/core/docs-index.json), and never describe Sendbird Dashboard click paths. If no docs page names the setting and a curated entry says Sendbird support changes it, say that.| Requirement | Layer | Source |
|---|---|---|
| Users must not create channels from the app; channels are created by our backend | Sendbird app setting plus server: Sendbird can block channel creation from the SDK, and channels are then created through the Platform API. With the block on, client creation fails with 400108. Remove or hide create-channel UI in the client as well, and keep a way into the channels the backend creates: if the create action was the app's only way to open a channel, replace it with the current user's channel list (a channel collection or a my-channel list query) or with opening a channel by its URL, so members still reach those channels. | knowledge/curated/ios/cross-cutting/troubleshooting.md "Creating a channel from the app fails with 400108" (staff answer in its second case); knowledge/curated/<platform>/products/chat.md "Create and list group channels" |
| Only operators may freeze, mute, or ban; members see no moderation UI | Client: check the current user's role in the channel, call the moderation APIs only for operators, and hide the actions otherwise. Promoting a member to operator is a client call too. | knowledge/curated/<platform>/products/chat.md "Moderation (ban, mute, block, freeze)" and "Invite members and manage operators" |
| Only operators see an edit or settings button | Client: same role check, used to hide or disable the control. iOS UIKit shows the moderation row only to operators by default, and the docs show how to change the settings rows and the member list header. | knowledge/curated/ios/products/uikit.md "Channel settings and member list"; knowledge/curated/<platform>/products/chat.md "Moderation (ban, mute, block, freeze)" |
| Freeze, mute, or ban from UIKit screens | Client: UIKit's channel settings already include moderation for operators. Link the UIKit moderation docs page for the host from core/docs-index.json before writing custom calls. | UIKit moderation pages in core/docs-index.json; the community case https://community.sendbird.com/t/how-to-freeze-channel-mute-member-ban-member-via-react-ui-kit/4506 (staff pointed to the UIKit channel settings) |
| Turn off the message input for some users | Client: UIKit already disables the input for a frozen channel or a muted user; for your own rule, follow the host's input section. | knowledge/curated/js/products/uikit.md (React Native message input), knowledge/curated/android/products/uikit.md "Message input: attachment menu, extra buttons, enabled state (View host)", knowledge/curated/android/hosts/compose.md "Message input: attachment menu and enabled state" |
| Only operators may delete (or edit) messages | Client: check the current user's role in the channel and leave the delete (or edit) item out of the message menu for everyone else. Hiding the item is not enforcement: no curated source names a Sendbird app setting that limits deleting to operators, so say that the setting could not be verified instead of naming one, and that a rule other clients cannot bypass needs the customer's server. | knowledge/curated/<platform>/products/chat.md "Moderation (ban, mute, block, freeze)" (role check); menus: knowledge/curated/js/products/uikit.md "Message menu items", knowledge/curated/ios/products/uikit.md "Message list: order, menus, and taps", knowledge/curated/android/products/uikit.md "Message menu and message taps (View host)" |
| Members must not see messages from before they joined | Sendbird app setting (chat history). | knowledge/curated/<platform>/cross-cutting/troubleshooting.md "Messages sent before a user joined are missing"; docs: the "Invite users as members" page for the platform in core/docs-index.json |
| Keep a group channel after every member leaves | Sendbird app setting that Sendbird support changes; no client code keeps an empty channel. | knowledge/curated/<platform>/cross-cutting/troubleshooting.md "A group channel disappears after every member leaves" |
| Anything about issuing tokens, creating users, or bulk moderation from an admin tool | Server or Platform API; out of scope for this plugin, which writes client code only. | https://sendbird.com/docs/chat/platform-api/v3/overview |
When a requirement fits no row, decide the layer from a cited source or say that the layer could not be verified and ask; do not assume that a setting exists.
knowledge/curated/<platform>/products/chat.md "Moderation (ban, mute, block, freeze)" — operator-only actions, role check, mute and freeze state, block for any user, moderation events.knowledge/curated/<platform>/products/chat.md "Invite members and manage operators" — adding and removing operators.knowledge/curated/<platform>/products/chat.md "Create and list group channels" — listing the current user's channels, the path that replaces in-app creation.knowledge/curated/<platform>/products/uikit.md and knowledge/curated/<platform>/hosts/*.md — settings rows, member list header, message input enabled state.knowledge/curated/<platform>/cross-cutting/troubleshooting.md and errors.md — what a blocked action returns (400108).Never invent a Sendbird app setting, a Sendbird Dashboard path, a role name, or a Platform API endpoint. Name a setting only when a cited curated entry or docs page names it; otherwise say that the setting could not be verified. Generate only client code, and only with APIs from the cited sections or the installed SDK surface.
What SKILL.md sets; muted values are Claude Code's defaults
18 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./diagnose-channelDiagnose 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./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.sendbird-client@sendbird is listed by sendbird/sendbird-plugins — review the source before installing
npx claudepluginhub sendbird/sendbird-plugins --plugin sendbird-clientOther plugins' skills for the same job