Skip to main content
ClaudeWave
Skill176 repo starsupdated 3d ago

slack

This Claude Code skill enables read-only access to a Slack workspace through command-line tools that list channels and direct messages, retrieve message history, search conversations, view user information, and display channel details. Use it when you need to retrieve and analyze Slack data without modifying any workspace content.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/ykdojo/safeclaw /tmp/slack && cp -r /tmp/slack/setup/skills/slack ~/.claude/skills/slack
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Slack Read Tool

Use `~/tools/slack-read.js` to read Slack data:

```bash
# List channels
node ~/tools/slack-read.js channels

# List DMs
node ~/tools/slack-read.js dms

# Read channel history (last 20 messages)
node ~/tools/slack-read.js history <channel_id>
node ~/tools/slack-read.js history <channel_id> 50  # last 50

# Search messages
node ~/tools/slack-read.js search "keyword"
node ~/tools/slack-read.js search "from:@user in:#channel"

# List users
node ~/tools/slack-read.js users

# Get channel info
node ~/tools/slack-read.js info <channel_id>
```

- This is read-only - you cannot send messages or modify anything
- Requires SLACK_TOKEN env var (run `./scripts/setup-slack.sh` on host)