
Configure Notifications
Configure notification integrations (Telegram, Discord, Slack) via natural language
Install
npx skills add Yeachan-Heo/oh-my-claudecode --skill configure-notifications -g -a claude-code -y- Repository
- Yeachan-Heo/oh-my-claudecode40.5k
- Category
- Engineering
- Updated
- 3d ago
- License
- MIT
- Context cost
- Mediumabout 3,000 tokens
- Runs scripts
- No, instructions only
What it does
Configure notification integrations (Telegram, Discord, Slack) via natural language
Configure Notifications
Set up OMC notification integrations so you're alerted when sessions end, need input, or complete background tasks.
Routing
Detect which provider the user wants based on their request or argument:
- If the trigger or argument contains "telegram" → follow the Telegram section
- If the trigger or argument contains "discord" → follow the Discord section
- If the trigger or argument contains "slack" → follow the Slack section
- If no provider is specified, use AskUserQuestion:
Question: "Which notification service would you like to configure?"
Options:
- Telegram - Bot token + chat ID. Works on mobile and desktop.
- Discord - Webhook or bot token + channel ID.
- Slack - Incoming webhook URL.
Telegram Setup
Set up Telegram notifications so OMC can message you when sessions end, need input, or complete background tasks.
How This Skill Works
This is an interactive, natural-language configuration skill. Walk the user through setup by asking questions with AskUserQuestion. Write the result to ${CLAUDE_CONFIG_DIR:-~/.claude}/.omc-config.json.
Step 1: Detect Existing Configuration
CONFIG_FILE="${CLAUDE_CONFIG_DIR:-$HOME/.claude}/.omc-config.json"
if [ -f "$CONFIG_FILE" ]; then
HAS_TELEGRAM=$(jq -r '.notifications.telegram.enabled // false' "$CONFIG_FILE" 2>/dev/null)
CHAT_ID=$(jq -r '.notifications.telegram.chatId // empty' "$CONFIG_FILE" 2>/dev/null)
PARSE_MODE=$(jq -r '.notifications.telegram.parseMode // "Markdown"' "$CONFIG_FILE" 2>/dev/null)
if [ "$HAS_TELEGRAM" = "true" ]; then
echo "EXISTING_CONFIG=true"
echo "CHAT_ID=$CHAT_ID"
echo "PARSE_MODE=$PARSE_MODE"
else
echo "EXISTING_CONFIG=false"
fi
else
echo "NO_CONFIG_FILE"
fi
If existing config is found, show the user what's currently configured and ask if they want to update or reconfigure.
