Langsung ke konten
Skillpedia
Email & pesan18k Β· #10536

feishu-notify

Fungsinya

Skill ini mengirim notifikasi ke Feishu atau Lark, aplikasi obrolan tim, dari alat lain. Skill ini untuk orang yang ingin pembaruan di ponsel saat tugas panjang berjalan.

Kapan dipakai

  • βœ“Saat eksperimen atau tinjauan panjang selesai dan Anda ingin pesan di ponsel.
  • βœ“Saat skill lain perlu mengirim pembaruan status ke obrolan Feishu Anda.
  • βœ“Saat Anda ingin mengirim pesan ke Feishu atau Lark secara manual.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/feishu-notify/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œSaya perlu pesan Feishu dikirim untuk memberi tahu saya bahwa eksperimennya sudah selesai.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill membaca file pengaturan kecil yang berisi tautan webhook untuk bot Feishu Anda, lalu mengirim pesan singkat pada peristiwa yang dipilih. Jika file pengaturan tidak ada, skill tidak melakukan apa pun.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Apa yang perlu saya atur?

URL webhook bot Feishu atau Lark yang disimpan di file pengaturan di folder pengguna Anda.

Bisakah saya membalas agent dari Feishu?

Hanya dalam mode interaktif, yang membutuhkan program jembatan terpisah yang berjalan. Mode push hanya mengirim pesan.

Apa yang terjadi jika saya tidak mengaturnya?

Tidak ada. Skill lain tetap bekerja seperti biasa, dan tidak ada notifikasi yang dikirim.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
18k
Peringkat
#10536
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa