Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计通过

feishu-notify飞书通知

Agent Skill

feishu-notify 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

5,527

周安装

235

GitHub Stars

1

下载量

1,936
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:feishu-notify(飞书通知)
来源仓库:https://github.com/alex098929/feishu-notify
安装命令:
openclaw skills install feishu-notify
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install feishu-notify

简介

通过 webhook 向飞书发送多种类型的通知消息。

  • 适合集成到自动化流程中推送状态更新或告警信息。
  • 支持文本、富文本等多种消息格式以满足不同通知需求。
  • 使用前需配置正确的 webhook URL 和认证参数。
  • 建议评估消息频率以避免触发飞书接口限制。feishu-notify 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
feishu-notify
description
This skill should be used when users need to send notifications to Feishu (Lark) via webhook. It supports multiple message types including text, rich text, interactive cards, and images. Users must configure webhook URLs in ~/.openclaw/skills/feishu-notify/config.json before using this skill.

Feishu Notify Skill

This skill enables sending notifications to Feishu (Lark) using webhook URLs. It supports various message types including text messages, rich text posts, interactive cards, and images.

Configuration Requirements

IMPORTANT: Before using this skill, you must configure your Feishu webhook URLs:

Create the configuration file at ~/.openclaw/skills/feishu-notify/config.json with the following content:

{
  "webhooks": {
    "default": "https://open.feishu.cn/open-apis/bot/v2/hook/your-webhook-url",
    "alerts": "https://open.feishu.cn/open-apis/bot/v2/hook/your-alerts-webhook-url",
    "notifications": "https://open.feishu.cn/open-apis/bot/v2/hook/your-notifications-webhook-url"
  }
}

Configuration Structure

  • default: Default webhook URL used when no specific webhook is specified
  • alerts: Webhook URL for alert messages
  • notifications: Webhook URL for general notifications
  • custom: You can add as many custom webhooks as needed (e.g., "devops", "finance", "marketing")

Configuration Priority

The skill loads configuration from:

  • User's config.json at ~/.openclaw/skills/feishu-notify/config.json (only source)

When to Use This Skill

Activate this skill when:

  • Users want to send notifications to Feishu groups
  • Users need to send alerts or notifications to Feishu
  • Users mention "send to Feishu", "notify Feishu", or "message Feishu"
  • Users want to send different types of messages (text, card, image) to Feishu

Skill Components

Scripts

The scripts/send_message.py script provides a reliable way to send messages to Feishu via webhook. This script:

  • Loads webhook URLs from user's config.json file
  • Supports multiple message types (text, post, interactive, image)
  • Handles message templates from templates directory (with security restrictions)
  • Provides error handling and response validation

Templates

The templates/ directory contains message templates for different scenarios:

  • text_simple.json: Simple text message template
  • post_rich.json: Rich text (post) message template
  • card_alert.json: Interactive card for alerts
  • card_notification.json: Interactive card for notifications
  • card_task.json: Interactive card for task updates

References

The references/api_documentation.md contains documentation about Feishu webhook API, including:

  • Webhook authentication and format
  • Supported message types and structures
  • Message template specifications
  • Error handling and response codes

Workflow

When this skill is activated:

  1. Check configuration - Verify that ~/.openclaw/skills/feishu-notify/config.json exists and contains valid webhook URLs. If not, prompt user to configure it.
  1. Determine message type based on user's request:

- Text message: For simple text notifications - Post (Rich text): For formatted messages with elements - Interactive card: For rich cards with buttons, images, and structured content - Image message: For sending image URLs

  1. Select webhook based on context:

- Use "default" if no specific webhook is mentioned - Use named webhooks (e.g., "alerts", "notifications") if specified - Use custom webhooks if provided by name

  1. Build or load message:

- Use a predefined template from templates directory - Or build a custom message based on user's content - Fill in template variables with user-provided data

  1. Send message using webhook URL:

- Run scripts/send_message.py with webhook name and message type - The script loads appropriate webhook URL from config.json - Returns delivery status and response

  1. Present results to user:

- Confirm message delivery status - Display any errors if delivery failed - Provide feedback on what was sent

Important Notes

  • Feishu webhooks use POST method with JSON body
  • Each webhook URL is specific to a Feishu group/chat
  • Message types include: "text", "post", "interactive", "image"
  • Webhook URLs are secrets and should be kept secure

- Never commit config.json to version control - Set file permissions to restrict access (chmod 600 on Unix/Linux) - Treat webhook URLs like API keys

  • Message size limit: 200KB for most message types
  • Interactive cards support buttons, images, markdown, and more
  • The script validates the response from Feishu API
  • Template loading is restricted to the templates/ directory for security
  • The agent can call this skill autonomously (messages may be sent without explicit confirmation)

Message Types

1. Text Message

Simple text-only messages.

{
  "msg_type": "text",
  "content": {
    "text": "Your message here"
  }
}

2. Post (Rich Text) Message

Messages with rich formatting including text, links, @mentions, images, and more.

3. Interactive Card Message

Rich cards with structured content, buttons, images, and interactive elements.

4. Image Message

Messages with image URLs (image_key or image_url).

Example Interactions

User: "Send a notification to Feishu: 'Deployment completed successfully'" Action: Use "default" webhook, send text message with provided text

User: "Send an alert to Feishu about server error: 'Connection timeout'" Action: Use "alerts" webhook, use card_alert template with error details

User: "Send a task update to Feishu: Task #123 completed by John" Action: Use "notifications" webhook, use card_task template with task information

User: "Send a rich message to devops webhook about deployment status" Action: Use "devops" webhook, use post_rich template with deployment details

User: "Notify the team about the meeting at 3 PM" Action: Use "default" webhook, send text message with meeting details

Error Handling

If configuration is missing:

  • Inform user that webhook URLs need to be configured
  • Provide instructions on creating ~/.openclaw/skills/feishu-notify/config.json
  • Show required JSON format
  • Remind user to keep webhook URLs secret

If webhook is not found:

  • Check if the specified webhook name exists in config
  • Suggest using "default" webhook or adding the named webhook

If message sending fails:

  • Check if the webhook URL is valid
  • Verify network connectivity
  • Display error message from Feishu API
  • Suggest checking the webhook configuration

If template loading fails:

  • Ensure the template file is within the templates/ directory
  • For security reasons, arbitrary JSON files cannot be used as templates
  • Use predefined templates or add new ones to the templates/ directory

Template Usage

Templates are stored in the templates/ directory with JSON format. Each template includes:

  • Message type definition
  • Content structure with placeholders
  • Variable replacement support

Security: For security reasons, template loading is restricted to the templates/ directory only. Arbitrary JSON files cannot be used as templates.

To use a template:

  1. Select the appropriate template based on the message type
  2. Replace placeholder variables with actual content
  3. Send using the send_message.py script with the template path

Note: When adding custom templates, place them in the templates/ directory to ensure they can be loaded by the script.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

82.1%
按下载量换算1,589

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills