wechat-style-publisher

支持多账号微信公众号发布,提供自定义文章主题、文章开头/结尾模板。当用户需要将带样式的文章发布到一个或多个微信公众号时使用此工具。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "wechat-style-publisher" with this command: npx skills add web3aivc/wechat-style-publisher

当任务是将一篇文章发布到一个或多个微信公众号,并需要使用账号独立凭据、主题化 HTML、以及可选的开头/结尾引导模板时,请使用此技能。

主要入口

  • Node.js 发布脚本:{baseDir}/scripts/publish-node.mjs
  • Python 发布脚本:{baseDir}/scripts/publish-python.py
  • 仅应用样式(Node.js):{baseDir}/scripts/apply-style.mjs
  • 模板导入工具:
    • {baseDir}/scripts/import-template-node.mjs
    • {baseDir}/scripts/import-template-python.py
  • 配置编辑器:{baseDir}/scripts/set-config.mjs

功能说明

  • 将草稿文章发布到一个或多个已配置的微信公众号
  • 支持通过 账号 ID 列表所有已启用账号进行发布
  • 支持内置主题以及自定义 CSS 覆盖
  • 在文章正文前后自动插入 intro / outro HTML 模板
  • 上传文章中的本地图片以及可选的封面图片
  • 在 Node.js 流程中自动 内联 CSS 以兼容微信公众号
  • 可从现有微信公众号文章 HTML 文件或文章 URL 中导入 intro/outro 模板和文章布局样式
  • 将提取出的模板存储为 命名变量,方便后续复用
  • 发布配置优先读取
    wechat.accounts.<accountId>.publishing
    若不存在则回退到顶层 publishing
  • 支持兼容参数别名,例如
    --article-url--link--template-name--template-registry
  • 支持 --extract-mode ai
    用于保留更多候选内容与分析 JSON,以便 AI 进一步优化模板

输入内容

  • HTML 内容
    如果原始文章是 Markdown,需要先转换为 HTML。

  • 多账号配置 JSON
    示例文件:
    {baseDir}/assets/config.example.json

  • 可选的文章开头/结尾模板
    示例文件:

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Pantry

Pantry — a fast home management tool. Log anything, find it later, export when needed.

Registry SourceRecently Updated
General

Milestone

A focused utility tools tool built for Milestone. Log entries, review trends, and export reports — all locally.

Registry SourceRecently Updated
General

Dingtalk Connector Guide

钉钉机器人接入指南 - OpenClaw 连接钉钉完整教程。适合:中国企业用户、钉钉开发者。

Registry SourceRecently Updated