← 返回 Skills 市场
love254443233

微信公众号文章排版

作者 love254443233 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
151
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-typeset-pro
功能描述
将 Markdown 文章转换为微信公众号兼容的精美内联样式 HTML,支持30主题、AI内容增强、代码高亮及一键复制推送。
安全使用建议
This skill appears to implement the advertised Markdown→WeChat HTML workflow and to include publishing support, but there are mismatches and privacy concerns you should address before installing: - The SKILL.md says it auto-loads ~/.openclaw/.env for WECHAT_APP_ID and WECHAT_APP_SECRET, but the skill metadata lists no required env vars — expect to provide WeChat credentials if you use publishing. Confirm the metadata reflects this. - Inspect scripts/publish.py and scripts/format.py (search for network endpoints, external hosts, and any non-WeChat POST destinations). Verify publish.py uses official WeChat API endpoints (e.g., api.weixin.qq.com) and does not send content/credentials to other servers. - Check what exactly the loader does with ~/.openclaw/.env. If it blindly loads every variable from that file into the process, it could expose unrelated secrets. Consider moving only the necessary WECHAT credentials to a dedicated env file or pass them at runtime. - Because the skill bundles runnable Python code, run it first in an isolated environment (container or VM) and use --dry-run where available. Review logs and network traffic during a test run. - Verify the output directory and any hardcoded paths (config.json.vault_root) are acceptable for your environment; change them before running if needed. If you want, I can: (a) scan the full contents of scripts/format.py and scripts/publish.py for network calls, string obfuscation, or secret exfiltration indicators; or (b) suggest minimal sandbox commands to run a safe dry-run.
功能分析
Type: OpenClaw Skill Name: wechat-typeset-pro Version: 1.0.0 The skill is a legitimate and well-structured tool for converting Markdown articles into WeChat-compatible HTML and publishing them to the WeChat draft box. The scripts `scripts/format.py` and `scripts/publish.py` perform expected tasks such as CSS inlining, image processing, and official WeChat API interactions (via `api.weixin.qq.com`). Sensitive credentials like `WECHAT_APP_ID` are handled securely through environment variables. While `format.py` includes a broad file search feature (`os.walk`) to resolve image links within a user-defined directory, its behavior is consistent with the stated purpose of supporting Obsidian-style wikilinks.
能力评估
Purpose & Capability
Name/description match the code and themes provided: format.py and publish.py plus many theme JSONs are appropriate for a typesetting/publish tool. However the registry metadata declares no required env vars or config paths while SKILL.md explicitly expects WECHAT_APP_ID and WECHAT_APP_SECRET from ~/.openclaw/.env and a local output_dir — this mismatch is unexpected and should be reconciled.
Instruction Scope
Runtime instructions tell the agent to read user-supplied Markdown paths, load ~/.openclaw/.env, write structured/enhanced Markdown and outputs into ~/WorkBuddy/wechat-typeset-pro, and run scripts that may open a browser and call publish.py to push to WeChat. Reading ~/.openclaw/.env (an arbitrary env-file) and writing into the user's home directory are broader operations than the metadata declares and raise data-exposure concerns if that file contains other secrets.
Install Mechanism
No install spec (instruction-only) — lower installation risk. But the skill includes two non-trivial Python scripts bundled with many theme files; those scripts will be executed directly by instructions (python3 ...). Bundled executable code increases risk compared to pure prose instructions and should be audited before running.
Credentials
SKILL.md expects WECHAT_APP_ID and WECHAT_APP_SECRET (reasonable for publish functionality) and says it will auto-load ~/.openclaw/.env. The skill metadata, however, lists no required env vars or config paths. Automatically loading a dotfile from ~/.openclaw may expose unrelated credentials; the discrepancy between declared and actual env access is an incoherence and privacy risk.
Persistence & Privilege
always:false and user-invocable:true (normal). The skill writes outputs under the user's home (~/WorkBuddy/wechat-typeset-pro) and references a vault_root in config.json (a hardcoded developer path). It does not request permanent platform-wide privileges, but its file I/O targets user home paths which should be acceptable but worth noting.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-typeset-pro
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-typeset-pro 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
wechat-typeset-pro 1.0.0 初始发布: - 将 Markdown 文章一键转为适配微信公众号的精美内联样式 HTML,支持 30 套主题和可视化画廊选择 - 支持 AI 内容增强,如结构化预处理、要点提炼、自动容器标记等 - 支持多种风格主题,并智能推荐适合内容的主题,支持实时预览和选择 - 内置 CJK 间距修复、代码高亮、图说识别、对话气泡、多样 callout、时间线、画廊、流程等丰富排版增强 - 支持一键复制排版结果到公众号,或直接推送到草稿箱 - 环境变量管理微信凭证,提升安全性
元数据
Slug wechat-typeset-pro
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

微信公众号文章排版 是什么?

将 Markdown 文章转换为微信公众号兼容的精美内联样式 HTML,支持30主题、AI内容增强、代码高亮及一键复制推送。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 151 次。

如何安装 微信公众号文章排版?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-typeset-pro」即可一键安装,无需额外配置。

微信公众号文章排版 是免费的吗?

是的,微信公众号文章排版 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

微信公众号文章排版 支持哪些平台?

微信公众号文章排版 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 微信公众号文章排版?

由 love254443233(@love254443233)开发并维护,当前版本 v1.0.0。

💬 留言讨论