Loading...
Loading...
Slack workspace CLI for the terminal. Send messages, search channels and DMs, list conversations, get user/bot/emoji info, analyze channel health, find stale threads, and sync the workspace locally for fast offline queries. Two auth surfaces coexist: SLACK_BOT_TOKEN (xoxb-, for workspace-wide read + post) and SLACK_USER_TOKEN (xoxp-, for user-scoped actions like DM history or search). Use when the user asks to send a Slack message, search Slack, check channel activity, summarize a digest, find who's on a team, find stale threads, analyze channel health, list users / emoji / reminders / pinned items, or wants offline-capable Slack queries.
npx skill4agent add mvanhorn/printing-press-library pp-slackslack-pp-clinpx -y @mvanhorn/printing-press install slack --cli-onlyslack-pp-cli --version$GOPATH/bin$HOME/go/bin$PATHnpxgo install github.com/mvanhorn/printing-press-library/library/productivity/slack/cmd/slack-pp-cli@latest--version$PATHteam| Token | Scopes | When to use |
|---|---|---|
| workspace-scoped bot permissions | Default for post-message, read-channel, list-users, etc. |
| user-scoped | DM history, search on behalf of a user, stars, reminders |
https://api.slack.com/apps$ARGUMENTShelp--helpslack-pp-cli --helpinstallmcpslack-pp-mcpgo install github.com/mvanhorn/printing-press-library/library/productivity/slack/cmd/slack-pp-mcp@latest
claude mcp add -e SLACK_BOT_TOKEN=xoxb-... slack-pp-mcp -- slack-pp-mcpwhich slack-pp-clislack-pp-cli --helpslack-pp-cli <cmd> --help--agentslack-pp-cli <command> [args] --agent--agent--json --compact --no-input --no-color --yes--data-sourceautolivelocalslack-pp-cli sync| Command | What it does |
|---|---|
| List channels and DMs in the workspace |
| List all users in the workspace |
| Full-text search across synced messages (or live API with |
| Daily/weekly activity digest from locally synced data |
| Channel health report (activity, engagement, stagnation) |
| Find dead or low-activity channels |
| Average first-response time in threads |
| Unanswered or stale threads |
| Activity summary across channels from local sync |
| Week-over-week channel activity trends |
| Populate the local SQLite store for offline analytics |
| Workspace directory queries |
| Access logs (requires admin token) |
--help--agent--json --compact --no-input --no-color --yes--select--dry-run--no-cache--selectslack-pp-cli <command> --agent --select id,name
slack-pp-cli <command> --agent --select items.id,items.owner.name{"meta": {...}, "results": <data>}.results.meta.sourceliveN results (live)| Code | Meaning |
|---|---|
| 0 | Success |
| 2 | Usage error (wrong arguments) |
| 3 | Resource not found (channel, user, message) |
| 4 | Authentication required (token missing or invalid) |
| 5 | API error (Slack upstream, including |
| 7 | Rate limited (Slack 429; CLI honors |