← 返回 Skills 市场
153
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-comm-monitor
功能描述
监控牧者与其他 Agent 的通信状态,定期检测并报告跨 Agent 消息传递的正常与异常情况。
使用说明 (SKILL.md)
Agent 通信监控 Skill
简介
此 Skill 用于监控牧者(muzhe)与其他 Agent(司辰、采诗、格物、计相、蒙正)之间的通信状态,确保跨 Agent 消息传递正常,并定期向用户报告通信情况。
触发条件
当用户要求以下情况时使用:
- "检查 Agent 通信状态"
- "验证与 XX 的通信"
- "Agent 通信报告"
- "监控通信状态"
通信测试流程
1. 单向通信测试
使用 sessions_send 工具向目标 Agent 发送测试消息:
sessions_send(sessionKey="agent:{agent_name}:main", message="【牧者通信测试】这是一条验证消息,请回复确认。测试时间:{current_time}")
2. 响应判断
| 状态 | 含义 |
|---|---|
status: "ok" + 有 reply |
✅ 双向通信正常 |
status: "ok" + 无 reply |
⚠️ 单向通信正常,回复可能延迟 |
status: "timeout" |
❌ 通信异常 |
3. 备用验证
如果 sessions_send 返回超时,使用 sessions_history 检查目标 Agent 的会话历史,确认消息是否已送达。
Agent 列表
| Agent | Session Key | 主要职责 |
|---|---|---|
| 司辰 | agent:sichen:main | 日历日程管理 |
| 采诗 | agent:caishi:main | 前沿资讯追踪 |
| 格物 | agent:gewu:main | Agent 进化管理 |
| 计相 | agent:jixiang:main | 学习管理 |
| 蒙正 | agent:mengzheng:main | 孩子教育 |
报告格式
向用户报告时使用以下精简格式:
📊 Agent 通信状态报告
| Agent | 状态 | 响应时间 |
|-------|------|----------|
| 司辰 | ✅ 正常 | \x3C1s |
| 采诗 | ✅ 正常 | \x3C1s |
| 格物 | ✅ 正常 | \x3C1s |
| 计相 | ⚠️ 待测 | - |
| 蒙正 | ✅ 正常 | \x3C1s |
🕐 检测时间:12:24
注意事项
- 异步延迟:跨 Agent 消息可能存在 1-3 秒的异步延迟
- 超时容忍:如果
sessions_send超时,等待 5 秒后重新检查会话历史 - 精简报告:向用户报告时使用表格形式,保持简洁
- 异常记录:如果发现异常,记录到 MEMORY.md 中
紧急异常处理
如果某个 Agent 连续 3 次通信失败:
- 记录到 HEARTBEAT.md 的异常日志中
- 在下次 heartbeat 时提醒用户
- 建议用户检查该 Agent 的运行状态
安全使用建议
This skill appears to do what it says: send test messages, check session history, and produce a report. Before installing, confirm you are comfortable with the agent having access to sessions_send/sessions_history and with the skill writing log entries to MEMORY.md and HEARTBEAT.md (these may contain message contents). Consider: run it with explicit invocation only if you want to avoid automatic monitoring; verify where those log files are stored and how long they are retained; redact or avoid logging sensitive message content; and test in a non-production environment first. If you need stronger guarantees, ask the skill author how logs are protected and whether logs are shared externally.
功能分析
Type: OpenClaw Skill
Name: agent-comm-monitor
Version: 1.0.0
The agent-comm-monitor skill is designed to verify communication status between different internal agents (e.g., Sichen, Caishi) using standard session management tools. The instructions in SKILL.md are well-defined, focusing on connectivity testing and status reporting without any evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name/description match the instructions: the SKILL.md calls the platform session APIs (sessions_send, sessions_history) and targets specific agent session keys to test and report cross-agent messaging — this is proportional to a communication-monitoring skill.
Instruction Scope
Instructions stay on-topic (send test messages, check session history, interpret replies). They also instruct the agent to write anomalies to MEMORY.md and HEARTBEAT.md; reading session histories and persisting logs is expected for monitoring but has privacy implications because it accesses message contents and creates persistent records.
Install Mechanism
No install spec and no code files — instruction-only behavior is low-risk from an installation perspective (nothing is downloaded or written to disk by an installer).
Credentials
The skill requests no environment variables or external credentials. Its operational needs (access to sessions_* APIs and the agent workspace) are appropriate for its stated purpose.
Persistence & Privilege
always is false and the skill is not force-included. However, it explicitly directs writing to MEMORY.md and HEARTBEAT.md (persistent workspace files) and recommends logging after repeated failures — this grants it the ability to create/modify local logs which the user should be aware of.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-comm-monitor - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-comm-monitor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
agent-comm-monitor 1.0.0
- Initial release: provides status monitoring between muzhe and other Agents to ensure message delivery.
- Supports testing and verifying both one-way and two-way communication with detailed status logic.
- Reports summarized results to users in a concise table format.
- Includes fallback mechanisms for communication timeouts by inspecting session histories.
- Logs abnormalities and triggers emergency handling after repeated failures, with guidance for follow-up.
元数据
常见问题
Agent Comm Monitor 是什么?
监控牧者与其他 Agent 的通信状态,定期检测并报告跨 Agent 消息传递的正常与异常情况。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 153 次。
如何安装 Agent Comm Monitor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-comm-monitor」即可一键安装,无需额外配置。
Agent Comm Monitor 是免费的吗?
是的,Agent Comm Monitor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Agent Comm Monitor 支持哪些平台?
Agent Comm Monitor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Comm Monitor?
由 nancliu(@nancliu)开发并维护,当前版本 v1.0.0。
推荐 Skills