Aller au contenu
Skillpedia
E-mail et messagerie18k · #10536

feishu-notify

Ce qu’il fait

Cette skill envoie des notifications vers Feishu ou Lark, une application de discussion d'équipe, depuis d'autres outils. Elle s'adresse aux personnes qui veulent recevoir des nouvelles sur leur téléphone pendant les tâches longues.

Quand l’utiliser

  • ✓Quand une longue expérience ou une relecture se termine et que vous voulez un message sur votre téléphone.
  • ✓Quand une autre skill doit envoyer une mise à jour d'état dans votre discussion Feishu.
  • ✓Quand vous voulez envoyer manuellement un message vers Feishu ou Lark.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/feishu-notify/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“J'ai besoin qu'un message Feishu me prévienne que l'expérience est terminée.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

La skill lit un petit fichier de paramètres contenant le lien webhook de votre bot Feishu, puis envoie un message court lors de l'événement choisi. Si aucun fichier de paramètres n'existe, elle ne fait rien.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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
Questions fréquentes

Que dois-je configurer ?

Vous devez enregistrer l'URL du webhook d'un bot Feishu ou Lark dans un fichier de paramètres de votre dossier utilisateur.

Puis-je répondre à l'agent depuis Feishu ?

Seulement en mode interactif, qui nécessite un programme de pont distinct en cours d'exécution. Le mode push n'envoie que des messages.

Que se passe-t-il si je ne la configure pas ?

Rien. Les autres skills fonctionnent comme avant et aucune notification n'est envoyée.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
18k
Position au classement
#10536
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires