← 返回 Skills 市场
chunhualiao

WeChat Article Writer

作者 Chunhua Liao · GitHub ↗ · v2.4.1
cross-platform ⚠ suspicious
712
总下载
1
收藏
3
当前安装
5
版本数
在 OpenClaw 中安装
/install wechat-article-forge
功能描述
End-to-end 微信公众号 article writing and publishing — from topic ideation to published article, with quality gates.
安全使用建议
What to check before installing or running this skill: - Metadata mismatch: The skill bundle and docs expect WeChat API credentials and image-provider API keys (ZAI/OPENROUTER/GLM) and a secrets.json path, but the registry metadata declares no required env vars or config paths. Treat that as a red flag and ask the maintainer why the metadata is incomplete. - Inspect the installer: Open scripts/setup.sh and scripts/publish_via_api.py before running. The setup script will install runtimes (bun), dependencies and register a systemd service (wechat-preview.service on port 8898). Installing services usually needs sudo and leaves a persistent network-facing component — only run if you trust the code or run it inside an isolated VM/container. - Secrets handling: The skill writes/reads ~/.wechat-article-writer/secrets.json and pipeline-state.json which can contain the WeChat token/appid/appsecret. Prefer using a low‑privilege WeChat account or test account; do not supply production credentials until you’ve audited the code. - Network calls and third parties: The skill will call external endpoints — WeChat APIs and third‑party image providers (Z.AI/OpenRouter). Confirm which hosts and endpoints publish_via_api.py and generate scripts call, and be aware of cost implications for image generation (doc lists providers and per-image cost). - Prefer non‑privileged testing: If you want to try only formatting/preview functionality, avoid giving browser/CDP access or publishing credentials; run the renderer locally to produce formatted.html and serve it manually instead of running setup.sh. - If you must run it: run setup in an isolated environment (container or disposable VM), review logs and network traffic, and verify the systemd unit content before enabling it. Ask the publisher to update the registry metadata to declare required env vars and config paths so permissions are explicit. If you want, I can: (a) point out the exact lines in setup.sh and publish_via_api.py that create services or send credentials, (b) produce a minimal checklist of what to audit in those scripts, or (c) suggest a safer containerized install procedure.
功能分析
Type: OpenClaw Skill Name: wechat-article-forge Version: 2.4.1 The skill exhibits numerous high-risk capabilities, including extensive file system access (reading credentials from `~/.wechat-article-writer/secrets.json`), broad network access to external APIs (WeChat, Z.AI/OpenRouter) and arbitrary URLs (via `web_search`, `web_fetch`, `curl`), and browser automation with HTML/JS injection. The `writing_prompt_injection` field in `references/default-voice-profile.json` and `references/voice-profile-schema.json`, along with the direct insertion of `VOICE PROFILE` into `references/writer-prompt.md`, creates explicit prompt injection vectors. While these capabilities are plausibly necessary for the stated purpose of an article publishing pipeline, their power and the presence of direct prompt injection opportunities make the skill highly susceptible to abuse if untrusted input is processed or if a malicious `voice-profile.json` is loaded. There is no clear evidence of intentional malicious behavior, but the potential for exploitation is significant.
能力评估
Purpose & Capability
The skill's functionality (WeChat API publishing, browser automation, AI image providers) legitimately requires credentials and system access (WeChat appid/appsecret, Z.AI/OpenRouter keys, ability to run browser/CDP). However the registry metadata declares no required environment variables, no config paths, and no primary credential while README/SKILL.md clearly reference ZAI_API_KEY, GLM_API_KEY, OPENROUTER_API_KEY and a secrets file (~/.wechat-article-writer/secrets.json). That mismatch (capability needs not declared) is incoherent and unexpected.
Instruction Scope
Runtime instructions tell the operator/agent to run scripts/setup.sh which installs runtimes and a persistent preview server (systemd wechat-preview.service, port 8898), write config.json and secrets file, persist pipeline-state.json (which can include wechat_token and editor IDs), and perform browser automation that extracts tokens from mp.weixin.qq.com and pastes HTML/images into the editor. These actions read/write local files, create services, and interact with external APIs (WeChat API, Z.AI/OpenRouter). The instructions therefore go beyond a simple formatter/authoring tool and include installing persistent services and handling sensitive credentials — yet those accesses are not declared in the skill metadata.
Install Mechanism
There is no formal install spec in the registry, but the bundled scripts include scripts/setup.sh which (per SKILL.md/CHANGELOG) will install bun, renderer dependencies and register a systemd preview server. All code is bundled in the skill (no external short URLs in the provided manifest), so installation is driven by a local script rather than a remote one-step download. Installing a systemd service is high-impact (requires privileges) — the mechanism is local script execution rather than a one-line package manager entry, which increases operational risk and should be inspected before running.
Credentials
The skill’s docs require multiple credentials (ZAI_API_KEY, GLM_API_KEY, OPENROUTER_API_KEY and a WeChat appid/appsecret stored in a secrets.json file) and expects access to Chrome/CDP or the OpenClaw browser tool. The registry claims no required env vars or config paths. Requiring multiple unrelated API keys and writing a credentials file in the user home without declaring them is disproportionate and inconsistent with the published metadata.
Persistence & Privilege
The skill's setup installs a persistent preview server (systemd unit, auto‑restart) listening on port 8898 and persists pipeline-state.json and secrets under ~/.wechat-article-writer/. That is a persistent footprint on the host (service + disk storage of tokens). While 'always: false' is set, the skill still requests to create long‑lived system components and store sensitive tokens — a significant privilege and operational change that should be explicitly disclosed and approved.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-article-forge
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-article-forge 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.4.1
v2.4.1: add permissions declaration (exec/filesystem/network/credentials) to resolve security scan flag
v2.4.0
v2.4.0: vendor baoyu renderer (bundled), systemd preview server, bun runtime, replaced wenyan-cli
v2.3.3
v2.3.3: Add requires.env to skill.yml
v2.3.2
v2.3.2: Add permissions block to skill.yml for security scanner transparency (declares exec/filesystem/network/browser access)
v2.3.1
v2.3.1: OPSEC hardening (configurable credentials path), structure 8/8, pipeline heading fix
元数据
Slug wechat-article-forge
版本 2.4.1
许可证
累计安装 3
当前安装数 3
历史版本数 5
常见问题

WeChat Article Writer 是什么?

End-to-end 微信公众号 article writing and publishing — from topic ideation to published article, with quality gates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 712 次。

如何安装 WeChat Article Writer?

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

WeChat Article Writer 是免费的吗?

是的,WeChat Article Writer 完全免费(开源免费),可自由下载、安装和使用。

WeChat Article Writer 支持哪些平台?

WeChat Article Writer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 WeChat Article Writer?

由 Chunhua Liao(@chunhualiao)开发并维护,当前版本 v2.4.1。

💬 留言讨论