← Back to Skills Marketplace
微信公众号文章排版
by
love254443233
· GitHub ↗
· v1.0.0
· MIT-0
151
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-typeset-pro
Description
将 Markdown 文章转换为微信公众号兼容的精美内联样式 HTML,支持30主题、AI内容增强、代码高亮及一键复制推送。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-typeset-pro - After installation, invoke the skill by name or use
/wechat-typeset-pro - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
wechat-typeset-pro 1.0.0 初始发布:
- 将 Markdown 文章一键转为适配微信公众号的精美内联样式 HTML,支持 30 套主题和可视化画廊选择
- 支持 AI 内容增强,如结构化预处理、要点提炼、自动容器标记等
- 支持多种风格主题,并智能推荐适合内容的主题,支持实时预览和选择
- 内置 CJK 间距修复、代码高亮、图说识别、对话气泡、多样 callout、时间线、画廊、流程等丰富排版增强
- 支持一键复制排版结果到公众号,或直接推送到草稿箱
- 环境变量管理微信凭证,提升安全性
Metadata
Frequently Asked Questions
What is 微信公众号文章排版?
将 Markdown 文章转换为微信公众号兼容的精美内联样式 HTML,支持30主题、AI内容增强、代码高亮及一键复制推送。 It is an AI Agent Skill for Claude Code / OpenClaw, with 151 downloads so far.
How do I install 微信公众号文章排版?
Run "/install wechat-typeset-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 微信公众号文章排版 free?
Yes, 微信公众号文章排版 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 微信公众号文章排版 support?
微信公众号文章排版 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 微信公众号文章排版?
It is built and maintained by love254443233 (@love254443233); the current version is v1.0.0.
More Skills