一键导入
connect-slack
Connect Slack to an existing orchestrator by collecting Socket Mode credentials, saving them under ARCHIVE, and validating the channel.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Connect Slack to an existing orchestrator by collecting Socket Mode credentials, saving them under ARCHIVE, and validating the channel.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Install or reconfigure the local Project Orchestrator root, then validate the generated control-plane files.
Connect Telegram to an existing orchestrator by collecting a BotFather token, optional allowlist, and validating long-polling startup.
Deploy a remote listener over SSH or kubectl so the orchestrator can execute one project/workspace on another machine.
Register one specific remote workspace with the orchestrator by deploying a listener and binding it to a single workspace id.
| name | connect-slack |
| description | Connect Slack to an existing orchestrator by collecting Socket Mode credentials, saving them under ARCHIVE, and validating the channel. |
channels.slack.enabled must be turned on in orchestrator.yamlSlack uses Socket Mode, so no public callback URL is required.
claude
Read this file first, then use CLAUDE.md or .claude/ only as extra repo context.cursor
Follow this file first, then apply .cursor/rules, AGENTS.md, and CLAUDE.md if they add local policy.codex
Treat this file as the operational checklist. Do not assume slash-command wrappers exist.opencode
Follow this file first, then honor AGENTS.md and any OpenCode-specific config already present.key : value formatting with spaces on both sides of the colonARCHIVE/ must stay outside git trackingConnecting Slack requires the orchestrator to be installed, Python packages to be available, and a writable credential location.
orchestrator.yamlIf the file is missing, stop and run the setup-orchestrator skill first.
ARCHIVE_PATHResolve it from orchestrator.yaml:
ARCHIVE_PATH=$(python3 -c "import yaml; print(yaml.safe_load(open('orchestrator.yaml')).get('archive', 'ARCHIVE'))")
Confirm the value before writing secrets.
$PYTHON_CMD -c "import slack_bolt" 2>/dev/null
$PYTHON_CMD -c "import slack_sdk" 2>/dev/null
If either package is missing, offer:
[1] Install now
[2] Install manually and continue later
If ARCHIVE/slack/credentials already exists, show a masked summary and ask whether to overwrite it.
If the user has not created a Slack App yet, guide them through:
1. https://api.slack.com/apps -> Create New App -> From scratch
2. Choose the workspace
3. Settings -> Socket Mode -> Enable
4. Create an App-Level Token with `connections:write`
5. Event Subscriptions -> Enable events
6. Subscribe to `message.channels` and `app_mention`
7. OAuth & Permissions -> add `chat:write`, `channels:history`, `app_mentions:read`
8. Install the app to the workspace
Ask for these fields one at a time:
app_idclient_idclient_secretsigning_secretapp_level_tokenbot_tokenValidation rules:
app_level_token must start with xapp-bot_token must start with xoxb-Summary before writing:
Slack credentials entered:
app_id: A0123456789
client_id: 1234567890.1234567890
client_secret: ****
signing_secret: ****
app_level_token: xapp-1-...
bot_token: xoxb-...
Save with these values? (yes/no)
After confirmation, write:
ARCHIVE/slack/credentials
with:
app_id : ...
client_id : ...
client_secret : ...
signing_secret : ...
app_level_token : ...
bot_token : ...
Then update:
channels:
slack:
enabled: true
Run:
./start-orchestrator.sh --fg
Confirm:
If validation fails, show the error and stop instead of retrying automatically.
ARCHIVE/slack/credentials exists with the expected keyschannels.slack.enabled is true in orchestrator.yaml