feishu-notify
Skill này làm gì
Skill này gửi thông báo tới Feishu hoặc Lark, một ứng dụng trò chuyện nhóm, từ các công cụ khác. Dành cho người muốn nhận cập nhật trên điện thoại trong các tác vụ dài.
Khi nào nên dùng
- ✓Khi một thí nghiệm hoặc rà soát dài kết thúc và bạn muốn một tin nhắn trên điện thoại.
- ✓Khi một skill khác cần gửi cập nhật trạng thái tới cuộc trò chuyện Feishu của bạn.
- ✓Khi bạn muốn gửi tin nhắn tới Feishu hoặc Lark bằng tay.
Liên kết skill
https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/feishu-notify/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi cần một tin nhắn Feishu báo cho tôi biết thí nghiệm đã xong.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill đọc một tệp cài đặt nhỏ chứa đường dẫn webhook của bot Feishu của bạn, rồi gửi một tin nhắn ngắn khi sự kiện đã chọn xảy ra. Nếu không có tệp cài đặt, nó không làm gì.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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:
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"]}'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}On timeout: Fall back to
AUTO_PROCEEDbehavior (proceed with default option).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 |
Câu hỏi thường gặp
Tôi cần thiết lập gì?
Bạn cần một URL webhook của bot Feishu hoặc Lark được lưu trong một tệp cài đặt trong thư mục người dùng.
Tôi có thể trả lời agent từ Feishu không?
Chỉ ở chế độ tương tác, cần một chương trình cầu nối chạy riêng. Chế độ đẩy chỉ gửi tin nhắn.
Điều gì xảy ra nếu tôi không thiết lập?
Không có gì cả. Các skill khác vẫn hoạt động như cũ và không có thông báo nào được gửi.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 18k
- Vị trí xếp hạng
- #10536
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
ablation-planner
18kGiúp agent của bạn lên kế hoạch thí nghiệm ablation cho một bài báo, chọn các thí nghiệm mà người phản biện có khả năng yêu cầu khi kết quả chính đã ổn.
alphaxiv
18kCho phép agent của bạn đọc nhanh một bài báo nghiên cứu bằng các bản tóm tắt AlphaXiv, với toàn văn hoặc mã LaTeX dự phòng, từ liên kết arXiv hoặc ID.
analyze-results
18kGiúp agent của bạn phân tích kết quả thí nghiệm học máy, so sánh các lần chạy với một baseline, và biến các con số thành phát hiện rõ ràng và bước tiếp theo.
arxiv
18kCho phép agent của bạn tìm bài báo trên arXiv, đọc chi tiết của chúng và lưu PDF vào thư viện của bạn theo một chủ đề nghiên cứu.
Skill tương tự
discord-user-post
394kCho phép agent của bạn đăng tin nhắn đã duyệt lên Discord dưới tên bạn qua app Discord trên máy tính, sau khi xác nhận đúng kênh.
configure-channel
394kHướng dẫn agent của bạn kết nối một ứng dụng chat như Telegram với OpenClaw, lưu token bot an toàn và kiểm tra tin nhắn có đi qua được không.
discord
394kGiúp agent của bạn đọc, gửi, sửa và thả biểu cảm cho tin nhắn Discord qua OpenClaw, và kiểm tra đúng tin nhắn trước khi thay đổi.