Install
openclaw skills install @thcjp/slack-free经slack工具从SkillHub控Slack,含消息反应。The slack skill provides a comprehensive set of functionalities to control Slack from SkillHub, in。适用于多种工作场景,提供专业的能力支持。
openclaw skills install @thcjp/slack-free核心功能: 本技能提供专业的能力支持等能力。
The slack skill provides a comprehensive set of functionalities to control Slack from SkillHub, including message reactions, message management, pinning/unpinning messages, and retrieving member information. This skill is ideal for automating workflows and enhancing team communication.
To use the slack skill, you need to provide the following inputs:
channelId: The ID of the Slack channel where the action should be performed.messageId: The ID of the Slack message to be targeted (e.g., a message timestamp).emoji: An emoji to react to a message (in Unicode format or using Slack emoji names).to: The target for sending messages, specified as channel:<id> or user:<id>.content: The content of the message to be sent, edited, or deleted.userId: The ID of the Slack user whose information you want to retrieve.The slack skill offers the following action groups:
reactions: Manage reactions to messages.messages: Read, send, edit, and delete messages.pins: Pin and unpin messages.memberInfo: Retrieve information about Slack members.emojiList: List custom emoji in Slack.To react to a message, provide the channelId, messageId, and emoji. Here's an example:
{
"action": "react",
"channelId": "C123",
"messageId": "1712023032.1234",
"emoji": "✅"
}
To send a message, specify the to target and content. Here's an example:
{
"action": "sendMessage",
"to": "channel:C123",
"content": "Hello from SkillHub"
}
To pin a message, provide the channelId and messageId. Here's an example:
{
"action": "pinMessage",
"channelId": "C123",
"messageId": "1712023032.1234"
}
To list pinned items in a channel, provide the channelId. Here's an example:
{
"action": "listPins",
"channelId": "C123"
}
To retrieve information about a Slack member, provide the userId. Here's an example:
{
"action": "memberInfo",
"userId": "U123"
}
To list custom emoji in Slack, use the emojiList action. Here's an example:
{
"action": "emojiList"
}
react action to mark completed tasks with a checkmark emoji.| Dependency | Type | Required | Source |
|---|---|---|---|
| LLM API | API | Required | Provided by the Agent's built-in LLM |
slack skill uses Markdown instructions and does not require an additional API key unless specified for external APIs.| Scenario | Input | Output |
|---|---|---|
| Message reaction | Channel ID, Message ID, Emoji | Reaction added to the message |
| Message management | Channel ID, Message ID, Content | Message sent, edited, or deleted |
| Pinning | Channel ID, Message ID | Message pinned or unpinned |
| Member information retrieval | User ID | Member information retrieved |
Not applicable for: Complex decision scenarios requiring human judgment.
Input: User requests to react to a message with a checkmark emoji.
Process: The `slack` skill adds a checkmark emoji as a reaction to the specified message.
Output: The message now has a checkmark emoji as a reaction.
| Error Scenario | Reason | Resolution |
|---|---|---|
| Configuration error | Missing or incorrectly formatted parameters | Check the dependency requirements and configuration instructions. |
| Runtime error | Incompatible runtime environment | Confirm that the runtime environment meets the requirements. |
| Network error | Connection timeout or unreachability | Check the network connection and try again. Consider alternative domestic solutions if necessary. |
A: Please refer to the usage process section to ensure that the environment meets the dependency requirements.
A: Refer to the error handling section for instructions on how to resolve common issues.
A: Refer to the known limitations section for information about the skill's capabilities and restrictions.
The slack skill offers a robust set of functionalities to enhance team communication and streamline workflows through SkillHub. By providing detailed documentation and actionable examples, this skill empowers users to automate Slack interactions efficiently and effectively.