← 返回 Skills 市场
lixinran2015

Publish Wechat Draft

作者 lixinran · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install publish-wechat-draft
功能描述
发布文章到微信公众号草稿箱。当用户要求发布公众号文章、保存微信草稿、publish wechat draft、或提到"发公众号"/"发微信"时调用。
安全使用建议
This skill appears to do what it says, but it will clone and run a third‑party Node.js project and execute that project's npm scripts (including a login flow that writes cookies). Before installing or running it: 1) Review the repository and package.json (especially scripts like login, check:login, publish) to see what code will run. 2) Run npm install and the tool in an isolated environment (container or VM) if you don't fully trust the repo. 3) Set WECHAT_PUBLISHER_DIR to a local clone you control rather than letting the agent clone automatically. 4) Verify the project’s behavior around cookies (it should not print or upload cookie contents). If you are uncomfortable running arbitrary npm scripts, prepare the HTML locally and run the publish workflow manually or decline to install the skill.
功能分析
Type: OpenClaw Skill Name: publish-wechat-draft Version: 1.0.0 The skill is a functional wrapper for the 'weixingongzhonghao-publisher' tool, designed to automate publishing drafts to WeChat. It uses standard Bash and Node.js commands to manage dependencies, handle cookies locally, and execute publishing scripts. The instructions in SKILL.md include explicit privacy safeguards, such as forbidding the agent from leaking cookie data or committing it to version control, and there are no signs of data exfiltration or malicious intent.
能力评估
Purpose & Capability
Name/description match the declared requirements: node/npm/npx/git and a WECHAT_PUBLISHER_DIR project path are expected for a Node.js CLI that uses Playwright to automate WeChat publishing.
Instruction Scope
SKILL.md confines actions to the project directory: locating or cloning the repo, installing deps, checking login, creating temp HTML files under PROJECT_DIR/articles, and reading project logs/screenshots. It references HOME/USERPROFILE to locate cookie path (standard system vars). It explicitly instructs not to read or exfiltrate cookie contents, but it does access cookie file existence and runs project-provided scripts that may operate on cookies.
Install Mechanism
There is no formal install spec but the instructions tell the agent to git clone https://github.com/lixinran2015/weixingongzhonghao.git (if not present), run npm install, and run npm scripts. That means arbitrary third‑party code from that repo will be executed locally (including package scripts). Playwright installation will also download Chromium. This is common for node CLIs but is a higher-risk action and should be performed only after reviewing the repository and its package.json scripts.
Credentials
Only one declared env var (WECHAT_PUBLISHER_DIR) is required, which is proportional. Minor oddity: the registry metadata marks the directory path as the 'primary credential'—a path is not a secret, but the label is unexpected. The instructions also reference HOME/USERPROFILE (non-secret system vars). No other unrelated secrets are requested.
Persistence & Privilege
always is false and the skill does not request system-wide or cross-skill configuration changes. It writes files inside the project directory (articles, logs/screenshots) which is consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install publish-wechat-draft
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /publish-wechat-draft 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of "publish-wechat-draft": - Enables publishing articles to WeChat Official Account drafts using the `weixingongzhonghao-publisher` CLI. - Supports content input via HTML/Markdown file, plain text, or configuration file. - Includes robust project directory and dependency checks before publishing. - Guides user through WeChat login if cookies or authentication are missing or invalid. - Ensures user privacy and security by never reading or exposing cookies, and warns if cookies are mistakenly tracked by git. - Provides clear feedback after publishing, including success details or error suggestions with screenshot analysis.
元数据
Slug publish-wechat-draft
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Publish Wechat Draft 是什么?

发布文章到微信公众号草稿箱。当用户要求发布公众号文章、保存微信草稿、publish wechat draft、或提到"发公众号"/"发微信"时调用。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 Publish Wechat Draft?

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

Publish Wechat Draft 是免费的吗?

是的,Publish Wechat Draft 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Publish Wechat Draft 支持哪些平台?

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

谁开发了 Publish Wechat Draft?

由 lixinran(@lixinran2015)开发并维护,当前版本 v1.0.0。

💬 留言讨论