Fetching threads
Basic usage
Fetch a Slack thread by providing its permalink URL:
Or use explicit --channel and --ts arguments:
The command prints a summary to stderr:
Incremental refresh
Running fetch again on the same thread only retrieves new or edited messages:
# First fetch
slack-cached fetch "https://workspace.slack.com/archives/C01234/p1700000000123456"
# cached 8 messages (8 new, full)
# Second fetch (only new replies)
slack-cached fetch "https://workspace.slack.com/archives/C01234/p1700000000123456"
# cached 10 messages (2 new, incremental)
Showing cached threads
Display a thread in human-readable format:
Output includes timestamps, author names (resolved from cached users), and message text.
Display as JSON:
JSON output includes channel_name and resolves user IDs to display names when cached users are available.
Auto-fetch
The show command automatically fetches a thread if it is not yet cached. Disable this with --no-fetch: