wechat-message-queue

将到达的微信或 ClawBot 消息原文保存到云端持久队列,供后续本地 Codex 处理;在接收到微信或 ClawBot 消息且目标行为为保存原文时使用此技能(不进行摘要、分类或改写)。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "wechat-message-queue":https://skillpi.com/zh/skills/deepskill-cc7e8c64dafa4de3117a76e628fd45a8c6347b9327d7e9804557882e2e3b7c6b。安装前核对上游来源和版本:https://skillhub.cn/skills/user_cb22149b/wechat-message-queue。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

将到达的微信或 ClawBot 消息原文保存到云端持久队列,供后续本地 Codex 处理;在接收到微信或 ClawBot 消息且目标行为为保存原文时使用此技能(不进行摘要、分类或改写)。

0 下载

介绍来源: third_party · user_cb22149b · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
输入和输出
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: wechat-message-queue
description: Save incoming WeChat ClawBot messages into a durable cloud-side queue for later local Codex processing. Use this skill whenever a WeChat or ClawBot message arrives and the desired behavior is to store the original message without summarizing, classifying, rewriting, or writing to the user's local knowledge base.

WeChat Message Queue

Purpose

This skill is the cloud-side intake layer for WeChat ClawBot messages.

It must only save the original inbound message into a durable queue. It must not analyze, classify, summarize, rewrite, schedule, or update any knowledge-base file.

The user's local laptop and Codex process will later pull pending messages, classify them, rewrite them, and write them into the local Obsidian vault.

Required Behavior

When a WeChat/ClawBot message arrives:

  1. Preserve the original content exactly.
  2. Build a JSON payload with the best available fields.
  3. Run scripts/save_message.py with that JSON payload on stdin.
  4. Reply briefly with the saved message ID and status.

Never infer whether the message is a todo, done work, plan, reminder, or project update. That happens later on the local Codex side.

Queue Fields

Save one JSON object per message with these fields:

  • id: unique message id. Prefer the source message id. If unavailable, the script generates a stable hash.
  • source: usually wechat-clawbot.
  • sender: sender identifier or display name.
  • message_type: text, voice, image, file, or unknown.
  • raw_content: original text or transcript if already provided.
  • voice_url: voice file URL or local path if available.
  • image_url: image URL or local path if available.
  • created_at: source timestamp if available; otherwise current time.
  • status: initially pending.
  • processed_at: initially null.
  • retry_count: initially 0.
  • error: initially null.

Input Payload

Pass the script a JSON object like this:

{
  "message_id": "{{message_id}}",
  "source": "wechat-clawbot",
  "sender": "{{sender}}",
  "message_type": "{{message_type}}",
  "raw_content": "{{content}}",
  "voice_url": "{{voice_url}}",
  "image_url": "{{image_url}}",
  "created_at": "{{created_at}}"
}

If the platform uses different variable names, map the closest available values. At minimum, provide raw_content or a text-like field such as text, content, or message.

Script

Run:

python scripts/save_message.py

Send the JSON payload on stdin. The script returns JSON:

{
  "ok": true,
  "id": "message-id",
  "status": "pending",
  "duplicate": false,
  "queue_file": "/data/openclaw/wechat_queue/messages.ndjson"
}

If duplicate is true, do not save the message again. Reply that it was already recorded.

Storage

The script writes to:

  1. WECHAT_QUEUE_FILE, if that environment variable is set.
  2. Otherwise /data/openclaw/wechat_queue/messages.ndjson.
  3. If that path is not writable, it falls back to ./data/wechat_queue/messages.ndjson.

Use WECHAT_QUEUE_FILE on the server if you want a different persistent disk location.

Reply Style

On successful save:

已记录,等待本地 Codex 处理。
消息ID:<id>

For duplicate messages:

这条消息已记录,无需重复处理。
消息ID:<id>

For errors, report a short failure reason and do not claim that the message was saved.

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 明确解决 WeChat ClawBot 消息云端持久化存储的实际需求
  • 功能定位清晰,避免与本地 Codex 处理职责重叠
触发精准90/100

亮点

  • 触发场景描述清晰,边界明确
  • 覆盖多种消息类型和变量映射场景
结构规范95/100

亮点

  • 文档结构完整,章节划分清晰
  • 包含详细的字段说明、输入示例和回复规范
执行可靠90/100

亮点

  • 脚本路径和参数说明明确
  • 覆盖重复消息、错误处理等异常场景
  • 存储路径有明确回退机制
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。