channels [--filter regex] [--limit N] [--types types] [--json] | List channels with pagination, optional regex filtering, and JSON output | node slack-cli.js channels --filter "project" --json |
history <channelId> [--limit N] [--days N] [--oldest ts] [--latest ts] [--json] | Read channel history with filters | node slack-cli.js history C0A11MKGDT2 --days 7 --json |
search <query> [--channels ids] [--days N] [--limit N] [--channel-limit N] [--json] | Search using Slack's web.search.messages API; falls back to local channel history scan if search:read scope is missing or multiple channels are specified | node slack-cli.js search "blocker" --channels C0A1K7R9W74 |
messages-filter <channelId> --pattern <regex> [--days N] [--json] | Filter channel messages by regex | `node slack-cli.js messages-filter C0A1K7R9W74 --pattern "blocked |
threads <channelId> [--days N] [--json] | List parent messages with replies | node slack-cli.js threads C0A11MKGDT2 --days 14 |
thread-get <channelId> <threadTs> [--json] | Read full thread (parent + replies) | node slack-cli.js thread-get C0A11MKGDT2 123.456 |
thread-scan <channelId> [--parent-pattern regex] [--reply-pattern regex] [--reply-user U...] [--days N] [--json] | Scan threaded conversations with parent/reply filters | node slack-cli.js thread-scan C0A1K7R9W74 --parent-pattern "daily standup" --reply-user U09NUL2LCKU --days 7 |
users-resolve --ids <id1,id2> | Resolve user IDs in batch | node slack-cli.js users-resolve --ids U1,U2 --json |
channels-resolve --ids <id1,id2> | Resolve channel IDs in batch | node slack-cli.js channels-resolve --ids C1,C2 |
extract <channelId> --mode <blockers|tasks|decisions|risks> [--days N] [--json] | Extract workflow signals from messages | node slack-cli.js extract C0A1K7R9W74 --mode blockers --days 7 |
export <channelId> [--format json|csv|md] [--out path] | Export channel messages for analysis | node slack-cli.js export C0A1K7R9W74 --format md --out blockers.md |
send <channel> <text> [--thread-ts ts] [--rich-text] | Send message to channel or thread | node slack-cli.js send C0A1K7R9W74 'Update posted' --thread-ts 123.456 --rich-text |
files <channelId> [limit] | List files in channel | node slack-cli.js files C0A11MKGDT2 10 |
download <fileId> [path] | Download attachment | node slack-cli.js download F12345678 ./file.pdf |
test | Test authentication | node slack-cli.js test |