Install
openclaw skills install wx-md-articleAutomatically generate WeChat public account articles from Markdown and upload them to the draft folder with clean, professional formatting and color rules.
openclaw skills install wx-md-article自动生成微信公众号文章并上传到草稿箱。
#07c160,带左边框#333<strong>,不使用额外颜色· 或数字,不使用 emoji# 生成文章并上传
./wechat-article.sh <input.md> <title> [author] [thumb_media_id]
# 示例
./wechat-article.sh article.md "文章标题" "超哥" --upload
# 一级标题 → 绿色小标题带边框
## 二级标题 → 加粗小标题
### 三级标题 → 普通加粗
- 列表项 → · 列表项
* 列表项 → · 列表项
1. 列表项 → 1. 列表项
> 引用 → 居中斜体引用框
**强调** → <strong>强调</strong>(黑色加粗)
*斜体* → <em>斜体</em>
普通段落 → 黑色正文
在 config.json 中配置:
{
"appid": "your_appid",
"appsecret": "your_appsecret",
"default_author": "超哥",
"style": {
"primary_color": "#07c160",
"text_color": "#333"
},
"formatting_rules": {
"use_emoji": false,
"max_colors": 2
}
}
skills/wechat-article/
├── SKILL.md # 本文件
├── wechat-article.sh # 主脚本
├── template.html # 文章模板(简洁版)
├── config.json # 配置文件
└── lib/
└── wechat-api.sh # 微信API封装
v1.1.0 - 更新为简洁专业风格,移除emoji,统一色彩