From slack-channel
Set up the Slack channel — save bot/app tokens and review access policy. Use when the user pastes Slack tokens, asks to configure Slack, or wants to check channel status.
npx claudepluginhub muneshige1567/claude-channel-slackThis skill is limited to using the following tools:
Writes tokens to `~/.claude/channels/slack/.env` and orients the user on
Configures Discord bot channel: saves token to .env, checks status/access policy (DM pairing, allowlists), and guides secure lockdown.
Configures Telegram bot channel: saves token to .env, checks status, reviews access policy, and guides to secure allowlist lockdown.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Share bugs, ideas, or general feedback.
Writes tokens to ~/.claude/channels/slack/.env and orients the user on
access policy. The server reads both files at boot.
Arguments passed: $ARGUMENTS
Read both state files and give the user a complete picture:
Tokens — check ~/.claude/channels/slack/.env for
SLACK_BOT_TOKEN and SLACK_APP_TOKEN. Show set/not-set; if set, show
first 8 chars masked.
Access — read ~/.claude/channels/slack/access.json (missing file
= defaults: dmPolicy: "pairing", empty allowlist). Show:
What next — end with a concrete next step based on state:
/slack:configure bot <bot-token> and /slack:configure app <app-token>."/slack:access pair <code>."Push toward allowlist policy once IDs are captured, same as Discord.
bot <token> — save bot tokenSLACK_BOT_TOKEN (trim whitespace). Slack bot
tokens start with xoxb-.mkdir -p ~/.claude/channels/slack.env if present; update/add SLACK_BOT_TOKEN= line,
preserve other keys. Write back.app <token> — save app tokenSLACK_APP_TOKEN. Slack app-level tokens start
with xapp-. Generated from Basic Information → App-Level Tokens. Must
have the connections:write scope for Socket Mode..env update logic as bot token.<token> — auto-detectIf the argument starts with xoxb-, treat as bot token. If xapp-, treat
as app token. Otherwise, ask which it is.
clear — remove tokensDelete both token lines from .env.
.env once at boot. Token changes need a session restart
or /reload-plugins. Say so after saving.access.json is re-read on every inbound message — policy changes via
/slack:access take effect immediately.