agents/skills/slack/SKILL.md
Query Slack channels, search messages, and fetch user information. Use when reading Slack data, checking channel history, searching messages, or looking up users.
npx skillsauth add drn/dots slackInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Query Slack channels, search messages, and fetch user information using the slack CLI.
You are helping query Slack data. Auth is handled via environment variables loaded from ~/.dots/sys/env:
SLACK_XOXP_TOKEN — user token for search, history, thread, dmsSLACK_XOXB_TOKEN — bot token for channels, users# Test authentication
slack auth-test
# Channel operations
slack channels # List all channels
slack find-channel releases # Find channel by name
# Message history
slack history C04M5PG7P7T # By channel ID
slack history releases --limit 50 # By name, limit 50
slack history releases --days 7 # Last 7 days
# Thread replies
slack thread C04M5PG7P7T 1234567890.123456
# Search messages
slack search "deployment failed" # Full search
slack search "urgent" --days 1 # Last 24 hours
slack search "from:@darren" --days 7 --full # Full message text
# User operations
slack users # List all users
slack find-user darren # Find by name
# DMs
slack dms # List DM conversations
# JSON output (for programmatic use)
slack channels --json
slack history releases --days 7
slack search "outage" --days 7
slack search "from:@darren deployment" --days 30
# First find their user ID
slack find-user "john"
# Then search their messages
slack search "from:@john" --days 7
By default, search truncates messages to 200 chars. Use --full for complete message text:
slack search "from:@aaron" --days 7 --full
| Token | Env Var | Used For |
|-------|---------|----------|
| User (xoxp) | SLACK_XOXP_TOKEN | search, dms, history, thread |
| Bot (xoxb) | SLACK_XOXB_TOKEN | channels, users, find-user, find-channel |
Required User Token Scopes: channels:history, channels:read, groups:history, groups:read, im:history, im:read, mpim:history, mpim:read, search:read, users:read
Required Bot Token Scopes: channels:read, groups:read, users:read, users:read.email
Slack has rate limits:
If rate limited, wait for the retry_after period.
Common errors:
channel_not_found — Channel doesn't exist or bot/user not in channelnot_in_channel — Need to join the channel firstratelimited — Too many requests, check retry_afterinvalid_auth — Token is expired or invalidmissing_scope — Token lacks required OAuth scopes--full for complete text.development
Build a self-contained, single-file HTML presentation deck from talking points or a source doc, using a terminal/TUI-styled template with keyboard, tap, and swipe navigation. Use when the user wants to create slides, build a presentation or deck, turn talking points or a doc into a talk, make an HTML slideshow, or produce a presentation as a shareable artifact (instead of Google Slides).
development
Render a Markdown file to GitHub-flavored HTML and open a styled local preview (light + dark) in the browser. Use when the user wants to preview markdown, see how a README renders on GitHub, check that relative screenshots or images display correctly, or get a GitHub-like local preview without installing grip or glow.
tools
Mark the current Argus task as complete. Use when the work for the current worktree is done and the user wants the task to transition to the "complete" status.
development
Launch a dynamic Workflow where the top-tier session model (Fable) handles planning and orchestration while implementation subagents run on Sonnet for routine tasks and Opus for complex ones. Use when the user wants to orchestrate a build, a dynamic workflow, a model-tiered build, fable planning with sonnet and opus implementation, or tiered agents.