with one click
add-slack
Add Slack channel integration via Chat SDK.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add Slack channel integration via Chat SDK.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Distill a reusable skill from anything — a directory, a URL, pasted notes, or what you just did together — or refine an existing skill with new learnings. Use when the user says '/learn', 'learn this', 'turn this into a skill', 'capture this workflow', 'make a skill from <source>', or 'improve/update the <name> skill'. Produces or updates a .claude/skills/<name>/SKILL.md authored to NanoClaw's skill guidelines. (This CREATES or REFINES a skill from a source; it does not install existing skills from a registry.)
Add Discord bot channel integration via Chat SDK.
Add Google Chat channel integration via Chat SDK.
Add GitHub channel integration via Chat SDK. PR and issue comment threads as conversations.
Add Linear channel integration via Chat SDK. Issue comment threads as conversations.
Add Microsoft Teams channel integration via Chat SDK.
| name | add-slack |
| description | Add Slack channel integration via Chat SDK. |
Adds Slack support via the Chat SDK bridge.
NanoClaw doesn't ship channels in trunk. This skill copies the Slack adapter in from the channels branch.
Skip to Credentials if all of these are already in place:
src/channels/slack.ts existssrc/channels/slack-registration.test.ts existssrc/channels/index.ts contains import './slack.js';@chat-adapter/slack is listed in package.json dependenciesOtherwise continue. Every step below is safe to re-run.
git fetch origin channels
git show origin/channels:src/channels/slack.ts > src/channels/slack.ts
git show origin/channels:src/channels/slack-registration.test.ts > src/channels/slack-registration.test.ts
Append to src/channels/index.ts (skip if the line is already present):
import './slack.js';
pnpm install @chat-adapter/slack@4.29.0
pnpm run build
pnpm exec vitest run src/channels/slack-registration.test.ts
Both must be clean before proceeding. slack-registration.test.ts is the one integration test: it imports the real channel barrel and asserts the registry contains slack. It goes red if the import './slack.js'; line is deleted or drifts, if the barrel fails to evaluate, or if @chat-adapter/slack isn't installed (the import throws) — so it also implicitly verifies the dependency from step 4. The adapter also calls core's createChatSdkBridge(...); that typed core-API consumption is guarded by pnpm run build.
End-to-end message delivery against a real Slack workspace is verified manually once the service is running — see Next Steps and the webhook setup above.
chat:write, im:write, channels:history, groups:history, im:history, channels:read, groups:read, users:read, reactions:write, files:read, files:writexoxb-...)https://your-domain/webhook/slack — Slack will send a verification challenge; it must pass before you can savemessage.channels, message.groups, message.im, app_mentionhttps://your-domain/webhook/slackAdd to .env:
SLACK_BOT_TOKEN=xoxb-your-bot-token
SLACK_SIGNING_SECRET=your-signing-secret
Sync to container: mkdir -p data/env && cp .env data/env/env
The Chat SDK bridge automatically starts a shared webhook server on port 3000 (configurable via WEBHOOK_PORT env var). The server handles /webhook/slack for Slack and other webhook-based adapters. This port must be publicly reachable from the internet for Slack to deliver events.
If running locally, discuss options for exposing the server — e.g. ngrok (ngrok http 3000), Cloudflare Tunnel, or a reverse proxy on a VPS. The resulting public URL becomes the base for https://your-domain/webhook/slack.
If you're in the middle of /setup, return to the setup flow now.
Otherwise, run /manage-channels to wire this channel to an agent group.
slackslack:{channelId} for channels (e.g., slack:C0123ABC), slack:{dmId} for DMs (e.g., slack:D0ARWEBLV63)