-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Open
Conversation
The SKILL.md walked users through HTTP webhook setup with SLACK_SIGNING_SECRET and required a public URL (ngrok / Cloudflare Tunnel / VPS), but the rest of the codebase already expects Socket Mode: - setup/verify.ts checks SLACK_BOT_TOKEN + SLACK_APP_TOKEN - setup/migrate-v2/shared.ts preserves SLACK_APP_TOKEN from v1 - nanoclaw.dev/skills/slack docs describe Socket Mode Result: a user following the skill ends up with an install whose verify step asks for a credential the skill never told them to create, and they're stuck running a tunnel they don't need. Rewrites the credentials section to enable Socket Mode and create an App-Level Token (xapp-...) instead. Drops Event Subscriptions Request URL, Interactivity, and Webhook server sections — none are needed in Socket Mode. Swaps SLACK_SIGNING_SECRET for SLACK_APP_TOKEN in env vars. Install steps (fetch adapter, pnpm install, build) unchanged. This is the SKILL.md half of the fix. A companion change to `src/channels/slack.ts` on the `channels` branch (read SLACK_APP_TOKEN and pass `mode: 'socket'` + `appToken` to createSlackAdapter) is required for the adapter to actually start in Socket Mode — filed separately.
@github-actions
github-actions
Bot
added
follows-guidelines
PR was created using the current contributing template
PR: Fix
Bug fix
labels
Jun 6, 2026
1 task
This was referenced Jun 7, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
The
/add-slackskill walked users through HTTP webhook setup (SLACK_SIGNING_SECRET, Event Subscriptions Request URL, Interactivity URL, public webhook endpoint), but the rest of the codebase already expects Socket Mode:setup/verify.tschecksSLACK_BOT_TOKEN+SLACK_APP_TOKENsetup/migrate-v2/shared.tspreservesSLACK_APP_TOKENfrom v1nanoclaw.dev/skills/slackdocs describe Socket ModeResult: a user following the skill ends up with an install whose verify step asks for a credential the skill never told them to create, and they're stuck running a tunnel (ngrok / Cloudflare Tunnel) they don't need.
Fix
Rewrite the credentials section to enable Socket Mode and create an App-Level Token (
xapp-...) instead. Drop Event Subscriptions Request URL, Interactivity, and Webhook server sections — none are needed in Socket Mode. SwapSLACK_SIGNING_SECRETforSLACK_APP_TOKENin the env vars.Install steps (fetch adapter from
channelsbranch,pnpm install, build) unchanged.Companion PR
This is the SKILL.md half. A companion change to
src/channels/slack.tson thechannelsbranch (readSLACK_APP_TOKEN, passmode: 'socket'+appTokentocreateSlackAdapter) is required for the adapter to actually start in Socket Mode — filed separately.Testing
Slack socket mode connectedandChannel adapter started channel="slack"on startup. No public URL or webhook server involved. DMs deliver end-to-end.