with one click
wxgzh-mcp
微信公众号草稿创建与管理技能,支持图片上传、创建草稿、发布等操作。需配置 AppID、AppSecret、白名单 IP。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
微信公众号草稿创建与管理技能,支持图片上传、创建草稿、发布等操作。需配置 AppID、AppSecret、白名单 IP。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Resolve dual-perspective collaboration conflicts by classifying them into 5 types and applying targeted integration strategies. Use when two agents (or an agent and user) have different approaches to the same problem — e.g., qualitative vs. quantitative, strategic vs. tactical, creative vs. analytical. Provides conflict taxonomy, resolution strategies, and a 5-metric dashboard for validation.
A free skill by Kami SmartHome. Get notified the moment a package arrives at your door. Detects packages, parcels, and bags from RTSP camera streams using AI vision.
Use this skill whenever the user wants Claude Code to write, scaffold, compile, debug, or review an arXiv-style academic paper, especially survey papers with LaTeX, BibTeX citations, TikZ figures, tables, and PDF output. This skill should trigger for requests like writing a full paper, creating an arXiv paper project, turning a research topic into a LaTeX manuscript, reproducing the Paper-Write-Skill-Test agent-survey workflow, or setting up a Windows/Linux Claude Code paper-writing loop.
排查 CLI Proxy API(codex-api-proxy)的配置、认证、模型注册和请求问题。适用场景包括:(1) AI 请求报错 unknown provider for model, (2) 模型列表中缺少预期模型, (3) codex-api-key/auth-dir 配置不生效, (4) CLI Proxy 启动后 AI 无法调用, (5) 认证成功但请求失败或超时。包含源码级排查方法:模型注册表架构、认证加载链路、 SanitizeCodexKeys 规则、常见错误的真实根因。
排查 DeepSeek V4-Pro 在 tool-call 模式下因 reasoning_content 字段缺失导致的 API 400 错误。适用场景:(1) DeepSeek V4-Pro 使用 thinking/reasoning 模式时遇到 400 error, (2) 报错内容为 'The reasoning_content in the thinking mode must be passed back to the API', (3) 与 OpenClaw/OpenAI-compatible 客户端集成时 multi-turn + tool call 场景下报错。包含触发条件、复现方法、临时 workaround、官方修复跟踪。
解决飞书 IM 语音气泡问题——通过 ffmpeg 将 TTS 输出的 mp3 转为飞书支持的 ogg-opus 格式。适用场景:(1) 在飞书机器人的 TTS 回复中需要显示语音气泡而非文件附件, (2) Edge TTS 或其他只支持 mp3/webm 输出的 TTS 引擎需要适配飞书, (3) 自定义 TTS provider 的飞书集成。包含核心原理、ffmpeg 命令、OpenClaw pipeline 集成方案。
| name | wxgzh-mcp |
| description | 微信公众号草稿创建与管理技能,支持图片上传、创建草稿、发布等操作。需配置 AppID、AppSecret、白名单 IP。 |
| 工具 | 说明 |
|---|---|
get_access_token | 获取 Access Token |
upload_thumb | 上传封面图 |
upload_image | 上传正文图片 |
create_draft | 创建草稿文章 |
list_drafts | 获取草稿列表 |
delete_draft | 删除草稿 |
publish_draft | 发布草稿(需认证账号) |
wxgzh-mcp/
├── SKILL.md # 本说明文件
├── README.md # 详细使用指南
├── config.json # 配置文件(用户填写)
├── src/
│ ├── main.py # 技能入口
│ ├── config.py # 配置管理
│ ├── wechat_api.py # 微信 API 封装
│ └── tools/
│ ├── token.py # Token 工具
│ ├── media.py # 媒体上传工具
│ └── draft.py # 草稿管理工具
├── docker-compose.yml # Docker 部署
└── requirements.txt # Python 依赖
本机 IP(用于 API 调用)需要加入微信公众号白名单。
查询本机 IP: 访问 https://api.ipify.org 或联系管理员获取。
添加白名单:
在 config.json 中填入你的公众号信息:
{
<!-- OpenClaw security redaction: secret removed from archive. -->
"app_secret": "你的AppSecret",
"proxy": null
}
cd wxgzh-mcp
pip install -r requirements.txt
# 测试 Token 获取
python -c "from src.wechat_api import WeChatAPI; api = WeChatAPI(); print(api.get_access_token())"
from src.wechat_api import WeChatAPI
api = WeChatAPI()
# 上传封面图(需先准备图片)
thumb_result = api.upload_thumb("封面图路径.jpg")
thumb_media_id = thumb_result["media_id"]
# 创建草稿
result = api.add_draft(
title="文章标题",
content="<p>正文内容 HTML</p>",
author="作者名",
thumb_media_id=thumb_media_id,
digest="摘要"
)
draft_media_id = result["media_id"]
print(f"草稿创建成功: {draft_media_id}")