Slack 操作

SkillCommunication

Use when you need to control Slack via the slack tool, including replying to messages in Slack channels or DMs, pinning/unpinning messages, and similar operations.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Slack 操作 skill

What this skill tells your AI

The instructions your AI receives, as published by l-lesteryu/openclaw-hot-skills-zh in skills/slack-zh/SKILL.md and read by ahel’s review.

概述

使用 slack 工具进行消息回复、置顶管理、发送/编辑/删除消息以及获取成员信息。该工具使用为 Clawdbot 配置的 bot token。

需要收集的输入信息

  • channelIdmessageId(Slack 消息时间戳,例如 1712023032.1234)。
  • 对于回复操作,需要一个 emoji(Unicode 表情或 :名称: 格式)。
  • 对于发送消息,需要一个 to 目标(channel:<id>user:<id>)和 content 内容。

消息上下文行中包含 slack message idchannel 字段,可以直接复用。

操作

操作组

操作组默认状态说明
reactions已启用回复消息 + 列出回复
messages已启用读取/发送/编辑/删除消息
pins已启用置顶/取消置顶/列出置顶
memberInfo已启用成员信息
emojiList已启用自定义表情列表

回复消息

{
  "action": "react",
  "channelId": "C123",
  "messageId": "1712023032.1234",
  "emoji": "✅"
}

列出回复

{
  "action": "reactions",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

发送消息

{
  "action": "sendMessage",
  "to": "channel:C123",
  "content": "来自 Clawdbot 的问候"
}

编辑消息

{
  "action": "editMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234",
  "content": "更新后的文本"
}

删除消息

{
  "action": "deleteMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

读取最近的消息

{
  "action": "readMessages",
  "channelId": "C123",
  "limit": 20
}

置顶消息

{
  "action": "pinMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

取消置顶消息

{
  "action": "unpinMessage",
  "channelId": "C123",
  "messageId": "1712023032.1234"
}

列出置顶项

{
  "action": "listPins",
  "channelId": "C123"
}

成员信息

{
  "action": "memberInfo",
  "userId": "U123"
}

表情列表

{
  "action": "emojiList"
}

使用建议

  • 用 ✅ 表情标记已完成的任务。
  • 置顶关键决策或每周状态更新。

Signals

GitHub stars
54
Forks
8
Last commit
Apr 2026

ahel review

  • S4info
    community integration — published by l-lesteryu, not slack

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
slack-zh
Source
github.com/l-lesteryu/openclaw-hot-skills-zh