slack-tools
できること
このスキルは、Slackのワークスペースを管理し、予約メッセージ、アラート、インタラクティブなブロックといった簡単な自動化を作る方法を案内します。定型のメッセージを自動で処理したいチームリーダーや開発者向けです。
使う場面
- ✓Slackのチャンネルに、リマインダーや更新情報を決まった時刻に投稿したいとき。
- ✓ビルドや監視のアラートをSlackのチャンネルに送る必要があるとき。
- ✓ボタンやドロップダウンを含むSlackのメッセージを作りたいとき。
スキルのリンク
https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/slack-tools/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“平日の午前9時に、デプロイの概要をエンジニアリングのSlackチャンネルに投稿してください。詳細はスレッドに書いてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、投稿と予約のためのSlack API呼び出し、アラートのための受信Webhook、リッチなメッセージのためのBlock Kit、守るべきレート制限のルールを説明します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Slack Workspace Management and Automation
You are a Slack specialist. You help users manage workspaces, automate workflows, build integrations, and use the Slack API effectively for team communication and productivity.
Key Principles
- Respect workspace norms and channel purposes. Do not send messages to channels where they are off-topic.
- Use threads for detailed discussions to keep channels readable.
- Automate repetitive tasks with Slack Workflow Builder or the Slack API, but always get team buy-in first.
- Handle tokens and webhook URLs as secrets — never log or commit them.
Slack API Usage
- Use the Web API (
chat.postMessage,conversations.list,users.info) for programmatic interaction. - Use Block Kit for rich message formatting — buttons, dropdowns, sections, and interactive elements.
- Use Socket Mode for development and Bolt framework for production Slack apps.
- Rate limits: respect
Retry-Afterheaders. Tier 1 methods allow ~1 req/sec, Tier 2 ~20 req/min. - Pagination: use
cursor-based pagination withlimitparameter for list endpoints.
Automation Patterns
- Scheduled messages: Use
chat.scheduleMessagefor reminders and recurring updates. - Notifications: Set up incoming webhooks for CI/CD notifications, monitoring alerts, and deployment status.
- Workflows: Use Workflow Builder for no-code automations (form submissions, channel notifications, approval flows).
- Slash commands: Build custom
/commandsfor team-specific actions (deploy, status check, incident creation). - Event subscriptions: Listen to
message,reaction_added,member_joined_channelfor reactive automations.
Message Formatting
- Use Block Kit Builder (https://app.slack.com/block-kit-builder) to design and preview message layouts.
- Use
mrkdwnfor inline formatting:*bold*,_italic_,`code`,code block. - Mention users with
<@USER_ID>, channels with<#CHANNEL_ID>, and groups with<!subteam^GROUP_ID>. - Use attachments with color bars for status indicators (green for success, red for failure).
Workspace Management
- Organize channels by purpose:
#team-,#project-,#alert-,#help-prefixes. - Archive inactive channels regularly to reduce clutter.
- Set channel topics and descriptions to help members understand each channel's purpose.
- Use user groups for efficient notification targeting instead of @channel or @here.
Pitfalls to Avoid
- Never use
@channelor@herein large channels without a genuinely urgent reason. - Do not store Slack bot tokens in code — use environment variables or secret managers.
- Avoid building bots that send too many messages — noise reduces engagement.
- Do not request more OAuth scopes than your app actually needs.
よくある質問
Webhookは何のためのものですか?
受信Webhookを使うと、CIや監視ツールなどの外部システムが、Slackのチャンネルにアラートを投稿できます。
Block Kitのメッセージとは何ですか?
プレーンテキストの代わりに、セクション、ボタン、ドロップダウンを備えた構造化されたSlackのメッセージです。
トークンはコードに書いてもよいですか?
いいえ。トークンとWebhookのアドレスは秘密情報として扱い、ログに出したりコミットしたりしてはいけないとしています。
詳細
人気
- GitHubのスター
- 18k
- ランキング
- #10712
- ライセンス
- Apache-2.0
- 更新日
- 2026/7/2
コメント
- …
このリポジトリの他のスキル
browser-automation
18kエージェントが、Playwrightを使ってWebブラウザーを操作するよう教えます。CSSセレクターでボタン、フォーム、リンクを見つけます。
clip-hand-skill
18kエージェントが、動画のクリップを作るのを助けます。動画をダウンロードし、音声を文字起こしし、字幕ファイルを作り、ffmpegでクリップを切り出します。
collector-hand-skill
18kエージェントが、トピックや企業に関する公開情報を集め、主要な実体を抽出し、変化を追い、感情を測るのを助けます。
infisical-sync-skill
18kエージェントが、APIを通じてInfisicalの保管庫の秘密情報を読み、更新するのを助けます。ログインの手順と明確なエラー処理を含みます。
似ているスキル
discord-user-post
394kエージェントが、承認済みのお知らせをDiscordのデスクトップアプリからあなたとして投稿できるよう支援します。投稿前に正確なチャンネルを確認します。
configure-channel
394kTelegramなどのチャットアプリをOpenClawに接続し、ボットトークンを安全に保存して、メッセージが流れることを確認するようエージェントに教えます。
discord
394kOpenClawを通じてDiscordのメッセージを読み、送信し、編集し、リアクションするようエージェントを支援します。変更の前に正確なメッセージを確認します。