ワンクリックで
slack-messaging
Send a message or notification to a Slack channel or thread using the gateway's configured tokens.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Send a message or notification to a Slack channel or thread using the gateway's configured tokens.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | slack-messaging |
| description | Send a message or notification to a Slack channel or thread using the gateway's configured tokens. |
| version | 1.0.0 |
| author | Timsonner |
| license | MIT |
| metadata | {"hermes":{"tags":["slack","gateway","messaging","notifications","multi-agent"],"related_skills":["multi-agent-coordination","cli-wrapper-design-and-debugging"]}} |
This skill provides guidelines and tools to send messages, notifications, or replies to Slack channels and threads from the local command-line or agent context.
.env configuration file exists and has SLACK_BOT_TOKEN.send_slack.py located at the root of the repository:
python send_slack.py "Your message text here"
python send_slack.py "Message content"
python send_slack.py --channel "random" "Hello random channel!"
python send_slack.py --channel "C0B8U40L6PL" "Hello custom channel ID!"
python send_slack.py --channel "general" --thread "1780829722.426309" "Thread reply message"
cat build_output.log | python send_slack.py
When sending messages via the API, plain text mentions like @Hermes or @Antigravity will not trigger notifications or gateway events. You must use the Slack Member ID in the <@MEMBER_ID> format:
<@U0B8CNSPWB1><@U0B8SBAFB8W>Example of thread reply:
python send_slack.py --channel "C0B8U3ZGE7L" --thread "1780831489.381079" "<@U0B8SBAFB8W> Hello Antigravity!"
When initiating agent-to-agent communication (e.g., Hermes invoking Antigravity in a Slack thread), keep the following in mind:
SLACK_ALLOWED_USERS)The Slack gateway filters incoming messages by user ID to enforce authorization. By default, it blocks messages from unauthorized bots and users.
U0B8CNSPWB1) must be added to the comma-separated SLACK_ALLOWED_USERS list inside the gateway's .env file.SLACK_ALLOWED_USERS=U0B8CKH5SVD,U0B8CNSPWB1
.env is modified, the gateway listener process (gateway.py) must be restarted to load the updated list.To find or manage running gateway processes on the Windows host, use PowerShell commands from the terminal:
powershell -Command "Get-CimInstance Win32_Process -Filter \"CommandLine LIKE '%gateway.py%'\" | Select-Object CommandLine, ProcessId"
powershell -Command "Stop-Process -Id <ProcessId> -Force"
When Antigravity attempts to run shell commands in any thread (and YOLO mode is disabled), it triggers a synchronous BeforeTool hook that prompts you with Approve/Deny buttons directly in Slack.
!yolo inside the Slack thread.!yolo again.