← All skills
Tencent SkillHub · Communication & Collaboration

Kim Msg

使用 Kim 发送消息。支持两种方式:(1) Webhook - 向群聊发送消息;(2) 消息号 - 向指定用户发送消息。当用户要求发送消息到 Kim、向 Kim 群聊推送通知、告警或使用 Kim 消息号时使用此技能。

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

使用 Kim 发送消息。支持两种方式:(1) Webhook - 向群聊发送消息;(2) 消息号 - 向指定用户发送消息。当用户要求发送消息到 Kim、向 Kim 群聊推送通知、告警或使用 Kim 消息号时使用此技能。

⬇ 0 downloads ★ 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
README.md, SKILL.md, scripts/message.js, scripts/send.sh, scripts/webhook.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.2.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 11 sections Open source page

概述

Kim 是快手的企业即时通讯工具,支持两种发送消息的方式: Webhook 方式 - 需要 Kim 机器人 Token,向机器人所在的群聊发送消息 消息号方式 - 需要 appKey + secretKey,可以直接发送给指定用户(快手邮箱前缀) 官方网站:https://kim.kuaishou.com/

首次配置

首次使用前,需要选择一种方式并配置相应的凭证:

Webhook 方式

需要从 Kim 机器人获取 Webhook Token,告诉晴晴帮你配置。

消息号方式

需要提供: appKey: Kim 应用 Key secretKey: Kim 应用 Secret 用户名: 要发送消息的目标用户(必须是快手邮箱前缀,如 wangyang,不是完整邮箱 wangyang@kuaishou.com)

方式一:Webhook 发送

# 发送 Markdown 消息到群聊 kim-msg/webhook.sh "**标题**\n\n正文内容" # 发送纯文本 kim-msg/webhook.sh "Hello World" --text

方式二:消息号发送

推荐:使用包装脚本(自动加载密钥) # 发送消息给指定用户(用户名必须是邮箱前缀,如 wangyang) kim-msg/send.sh -u <邮箱前缀> -m "消息内容" # 示例 kim-msg/send.sh -u wangyang -m "**提醒**:今天有会议" 或直接调用 Node 脚本(需自行设置环境变量) export KIM_APP_KEY=your_app_key export KIM_SECRET_KEY=your_secret_key kim-msg/message.js -u <邮箱前缀> -m "消息内容" ⚠️ 首次使用如果遇到权限错误,运行:chmod +x scripts/*.sh

Webhook

URL: https://kim-robot.kwaitalk.com/api/robot/send?key=<key> Method: POST Body: { "msgtype": "markdown", "markdown": {"content": "消息内容"} }

消息号

获取 Token: https://is-gateway.corp.kuaishou.com/token/get?appKey=<appKey>&secretKey=<secretKey> 发送消息: 自动尝试以下两个接口: 单用户:/openapi/v2/message/send(username 单个用户) 批量:/openapi/v2/message/batch/send(usernames 数组) 自动重试: 优先尝试单用户接口,失败则尝试批量接口 Headers: Authorization: Bearer <token> Body: { "msgType": "markdown", "markdown": {"content": "消息内容"}, "usernames": ["用户名"] }

优先级:环境变量 > 密钥文件

脚本内置智能密钥加载机制,按以下优先级查找: 环境变量(最高优先级) KIM_WEBHOOK_TOKEN(Webhook 方式) KIM_APP_KEY / KIM_SECRET_KEY(消息号方式) 密钥文件(自动 fallback) 如果环境变量未设置或发送失败,脚本会自动从以下位置查找密钥(按优先级): ~/.openclaw/.secrets(OpenClaw 统一密钥管理) ~/.kim_credentials(Kim 专用密钥文件) ./kim_credentials(项目本地密钥文件) 文件格式: KIM_APPKEY=your_app_key KIM_SECRET=your_secret_key Webhook Token 格式: KIM_WEBHOOK_TOKEN=your_webhook_token 💡 提示: 密钥文件权限建议设置为 600(仅所有者可读写):chmod 600 ~/.openclaw/.secrets 触发 fallback 时,脚本会输出警告提示,但不会暴露密钥文件路径 推荐本地开发使用密钥文件,CI/CD 使用环境变量

注意事项

不硬编码任何 API Key/Token 消息内容需合规 API 异常时检查凭证和网络 用户名必须是快手邮箱前缀(如 wangyang),不是完整邮箱

源码

GitHub: https://github.com/LeeGoDamn/kim-msg-skill

Category context

Messaging, meetings, inboxes, CRM, and teammate communication surfaces.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
3 Scripts2 Docs
  • SKILL.md Primary doc
  • README.md Docs
  • scripts/message.js Scripts
  • scripts/send.sh Scripts
  • scripts/webhook.sh Scripts