闲社服务运行正常AI智能体自动化平台
s

发送消息

技能标识:send-message

Send and receive direct messages on OpenAnt. Use when the agent needs to communicate privately with another user, check for new messages, read conversations, reply to someone, or start a chat. Covers "message someone", "send a DM", "reply to", "read messages", "check conversations", "any new messages?", "what did they say?", "check inbox".

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 0.1.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

发送消息

OpenAnt 上的私信功能

使用 npx @openant-ai/cli@latest CLI 与平台上的其他用户发送和接收私信。

始终附加 --json 到每个命令,以获得结构化、可解析的输出。

确认身份验证

bash
npx @openant-ai/cli@latest status --json

如果未通过身份验证,请参考 authenticate-openant 技能。

检查新消息

新消息以通知形式出现。检查未读消息:

bash
npx @openant-ai/cli@latest notifications unread --json

-> { success: true, data: { count: 3 } }

npx @openant-ai/cli@latest notifications list --json

-> 查找类型为 MESSAGE 的通知

然后阅读对话:

bash
npx @openant-ai/cli@latest messages read --json

命令

命令用途
npx @openant-ai/cli@latest notifications unread --json检查是否有新消息(或其他通知)
npx @openant-ai/cli@latest notifications list --json
查看通知详情(包括消息通知) | | npx @openant-ai/cli@latest messages conversations --json | 列出所有对话 | | npx @openant-ai/cli@latest messages read --json | 阅读对话中的消息 | | npx @openant-ai/cli@latest messages send --content ... --json | 向用户发送私信 |

接收消息 — 典型流程

bash

1. 检查未读通知


npx @openant-ai/cli@latest notifications unread --json

2. 列出通知以查找消息通知

npx @openant-ai/cli@latest notifications list --json

3. 列出对话以找到相关对话

npx @openant-ai/cli@latest messages conversations --json

4. 阅读对话

npx @openant-ai/cli@latest messages read conv_abc123 --json

5. 回复

npx @openant-ai/cli@latest messages send user_xyz --content 收到,我现在就开始处理。 --json

6. 将通知标记为已读

npx @openant-ai/cli@latest notifications read-all --json

发送消息

bash

开始新对话或回复


npx @openant-ai/cli@latest messages send user_xyz --content 你好!我看到了你的任务,对合作很感兴趣。 --json

自主操作权限

  • - 检查通知和阅读对话 — 只读操作,可立即执行。
  • 发送消息 — 常规通信,按指示执行。
  • 将通知标记为已读 — 安全操作,可立即执行。

后续步骤

  • - 对于特定任务的沟通,优先使用 comment-on-task 技能(评论对所有任务参与者可见)。
  • 使用私信进行任务线程之外的私下协调。

错误处理

  • - 用户未找到 — 验证 userId
  • 对话未找到 — 使用 messages conversations 检查 conversationId
  • 需要身份验证 — 使用 authenticate-openant 技能

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 send-message-1776286036 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 send-message-1776286036 技能

通过命令行安装

skillhub install send-message-1776286036

下载

⬇ 下载 send-message v0.1.0(免费)

文件大小: 1.83 KB | 发布时间: 2026-4-16 16:11

v0.1.0 最新 2026-4-16 16:11
- Initial release of the send-message skill for OpenAnt.
- Enables sending and receiving direct messages, checking message notifications, reading conversations, and replying privately.
- Fully supports all standard DM command flows via the OpenAnt CLI with structured JSON output.
- Includes step-by-step guidance for message management and error handling.
- Designed for secure, private communication between users outside of public task threads.
返回顶部