| name | slack |
| description | Use this skill to read Slack messages and translate them to Korean, or translate Korean messages to English and post them to Slack. Activates for requests like "show me latest Slack messages in Korean", "translate and send to Slack", "Slack 메시지 가져와줘", or "슬랙에 보내줘". |
Slack Translation Integration
Core Workflows
1. Fetch & Translate (English → Korean)
Steps:
- Look up channel ID from "Available Channels" section (e.g., ni = G016KSW5GA1)
- Run:
cd ~/.claude/skills/slack/scripts && uv run message_handler.py fetch -c CHANNEL_ID --json - Parse JSON output (user, text, timestamp)
- Translate text to Korean preserving technical terms
- Present as:
[시간] 사용자: 번역된 메시지 - 내 이름은 byung yong kim 입니다
2. Translate & Post (Korean → English)
Steps:
- Translate Korean text to natural, professional English
- Look up channel ID from "Available Channels" section
- Run:
cd ~/.claude/skills/slack/scripts && uv run message_handler.py post -c CHANNEL_ID "Translated text" - Confirm success
Available Channels
Channel Name to ID Mapping:
- ni: xxx
- netops: xxx
- test: xxx
Usage:
# Fetch from ni channel
uv run message_handler.py fetch -c xxx --json
# Post to netops channel
uv run message_handler.py post -c xxx "Message"
# List all available channels
uv run message_handler.py channels
Translation Guidelines
Korean → English:
- Professional, clear business language
- Adapt honorifics to English professional tone
- Preserve technical terms
English → Korean:
- Use 존댓말 for professional context
- Keep technical jargon in English (API, server, etc.)
- Maintain natural conversational tone
Setup
# 1. Configure .env
cd ~/.claude/skills/slack/scripts
cp .env.example .env
vi .env
SLACK_USER_TOKEN=xoxb-your-token
SLACK_CHANNEL_ID=xxx # Optional default channel
# 2. Install
cd ~/.claude/skills/slack/scripts
uv sync
Error Handling
- not_in_channel: Invite bot with
/invite @BotName - invalid_auth: Check
.envtoken - channel_not_found: Run
channelscommand to list available
Notes
- Messages displayed in chronological order (oldest first)
- Bot must be channel member to access messages
- Use
--jsonflag for JSON output, omit for human-readable format