← Back to Skills Marketplace
268
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-article-formatter-pro
Description
微信公众号智能排版引擎。输入草稿,AI 将自动润色、补全 Markdown 标签,并根据用户指定的主题色生成最终排版。
Usage Guidance
This skill appears coherent and focused: it converts drafted Markdown into a themed HTML file using bundled CSS. Before installing/using it: (1) ensure Python 3 and the Python 'markdown' package are available (the skill does not declare this dependency); (2) run it in a directory where writing draft_article.md and creating output_articles/ is acceptable (it may overwrite draft_article.md if present); (3) review the included Python files if you require extra assurance — they perform only local file I/O and HTML generation and make no network calls or credential accesses; (4) for extra safety, run the skill in an isolated/sandbox environment if the input or execution context is untrusted.
Capability Analysis
Type: OpenClaw Skill
Name: wechat-article-formatter-pro
Version: 1.0.0
The skill contains a path traversal vulnerability in 'wechat_template_generator.py' and 'skill_entry.py'. The 'theme_css' argument is passed directly from the command line to 'os.path.join' without sanitization, allowing an attacker to potentially read arbitrary local files (e.g., via '../../../../etc/passwd') and embed their contents into the generated HTML output. While the tool's logic for WeChat article formatting appears legitimate, the lack of path validation is a significant security flaw that could be exploited via prompt injection.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md workflow, and included Python modules (skill_entry.py and wechat_template_generator.py) all focus on converting a Markdown draft to themed HTML using the bundled CSS themes. Nothing requests unrelated services or credentials.
Instruction Scope
SKILL.md instructs the agent to produce/overwrite draft_article.md in the current directory and to run `python3 skill_entry.py draft_article.md <theme>`. That is within the stated purpose, but it will write files in the working directory (and create an output_articles/ folder) — users should be aware it may overwrite an existing draft_article.md if present.
Install Mechanism
No external install or remote downloads; code is included in the bundle. The only runtime dependency is the Python 'markdown' package which is not declared in metadata — there is no high-risk install step or external URL fetch.
Credentials
The skill requests no environment variables, credentials, or config paths. The code performs only local file reads/writes and local Markdown-to-HTML conversion, matching the purpose.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or global agent settings. It only writes generated HTML to output_articles/ in the current workspace.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-article-formatter-pro - After installation, invoke the skill by name or use
/wechat-article-formatter-pro - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of wechat-article-formatter-pro.
- Automatically refines and formats WeChat draft text, expands content, and applies proper Markdown tags.
- Supports 10 customizable CSS themes for visually appealing layouts.
- Ensures users choose a theme or defaults to "活力橙" if not specified.
- Outputs a fully formatted HTML version, informing users of the selected theme and preview path.
Metadata
Frequently Asked Questions
What is wechat article formatter pro?
微信公众号智能排版引擎。输入草稿,AI 将自动润色、补全 Markdown 标签,并根据用户指定的主题色生成最终排版。 It is an AI Agent Skill for Claude Code / OpenClaw, with 268 downloads so far.
How do I install wechat article formatter pro?
Run "/install wechat-article-formatter-pro" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is wechat article formatter pro free?
Yes, wechat article formatter pro is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does wechat article formatter pro support?
wechat article formatter pro is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created wechat article formatter pro?
It is built and maintained by tlgzs (@tlgzs); the current version is v1.0.0.
More Skills