← back to Slack To Steve
.env.example
18 lines
# Copy to .env and fill in. The bot token is the SAME one the Slack MCP uses
# (env SLACK_BOT_TOKEN in ~/.claude.json → mcpServers.slack.env).
SLACK_BOT_TOKEN=xoxb-...
# #claude-to-steve channel ID (starts with C...). Get it: right-click the channel
# in Slack → View channel details → bottom, or run: node whoami.mjs
SLACK_CHANNEL_IDS=C0BGQ2QLR35,C09SW7VQ0RK # comma-separated; watches all of them
SLACK_CHANNEL_ID=
# Steve's Slack user ID (starts with U...). Sender allowlist — only his messages act.
STEVE_USER_ID=
# ARM SWITCH — leave 0 until Steve explicitly approves autonomous execution.
# 0 = capture + ack + queue only (safe). 1 = auto-run each message via `claude -p`.
AUTO_EXECUTE=0
# Path/command for the Claude CLI used when AUTO_EXECUTE=1.
CLAUDE_CMD=claude
# Socket Mode (real-time push): app-level token, xapp-… with connections:write
SLACK_APP_TOKEN=xapp-...