slack-search
Guidance for effectively searching Slack to find messages, files, channels, and people
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o slack-search.zip https://jpskill.com/download/22670.zip && unzip -o slack-search.zip && rm slack-search.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/22670.zip -OutFile "$d\slack-search.zip"; Expand-Archive "$d\slack-search.zip" -DestinationPath $d -Force; ri "$d\slack-search.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
slack-search.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
slack-searchフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Slack検索
このスキルは、Slackでメッセージ、ファイル、情報を見つけるための効果的な検索方法に関するガイダンスを提供します。
使用する場面
ユーザーからメッセージ、会話、ファイル、人物の場所を特定するよう求められた場合や、Slackで何が起こっているかについての質問に答える前に状況を把握する必要がある場合など、Slackで情報を検索する必要があるときはいつでもこのスキルを適用してください。
検索ツールの概要
| ツール | 使用する場面 |
|---|---|
slack_search_public |
パブリックチャンネルのみを検索する場合。ユーザーの同意は不要です。 |
slack_search_public_and_private |
プライベートチャンネル、DM、グループDMを含むすべてのチャンネルを検索する場合。ユーザーの同意が必要です。 |
slack_search_channels |
名前または説明でチャンネルを検索する場合。 |
slack_search_users |
名前、メールアドレス、または役割で人物を検索する場合。 |
検索戦略
広く始めてから絞り込む
- シンプルなキーワードまたは自然言語の質問から始めます。
- 結果が多すぎる場合は、フィルター(
in:、from:、日付範囲)を追加します。 - 結果が少なすぎる場合は、フィルターを削除し、類義語または関連用語を試します。
適切な検索モードを選択する
- 自然言語の質問(例:「プロジェクトXの締め切りは何ですか?」) — 正確なキーワードがわからない、あいまいな概念的な検索に最適です。
- キーワード検索(例:
project X deadline) — 特定の正確なコンテンツを見つけるのに最適です。
複数の検索を使用する
1回の検索に頼らないでください。複雑な質問をより小さな検索に分割します。
- まずトピックを検索します
- 次に特定の人物の貢献を検索します
- 次に特定のチャンネルで検索します
検索修飾子のリファレンス
場所フィルター
in:channel-name— 特定のチャンネル内で検索しますin:<#C123456>— IDでチャンネルを検索します-in:channel-name— チャンネルを除外しますin:<@U123456>— ユーザーとのDMを検索します
ユーザーフィルター
from:<@U123456>— 特定のユーザーからのメッセージ(ID別)from:username— ユーザーからのメッセージ(Slackユーザー名別)to:me— 自分に直接送信されたメッセージ
コンテンツフィルター
is:thread— スレッド化されたメッセージのみhas:pin— ピン留めされたメッセージhas:link— リンクを含むメッセージhas:file— ファイル添付のあるメッセージhas::emoji:— 特定のリアクションのあるメッセージ
日付フィルター
before:YYYY-MM-DD— 特定の日付より前のメッセージafter:YYYY-MM-DD— 特定の日付より後のメッセージon:YYYY-MM-DD— 特定の日のメッセージduring:month— 特定の月のメッセージ(例:during:january)
テキストマッチング
"exact phrase"— 正確なフレーズに一致します-word— 特定の単語を含むメッセージを除外しますwild*— ワイルドカードマッチング(*の前に最低3文字必要)
ファイル検索
ファイルを検索するには、content_types="files"パラメーターをタイプフィルターとともに使用します。
type:images— 画像ファイルtype:documents— ドキュメントファイルtype:pdfs— PDFファイルtype:spreadsheets— スプレッドシートファイルtype:canvases— Slack Canvases
例:content_types="files" type:pdfs budget after:2025-01-01
結果のフォローアップ
関連するメッセージを見つけた後:
slack_read_threadを使用して、スレッド化されたメッセージの完全なスレッドコンテキストを取得します。slack_read_channelをoldest/latestタイムスタンプとともに使用して、コンテキストのために周囲のメッセージを読み取ります。slack_read_user_profileを使用して、結果にIDが表示されたときにユーザーが誰であるかを特定します。
よくある落とし穴
- ブール演算子は機能しません。
AND、OR、NOTはサポートされていません。スペース(暗黙のAND)と-を使用して除外します。 - 括弧は機能しません。
()で検索語をグループ化しようとしないでください。 - 検索はリアルタイムではありません。 ごく最近のメッセージ(過去数秒)は検索結果に表示されない場合があります。最新のメッセージには
slack_read_channelを使用してください。 - プライベートチャンネルへのアクセス。 プライベートチャンネルを含める必要がある場合は
slack_search_public_and_privateを使用しますが、これにはユーザーの同意が必要であることに注意してください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Slack Search
This skill provides guidance for effectively searching Slack to find messages, files, and information.
When to Use
Apply this skill whenever you need to find information in Slack — including when a user asks you to locate messages, conversations, files, or people, or when you need to gather context before answering a question about what's happening in Slack.
Search Tools Overview
| Tool | Use When |
|---|---|
slack_search_public |
Searching public channels only. Does not require user consent. |
slack_search_public_and_private |
Searching all channels including private, DMs, and group DMs. Requires user consent. |
slack_search_channels |
Finding channels by name or description. |
slack_search_users |
Finding people by name, email, or role. |
Search Strategy
Start Broad, Then Narrow
- Begin with a simple keyword or natural language question.
- If too many results, add filters (
in:,from:, date ranges). - If too few results, remove filters and try synonyms or related terms.
Choose the Right Search Mode
- Natural language questions (e.g., "What is the deadline for project X?") — Best for fuzzy, conceptual searches where you don't know exact keywords.
- Keyword search (e.g.,
project X deadline) — Best for finding specific, exact content.
Use Multiple Searches
Don't rely on a single search. Break complex questions into smaller searches:
- Search for the topic first
- Then search for specific people's contributions
- Then search in specific channels
Search Modifiers Reference
Location Filters
in:channel-name— Search within a specific channelin:<#C123456>— Search in channel by ID-in:channel-name— Exclude a channelin:<@U123456>— Search in DMs with a user
User Filters
from:<@U123456>— Messages from a specific user (by ID)from:username— Messages from a user (by Slack username)to:me— Messages sent directly to you
Content Filters
is:thread— Only threaded messageshas:pin— Pinned messageshas:link— Messages containing linkshas:file— Messages with file attachmentshas::emoji:— Messages with a specific reaction
Date Filters
before:YYYY-MM-DD— Messages before a dateafter:YYYY-MM-DD— Messages after a dateon:YYYY-MM-DD— Messages on a specific dateduring:month— Messages during a specific month (e.g.,during:january)
Text Matching
"exact phrase"— Match an exact phrase-word— Exclude messages containing a wordwild*— Wildcard matching (minimum 3 characters before*)
File Search
To search for files, use the content_types="files" parameter with type filters:
type:images— Image filestype:documents— Document filestype:pdfs— PDF filestype:spreadsheets— Spreadsheet filestype:canvases— Slack Canvases
Example: content_types="files" type:pdfs budget after:2025-01-01
Following Up on Results
After finding relevant messages:
- Use
slack_read_threadto get the full thread context for any threaded message. - Use
slack_read_channelwitholdest/latesttimestamps to read surrounding messages for context. - Use
slack_read_user_profileto identify who a user is when their ID appears in results.
Common Pitfalls
- Boolean operators don't work.
AND,OR,NOTare not supported. Use spaces (implicit AND) and-for exclusion. - Parentheses don't work. Don't try to group search terms with
(). - Search is not real-time. Very recent messages (last few seconds) may not appear in search results. Use
slack_read_channelfor the most recent messages. - Private channel access. Use
slack_search_public_and_privatewhen you need to include private channels, but note this requires user consent.