name: check-mentions
description: Slack で自分へのメンションを確認する。「メンション確認」「Slackメンション」「自分へのメンション」「@mention を見せて」などで起動。Pythonスクリプト slack_message.py mentions を使用。
allowed-tools: [Bash, Read]
Mention Checker
Slack で自分へのメンションを確認します。
トリガー
- 「メンション確認」
- 「Slackメンション」
- 「自分へのメンション」
- 「@mention を見せて」
- 「メンション一覧」
動作
- Pythonスクリプト
slack_message.py mentionsを実行 - 自分へのメンションを検索
- メンション一覧を整理して表示
実装
# Pythonスクリプトでメンション取得
python plugins/shiiman-slack/skills/mention-checker/scripts/slack_message.py mentions \
--max 20 \
--format table
出力例
# あなたへのメンション(直近20件)
メンション数: 5
channel user text permalink
general 山田太郎 @you レビューお願いします https://...
project-alpha 佐藤花子 @you 資料確認しました https://...
dev-team 田中一郎 @you バグ修正完了です https://...
random 木村さん @you 明日の予定どうですか? https://...
marketing 鈴木次郎 @you 新しい企画について相談したいです https://...
機能
- 検索: Slack Search APIで
<@USER_ID>を検索 - 最大件数: デフォルト20件、
--maxで変更可能 - パーマリンク: 各メンションへの直接リンクを表示
- チャンネル名: メンションがあったチャンネルを表示
必要な環境変数
export SLACK_BOT_TOKEN="xoxb-your-bot-token"
必要なスコープ
search:read- メッセージ検索users:read- 自分のユーザーID取得
注意事項
- Slack Search APIは検索履歴の制限があります(フリープランでは直近10,000メッセージ)
- パーマリンクをクリックすると、該当メッセージに直接ジャンプできます
Skills similaires
Priorisation de Tâches
Productivite
Priorise vos tâches avec les frameworks Eisenhower, ICE et RICE.
claudechatgptbeginner
241
67
537
Generateur de Rapport Hebdomadaire
Productivite
Generez des rapports de statut hebdomadaires structures et concis.
Claude CodeCursorWindsurf+1beginner
234
78
548
Rapport de Daily Standup
Productivite
Génère des rapports de daily standup structurés et concis.
claudeCursorWindsurfbeginner
178
45
400