en un clic
wechat-html-publisher
直接上传HTML富文本到微信公众号草稿箱。支持完整的HTML格式,无需Markdown转换。
Menu
直接上传HTML富文本到微信公众号草稿箱。支持完整的HTML格式,无需Markdown转换。
Comprehensive research framework that combines web search, content analysis, source verification, and iterative investigation to conduct in-depth research on any topic. Use when you need to perform thorough research with multiple sources, cross-validation, and structured findings.
获取同花顺个股题材/概念板块和人气排名数据。使用场景:(1) 查询单只股票在同花顺的题材/概念分类,(2) 获取同花顺个股人气排名榜单,(3) 生成包含题材和人气信息的 Markdown 报告。
生成 A 股每日复盘报告,包括大盘指数、市场情绪、题材方向、近 10 日涨幅前 20 股票等。 **触发场景**: - "生成今日股票复盘报告" - "更新股票日报" - "获取近 10 日涨幅排名" - "创建 stock-report-2026-xx-xx.md" **数据源**: - 大盘指数/成交量:cn-stock-volume skill(本地) - 近 10 日涨幅:astock-top-gainers skill(ClawHub) - 股票题材/人气:ths-stock-themes skill(ClawHub) - **行业逻辑**:stock-theme-events skill(真实新闻事件驱动)⭐ **输出**: 结构化 Markdown 报告,保存至 ~/Desktop/A 股每日复盘/
去除文本中的 AI 生成痕迹。适用于编辑或审阅文本,使其听起来更自然、更像人类书写。 基于维基百科的"AI 写作特征"综合指南。检测并修复以下模式:夸大的象征意义、 宣传性语言、以 -ing 结尾的肤浅分析、模糊的归因、破折号过度使用、三段式法则、 AI 词汇、否定式排比、过多的连接性短语。
Generate beautiful, hand-drawn Mermaid diagrams with robust syntax (quoted labels, ELK layout). Use this skill when the user asks for "diagram", "flowchart", "sequence diagram", or "visualize this process".
获取个股题材、同花顺热度等短线交易必要信息。当用户询问某只股票的题材概念、题材热度、同花顺题材、个股题材分析、股票涉及什么概念时使用此技能。数据来源为同花顺。
| name | wechat-html-publisher |
| description | 直接上传HTML富文本到微信公众号草稿箱。支持完整的HTML格式,无需Markdown转换。 |
| metadata | {"openclaw":{"emoji":"📄"}} |
直接上传HTML富文本到微信公众号草稿箱
与 wechat-publisher 不同,本skill直接上传HTML格式,无需Markdown转换。适合已经有完整HTML排版的文章。
确保环境变量已设置:
export WECHAT_APP_ID= YOU_WECHAT_APP_ID
export WECHAT_APP_SECRET= YOU_WECHAT_APP_SECRET
重要: 确保你的IP已添加到微信公众号后台的白名单!
HTML文件需要包含完整的样式(内联样式):
<section>
<h1 style="color: #333; font-size: 24px;">文章标题</h1>
<p style="line-height: 1.8;">文章内容...</p>
<img src="./images/photo.jpg" style="width: 100%;">
</section>
注意:
<style>标签或外部CSS使用脚本:
python scripts/publish_html.py \
--file article.html \
--title "文章标题" \
--cover ./cover.jpg
参数说明:
--file: HTML文件路径(必填)--title: 文章标题(必填)--cover: 封面图路径(必填)--author: 作者名称(可选)--digest: 文章摘要(可选)--source-url: 原文链接(可选)python scripts/publish_html.py \
--file my-article.html \
--title "2026年税务新政解读" \
--cover ./cover.jpg
python scripts/publish_html.py \
--file my-article.html \
--title "2026年税务新政解读" \
--cover ./cover.jpg \
--author "慧评税" \
--digest "详细解读2026年最新税务政策" \
--source-url "https://example.com/article"
python scripts/publish_html.py \
--file my-article.html \
--title "文章标题" \
--cover "https://example.com/cover.jpg"
<!-- ✅ 正确 -->
<p style="color: #333; font-size: 16px;">内容</p>
<!-- ❌ 错误 -->
<style>
p { color: #333; }
</style>
<p>内容</p>
<img src="./images/photo.jpg"><img src="/Users/user/photo.jpg"><img src="https://example.com/photo.jpg">所有图片会自动上传到微信图床并替换URL!
<section>
<section style="text-align: center;">
<h1 style="font-size: 24px; color: #333;">标题</h1>
</section>
<section style="margin: 20px 0;">
<p style="line-height: 1.8; color: #666;">正文内容...</p>
</section>
<section>
<img src="./image.jpg" style="width: 100%; display: block;">
</section>
</section>
| 特性 | wechat-publisher | wechat-html-publisher |
|---|---|---|
| 输入格式 | Markdown | HTML |
| 样式转换 | 自动应用主题 | 使用原有样式 |
| 适用场景 | 写作发布 | 已有HTML排版 |
| 依赖 | wenyan-cli | 仅Python |
错误: ip not in whitelist
解决:
curl ifconfig.me错误: invalid image
解决:
错误: invalid content
解决:
<style>标签MIT License