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
| 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/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
Append to src/channels/index.ts (skip if the line is already present):
import './slack.js';
pnpm install @chat-adapter/slack@4.26.0
pnpm run build
chat:write, im:write, channels:history, groups:history, im:history, channels:read, groups:read, users:read, reactions: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)