← 返回 Skills 市场
268
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-article-formatter-pro
功能描述
微信公众号智能排版引擎。输入草稿,AI 将自动润色、补全 Markdown 标签,并根据用户指定的主题色生成最终排版。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechat-article-formatter-pro - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechat-article-formatter-pro触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
常见问题
wechat article formatter pro 是什么?
微信公众号智能排版引擎。输入草稿,AI 将自动润色、补全 Markdown 标签,并根据用户指定的主题色生成最终排版。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 268 次。
如何安装 wechat article formatter pro?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-article-formatter-pro」即可一键安装,无需额外配置。
wechat article formatter pro 是免费的吗?
是的,wechat article formatter pro 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
wechat article formatter pro 支持哪些平台?
wechat article formatter pro 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 wechat article formatter pro?
由 tlgzs(@tlgzs)开发并维护,当前版本 v1.0.0。
推荐 Skills