← スキル一覧に戻る

slack-thread-reader
by Comfy-Org
Let's grow with ComfyUI community -- The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
⭐ 9🍴 3📅 2026年1月22日
SKILL.md
name: slack-thread-reader description: Read and retrieve messages from Slack threads. Use when the user wants to view, analyze, or extract conversation history from a Slack thread by providing channel ID and thread timestamp, or a Slack message URL. allowed-tools: Bash model: haiku
Slack Thread Reader
This skill reads all messages from a Slack thread and outputs them as structured JSON.
Usage
Option 1: Using Slack URL
pr-bot slack read-thread -u "<SLACK_MESSAGE_URL>" [-l <NUMBER>]
Option 2: Using Channel ID and Timestamp
pr-bot slack read-thread -c <CHANNEL_ID> -t <THREAD_TS> [-l <NUMBER>]
Parameters
URL Format
-u, --url(required if not using channel+ts): Slack message URL-l, --limit(optional): Maximum number of messages to retrieve (default: 100)
Channel/Timestamp Format
-c, --channel(required if not using url): Slack channel ID (e.g.,C123456789)-t, --ts(required if not using url): Thread timestamp (parent message timestamp)-l, --limit(optional): Maximum number of messages to retrieve (default: 100)
Note: You must use either --url OR --channel + --ts, not both.
Output Format
Returns JSON array with each message containing:
username: Display name of the message authortext: Original Slack-formatted textmarkdown: Converted markdown text (with user mentions, formatting, etc.)
Examples
# Read thread using Slack URL (easiest)
pr-bot slack read-thread -u "https://workspace.slack.com/archives/C123/p1234567890"
# Read thread using Slack URL with thread_ts parameter
pr-bot slack read-thread -u "https://workspace.slack.com/archives/C123/p1234567890?thread_ts=1234567890.123456"
# Read thread using channel ID and timestamp
pr-bot slack read-thread -c C07V123ABC -t 1234567890.123456
# Read first 20 messages only
pr-bot slack read-thread -c C07V123ABC -t 1234567890.123456 -l 20
Supported URL Formats
The tool automatically parses various Slack URL formats:
https://WORKSPACE.slack.com/archives/CHANNEL/pTIMESTAMPhttps://WORKSPACE.slack.com/archives/CHANNEL/pTIMESTAMP?thread_ts=THREAD_TShttps://app.slack.com/client/TEAM/CHANNEL/TIMESTAMP
Notes
- Requires
channels:historyorgroups:historySlack OAuth scope - Automatically converts Slack formatting to markdown
- Handles user mentions, channel links, URLs, and text formatting
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です