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

feishu-notify

하는 일

이 스킬은 다른 도구에서 팀 채팅 앱인 Feishu나 Lark로 알림을 보냅니다. 긴 작업 중에 휴대폰으로 업데이트를 받고 싶은 사람을 위한 스킬입니다.

사용하는 경우

  • ✓긴 실험이나 검토가 끝났을 때 휴대폰으로 메시지를 받고 싶을 때.
  • ✓다른 스킬이 Feishu 채팅으로 상태 업데이트를 보내야 할 때.
  • ✓Feishu나 Lark로 직접 메시지를 보내고 싶을 때.

스킬 링크

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/feishu-notify/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“실험이 끝났다는 것을 알려 주는 Feishu 메시지를 보내 주세요.”

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

작동 방식

스킬은 Feishu 봇의 웹훅 링크가 담긴 작은 설정 파일을 읽고, 선택한 이벤트가 생기면 짧은 메시지를 보냅니다. 설정 파일이 없으면 아무 일도 하지 않습니다.

기술 내용 (원본 SKILL.md)

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

Feishu/Lark Notification

Send a notification: $ARGUMENTS

Overview

This skill provides Feishu/Lark integration for ARIS. It is designed as an internal utility — other skills call it at key events (experiment done, review scored, checkpoint waiting). It can also be invoked manually.

Zero-impact guarantee: If no feishu.json config exists, this skill does nothing and returns silently. All existing workflows are completely unaffected.

Configuration

The skill reads ~/.claude/feishu.json. If this file does not exist, all Feishu functionality is disabled — skills behave exactly as before.

Config Format

{
  "mode": "push",
  "webhook_url": "https://open.feishu.cn/open-apis/bot/v2/hook/YOUR_WEBHOOK_ID",
  "interactive": {
    "bridge_url": "http://localhost:5000",
    "timeout_seconds": 300
  }
}

Modes

Mode "mode" value What it does Requires
Off "off" or file absent Nothing. Pure CLI as-is Nothing
Push only "push" Send webhook notifications at key events. Mobile push, no reply Feishu bot webhook URL
Interactive "interactive" Full bidirectional. Approve/reject from Feishu, reply to checkpoints feishu-claude-code running

Workflow

Step 1: Read Config

cat ~/.claude/feishu.json 2>/dev/null
  • File not found → return silently, do nothing
  • "mode": "off" → return silently, do nothing
  • "mode": "push" → proceed to Step 2 (push)
  • "mode": "interactive" → proceed to Step 3 (interactive)

Step 2: Push Notification (webhook)

Send a rich card to the Feishu webhook:

curl -s -X POST "$WEBHOOK_URL" \
  -H "Content-Type: application/json" \
  -d '{
    "msg_type": "interactive",
    "card": {
      "header": {
        "title": {"tag": "plain_text", "content": "TITLE"},
        "template": "COLOR"
      },
      "elements": [
        {"tag": "markdown", "content": "BODY"}
      ]
    }
  }'

Card templates by event type:

Event Title Color Body
experiment_done Experiment Complete green Results table, delta vs baseline
review_scored Review Round N: X/10 blue (≥6) / orange (<6) Score, verdict, top 3 weaknesses
checkpoint Checkpoint: Waiting for Input yellow Question, options, context
error Error: [type] red Error message, what failed
pipeline_done Pipeline Complete purple Final summary, deliverables
custom Custom blue Free-form message from $ARGUMENTS

Return immediately after curl — push mode never waits for a response.

Step 3: Interactive Notification (bidirectional)

Interactive mode uses feishu-claude-code as a bridge:

  1. Send message to the bridge:

    curl -s -X POST "$BRIDGE_URL/send" \
      -H "Content-Type: application/json" \
      -d '{"type": "EVENT_TYPE", "title": "TITLE", "body": "BODY", "options": ["approve", "reject", "custom"]}'
    
  2. Wait for reply (with timeout):

    curl -s "$BRIDGE_URL/poll?timeout=$TIMEOUT_SECONDS"
    

    Returns: {"reply": "approve"} or {"reply": "reject"} or {"reply": "user typed message"} or {"timeout": true}

  3. On timeout: Fall back to AUTO_PROCEED behavior (proceed with default option).

  4. Return the user's reply to the calling skill so it can act on it.

Step 4: Verify Delivery

  • Push mode: Check curl exit code. If non-zero, log warning but do NOT block the workflow.
  • Interactive mode: If bridge is unreachable, fall back to push mode (if webhook configured) or skip silently.

Helper Function (for other skills)

Other skills should use this pattern to send notifications:

### Feishu Notification (if configured)

Check if `~/.claude/feishu.json` exists and mode is not "off":
- If **push** mode: send webhook notification with event summary
- If **interactive** mode: send notification and wait for user reply
- If **off** or file absent: skip entirely (no-op)

This check is always guarded. If the config file doesn't exist, the skill skips the notification block entirely — zero overhead, zero side effects.

Event Catalog

Skills send these events at these moments:

Skill Event When
/auto-review-loop `review_s
자주 묻는 질문

무엇을 설정해야 하나요?

사용자 폴더의 설정 파일에 저장된 Feishu나 Lark 봇 웹훅 URL이 필요합니다.

Feishu에서 에이전트에게 답장할 수 있나요?

대화형 모드에서만 가능하며, 이때는 별도의 브리지 프로그램이 실행 중이어야 합니다. 푸시 모드는 메시지만 보냅니다.

설정하지 않으면 어떻게 되나요?

아무 일도 일어나지 않습니다. 다른 스킬은 전과 같이 동작하며, 알림도 보내지 않습니다.

상세 정보

작성자의 원본 설명

Send notifications to Feishu/Lark. Internal utility used by other skills, or manually via /feishu-notify. Use when user says \"发飞书\", \"notify feishu\", or other skills need to send status updates.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬