본문으로 건너뛰기
Skillpedia
이메일 및 메시지41k · #6997

configure-notifications

하는 일

이 스킬은 Claude Code 알림을 Telegram, Discord, Slack에 연결하는 과정을 안내합니다. 긴 작업이 끝나거나 사용자가 필요할 때 메시지를 받고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓세션이 끝나면 Telegram, Discord, Slack에서 알림을 받고 싶을 때.
  • ✓Claude Code가 입력을 필요로 할 때 메시지를 받고 싶을 때.
  • ✓백그라운드 작업의 업데이트를 휴대폰이나 채팅 앱으로 받고 싶을 때.

스킬 링크

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/configure-notifications/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/configure-notifications/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Telegram 알림을 설정해서 Claude 세션이 끝나면 메시지를 받게 해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 어떤 서비스를 원하는지 묻고, 봇 토큰과 채팅 또는 채널 정보를 안내합니다. 그다음 알림이 작동하도록 Claude 설정 파일의 알림 항목에 설정을 저장합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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:

  1. Telegram - Bot token + chat ID. Works on mobile and desktop.
  2. Discord - Webhook or bot token + channel ID.
  3. 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.

Step 2: Create a Telegram Bot

Guide the user through creating a bot if they don't have one:

To set up Telegram notifications, you need a Telegram bot token and your chat ID.

CREATE A BOT (if you don't have one):
1. Open Telegram and search for @BotFather
2. Send /newbot
3. Choose a name (e.g., "My OMC Notifier")
4. Choose a username (e.g., "my_omc_bot")
5. BotFather will give you a token like: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz

GET YOUR CHAT ID:
1. Start a chat with your new bot (send /start)
2. Visit: https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates
3. Look for "chat":{"id":YOUR_CHAT_ID}
   - Personal chat IDs are positive numbers (e.g., 123456789)
   - Group chat IDs are negative numbers (e.g., -1001234567890)

Step 3: Collect Bot Token

Use AskUserQuestion:

Question: "Paste your Telegram bot token (from @BotFather)"

The user will type their token in the "Other" field.

Validate the token:

  • Must match pattern: digits:alphanumeric (e.g., 123456789:ABCdefGHI...)
  • If invalid, explain the format and ask again

Step 4: Collect Chat ID

Use AskUserQuestion:

Question: "Paste your Telegram chat ID (the number from getUpdates API)"

The user will type their chat ID in the "Other" field.

Validate the chat ID:

  • Must be a number (positive for personal, negative for groups)
  • If invalid, offer to help them find it:
# Help user find their chat ID
BOT_TOKEN="USER_PROVIDED_TOKEN"
echo "Fetching recent messages to find your chat ID..."
curl -s "https://api.telegram.org/bot${BOT_TOKEN}/getUpdates" | jq '.result[-1].message.chat.id // .result[-1].message.from.id // "No messages found - send /start to your bot first"'

Step 5: Choose Parse Mode

Use AskUserQuestion:

Question: "Which message format do you prefer?"

Options:

  1. Markdown (Recommended) - Bold, italic, code blocks with Markdown syntax
  2. HTML - Bold, italic, code with HTML tags

Step 6: Configure Events

Use AskUserQuestion with multiSelect:

Question: "Which events should trigger Telegram notifications?"

Options (multiSelect: true):

  1. Session end (Recommended) - When a Claude session finishes
  2. Input needed - When Claude is waiting for your response (great for long-running tasks)
  3. Session start - When a new session begins
  4. Session continuing - When a persistent mode keeps the session alive

Default selection: session-end + ask-user-question.

Step 7: Write Configuration

Read the existing config, merge the new Telegram settings, and write back:

CONFIG_FILE="${CLAUDE_CON
자주 묻는 질문

지원되는 서비스는 무엇인가요?

Telegram, Discord, Slack이며, 각각 별도의 설정 단계가 있습니다.

설정은 어디에 저장되나요?

Claude 설정 파일의 알림 섹션에 저장됩니다.

사용자에게 무엇이 필요한가요?

선택한 서비스의 봇 토큰과 채팅 또는 채널 정보가 필요합니다.

상세 정보

작성자의 원본 설명

Configure notification integrations (Telegram, Discord, Slack) via natural language

repo: Yeachan-Heo/oh-my-claudecode

인기도

GitHub 스타
41k
순위
#6997
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬