Loading...
Loading...
Send notifications to Feishu/Lark. Internal utility used by other skills, or manually via /feishu-notify. Supports push-only (webhook) and interactive (bidirectional) modes. Use when user says "发飞书", "notify feishu", or other skills need to send status updates.
npx skill4agent add wanshuiyin/auto-claude-code-research-in-sleep feishu-notifyfeishu.json~/.claude/feishu.json{
"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
}
}| Mode | | What it does | Requires |
|---|---|---|---|
| Off | | Nothing. Pure CLI as-is | Nothing |
| Push only | | Send webhook notifications at key events. Mobile push, no reply | Feishu bot webhook URL |
| Interactive | | Full bidirectional. Approve/reject from Feishu, reply to checkpoints | feishu-claude-code running |
cat ~/.claude/feishu.json 2>/dev/null"mode": "off""mode": "push""mode": "interactive"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"}
]
}
}'| Event | Title | Color | Body |
|---|---|---|---|
| Experiment Complete | | Results table, delta vs baseline |
| Review Round N: X/10 | | Score, verdict, top 3 weaknesses |
| Checkpoint: Waiting for Input | | Question, options, context |
| Error: [type] | | Error message, what failed |
| Pipeline Complete | | Final summary, deliverables |
| Custom | | Free-form message from $ARGUMENTS |
curl -s -X POST "$BRIDGE_URL/send" \
-H "Content-Type: application/json" \
-d '{"type": "EVENT_TYPE", "title": "TITLE", "body": "BODY", "options": ["approve", "reject", "custom"]}'curl -s "$BRIDGE_URL/poll?timeout=$TIMEOUT_SECONDS"{"reply": "approve"}{"reply": "reject"}{"reply": "user typed message"}{"timeout": true}AUTO_PROCEED### 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)| Skill | Event | When |
|---|---|---|
| | After each round's review score |
| | Loop complete (positive or max rounds) |
| | After each round's review score |
| | All rounds complete |
| | Screen session finishes |
| | Between phases (if interactive) |
| | Final report ready |
| | Results collected |
| | Between workflow stages |
| | Full pipeline complete |
AUTO_PROCEED