← Back to Skills Marketplace
fengbabao0929

公众号文章创作

by fengbabao0929 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
879
Downloads
3
Stars
14
Active Installs
1
Versions
Install in OpenClaw
/install wechat-article-writer
Description
公众号写作助手 - 专注公众号文章创作,从选题到成稿+自动配图的完整流程。触发词:"写公众号"、"公众号文章"、"推文"、"/wechat
Usage Guidance
Key issues to consider before installing: 1) Hard-coded API key present — scripts/image.env contains an API_KEY value. Treat this as a secret leak: do not assume it belongs to you. Replace it with your own key or remove the file. Consider revoking the key if it appears to be yours or exposing sensitive credentials. 2) Undeclared credential usage — the skill metadata declares no required env vars, but the image script expects a credentials file (scripts/image.env). The mismatch is suspicious and means the skill will use whatever key is present in the repository by default. 3) Fixed absolute save path — SKILL.md forces saving articles/prompts to E:\Claude Code\claude\articles\青少年学习教练公众号\. Change this to a configurable relative path or prompt the user for a directory before saving; running as-is may fail on non-Windows systems or overwrite files. 4) Network activity — the included Python script calls an external image-generation API (智谱AI / open.bigmodel.cn) and downloads images. If you keep/replace the provided API key, those external calls will be made under that credential. Run the script in a sandbox or review network behavior first. Recommended actions: - Do not use the embedded API key. Replace scripts/image.env with your own key or remove it and require the user to provide credentials. - Modify the skill to make the article output directory configurable (or prompt the user) instead of a hard-coded absolute path. - Run the image generation script manually in a controlled environment after reviewing/confirming the API key and dependency installation (pip install zhipuai). - If you want to proceed, test in a sandbox/VM and inspect all files the skill writes. If you cannot confirm the origin/ownership of the embedded API key, do not use it.
Capability Analysis
Type: OpenClaw Skill Name: wechat-article-writer Version: 1.0.0 The skill is classified as suspicious due to several significant security vulnerabilities. Most critically, the `stages/04-writing.md` file explicitly instructs the AI agent to execute a shell command (`python scripts/generate_images.py --input prompts.jsonl`). This presents a high risk of prompt injection leading to arbitrary code execution (RCE) if the `--input` file or the command line arguments can be manipulated by a malicious user prompt. Additionally, a sensitive API key is hardcoded in `scripts/image.env` and exposed in `SKILL.md`, which is a severe credential management flaw. Hardcoded Windows-style file paths for saving content (`E:\Claude Code\claude\articles\青少年学习教练公众号\`) are also present in `SKILL.md` and `stages/04-writing.md`, posing compatibility and potential file system interaction issues.
Capability Assessment
Purpose & Capability
The skill's behavior (article drafting + optional image generation) is consistent with its name/description. The included generate_images.py and image templates align with the '自动配图' feature. However, the skill embeds an API key in scripts/image.env and hard-codes a Windows save path (E:\Claude Code\claude\articles\青少年学习教练公众号\) which are not justified in the top-level metadata (no required env vars declared).
Instruction Scope
Runtime instructions direct automatic saving of completed articles and generated prompt files to a specific absolute path on disk and to auto-generate prompt files after writing. Although image generation requires explicit user confirmation before calling the API, the skill still auto-saves files to the stated path without any configurable option in the SKILL.md; this writes to a host filesystem location that may not exist or may overwrite user files. The instructions also rely on scripts/image.env (with credentials) but the skill metadata declares no required environment variables/config — a scope mismatch.
Install Mechanism
No install spec (instruction-only) — lowest installer risk. The python script requires the third-party 'zhipuai' library (pip install zhipuai) and performs network calls to an external image API; this is expected for an image-generation helper. There is no remote download of executable archives in the skill, but the script will fetch images from external URLs returned by the image API.
Credentials
The repository contains a pre-filled scripts/image.env with an API_KEY value (API_KEY=88e6f80c14cb40e4ba6d5bfe702d6aac.74cOvJgmo1t48yrv). Yet the skill metadata lists no required env vars or primary credential. Hard-coded credential in the repo is disproportionate and undocumented — it may be a leaked/third-party key or a placeholder, and it could be used by the script to call external APIs on behalf of the user. The script expects API_KEY in scripts/image.env by default, so the skill will use that key unless replaced.
Persistence & Privilege
The skill is not always-enabled and is user-invocable (normal). It does request writing files to disk (automatic save of Markdown and prompts) to a hard-coded directory. While writing its own output is reasonable for this purpose, the fixed absolute path (non-configurable in instructions) is unexpected and could cause unintended writes; the skill does not request elevated system privileges in metadata.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wechat-article-writer
  3. After installation, invoke the skill by name or use /wechat-article-writer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
wechat-article-writer 1.0.0 初始发布 - 全面实现公众号文章写作全流程,从选题、爆款标题生成、结构搭建到成稿和MD排版自动保存 - 自动生成配图提示词,覆盖封面、信息图和结尾引导图,并支持用户确认后批量生成配图 - 强调实用、口语化、段落连贯的专属写作风格,避免碎片化表达 - 支持四大主流文章类型,统一字数标准2500-3000字 - 完善文件结构与流程分阶段拆分,支持模板/脚本扩展和一键储存
Metadata
Slug wechat-article-writer
Version 1.0.0
License
All-time Installs 15
Active Installs 14
Total Versions 1
Frequently Asked Questions

What is 公众号文章创作?

公众号写作助手 - 专注公众号文章创作,从选题到成稿+自动配图的完整流程。触发词:"写公众号"、"公众号文章"、"推文"、"/wechat. It is an AI Agent Skill for Claude Code / OpenClaw, with 879 downloads so far.

How do I install 公众号文章创作?

Run "/install wechat-article-writer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 公众号文章创作 free?

Yes, 公众号文章创作 is completely free (open-source). 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 fengbabao0929 (@fengbabao0929); the current version is v1.0.0.

💬 Comments