← 返回 Skills 市场
wechat-public-cli
作者
ai-chen2050
· GitHub ↗
· v1.0.4
· MIT-0
1069
总下载
2
收藏
9
当前安装
5
版本数
在 OpenClaw 中安装
/install wechat-public-cli
功能描述
Publish and download WeChat Public Platform content and Baijiahao articles via a local CLI.
安全使用建议
This skill appears to do what it says, but take normal precautions before installing/running third-party CLIs: 1) Review the GitHub repo and the package.json (look for postinstall scripts) before installing globally; prefer npx or local install if you want to avoid a global binary. 2) Do not paste credentials into public places; use environment variables or a config file with restrictive filesystem permissions. 3) Treat WECHAT_APPID/WECHAT_SECRET and BJH_COOKIE/BJH_TOKEN as sensitive — use least-privilege credentials where possible. 4) Run the tool in an isolated environment (container or dedicated machine) if you are unsure about the package provenance. 5) If you need higher assurance, inspect the repository code (especially network calls, cookie handling, and any telemetry) to confirm there is no unexpected data exfiltration.
功能分析
Type: OpenClaw Skill
Name: wechat-public-cli
Version: 1.0.4
The skill facilitates publishing content to WeChat and Baijiahao, requiring the handling of sensitive API credentials, secrets, and session cookies. It relies on shell execution for installation and operation (via `npm` and the `wechat-public-cli` tool) and performs network requests to external service providers. While these capabilities are aligned with the stated purpose, the requirement for high-privilege secrets and shell access presents a significant risk profile and potential for exploitation via prompt injection or malformed file paths in commands like `wechat:publish --file`.
能力评估
Purpose & Capability
The name/description (publish/download WeChat and Baijiahao content) align with the required binary (wechat-public-cli), the documented config fields (WeChat appid/secret/accessToken and Baijiahao cookie/token/appId), and the documented CLI commands. There are no unrelated credentials, binaries, or paths requested.
Instruction Scope
SKILL.md instructs cloning the GitHub repo, running npm install, and using the wechat-public-cli to read markdown files, CSS, and a local JSON config containing credentials. It does not direct the agent to read unrelated system files or to transmit data to unexpected endpoints. Note: SKILL.md documents environment variable overrides for credentials (WECHAT_*, BJH_*) even though the registry metadata lists no required env vars — this is plausible (credentials are optional until you publish) but worth awareness.
Install Mechanism
Install instructions point to standard mechanisms: npm install -g wechat-public-cli and git clone from GitHub followed by npm install. These are common and expected for a Node-based CLI; they are traceable to npm and GitHub rather than arbitrary download URLs. Installing npm packages (especially global) carries normal package-supply risk, but the mechanism itself is appropriate for the stated purpose.
Credentials
The configuration/env vars requested (WeChat appid/secret/access token; Baijiahao cookie/token/appId; optional paths and CSS) are proportional to publishing/downloading content. No unrelated secrets are requested. However, the skill will require sensitive tokens/cookies to interact with remote platforms, so treat those credentials as sensitive.
Persistence & Privilege
The skill is not marked always:true and is user-invocable; autonomous invocation is allowed but is the platform default. The skill does not request system-wide configuration or other skills' credentials. No elevated persistence is requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechat-public-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechat-public-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
- Added new commands: `wechat:stats:cumulate` for user statistics and `wechat:stats:bizsummary` for published content statistics.
- Extended documentation with examples for querying statistics and date ranges.
- Updated Notes to describe new statistics commands and their limitations (server-side only, max 30 days).
- No code changes; documentation and usage instructions improved.
v1.0.3
- Added an "Article Template" section with a sample markdown frontmatter for guidance.
- No other functional or command changes detected.
v1.0.2
- Adds support for specifying a custom CSS file with the --css parameter for all publish and convert commands.
- Documents the CSS file loading priority: command-line --css > config file > default file > none.
- Provides usage examples for different article styles and CSS management.
- Enhances documentation with practical scenarios and sample CSS snippets for technical and business articles.
- No code changes detected; documentation updated to reflect new features and best practices.
v1.0.1
- Added npm install method and npx usage instructions, allowing easy global and one-off CLI usage.
- Updated installation metadata to include npm installation.
- Introduced section on custom WeChat article formatting using a custom.css file, with instructions and examples (中文说明).
- No changes to commands or configuration, but documentation has been improved and expanded for clarity.
v1.0.0
Initial release of wechat-public-cli.
- Publish and download WeChat Public Platform content and Baijiahao articles via a local CLI.
- Supports publishing from markdown files with frontmatter metadata.
- Environment variables and config file options for credentials and paths.
- Includes commands for drafting, publishing, sending to followers, markdown-to-HTML conversion, and downloading recent articles.
- Automatic inline image upload and article management features.
元数据
常见问题
wechat-public-cli 是什么?
Publish and download WeChat Public Platform content and Baijiahao articles via a local CLI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1069 次。
如何安装 wechat-public-cli?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-public-cli」即可一键安装,无需额外配置。
wechat-public-cli 是免费的吗?
是的,wechat-public-cli 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
wechat-public-cli 支持哪些平台?
wechat-public-cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 wechat-public-cli?
由 ai-chen2050(@ai-chen2050)开发并维护,当前版本 v1.0.4。
推荐 Skills