← 返回 Skills 市场
182
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-draft-deleter
功能描述
删除微信公众号草稿箱中的草稿。支持批量删除指定Media ID的草稿。
安全使用建议
This skill appears to do what it claims (delete WeChat draft items) and uses only the official WeChat endpoints, but take these precautions before installing:
- Metadata mismatch: the registry lists no required env vars but the tool requires WECHAT_APP_ID and WECHAT_APP_SECRET — expect to provide those. Do not rely on registry metadata alone.
- Review README for hard-coded example credentials. Treat any concrete AppID/AppSecret in examples as potentially leaked; if you or your org used them, rotate/revoke immediately.
- Inspect install.sh before running. It will pip install requests and create a symlink in /usr/local/bin; prefer installing inside a Python virtualenv to avoid global pip changes and reduce system impact.
- Run the tool in a test account first (not production) to confirm behavior and to avoid irreversible deletes.
- If you don't trust the source, avoid running install.sh; instead run scripts/delete_drafts.py directly from a checked-out copy after manual review.
If you want higher confidence, ask the publisher for a trusted repository URL or signed release, and request that required env vars be declared in the registry metadata.
功能分析
Type: OpenClaw Skill
Name: wechat-draft-deleter
Version: 1.0.0
The skill is a legitimate administrative utility designed to delete WeChat Official Account drafts using the official WeChat API (api.weixin.qq.com). The Python script `scripts/delete_drafts.py` correctly implements the OAuth flow and deletion requests, while the `install.sh` script performs standard CLI tool setup. No evidence of data exfiltration, unauthorized execution, or prompt injection was found; the code and documentation (SKILL.md, README.md) are consistent with the stated purpose.
能力评估
Purpose & Capability
The name/description (delete WeChat public-account drafts) align with the shipped code: scripts/delete_drafts.py calls the official WeChat token and draft/delete endpoints. However the registry metadata lists no required env vars/credentials while both SKILL.md and the script require WECHAT_APP_ID and WECHAT_APP_SECRET — an inconsistency between declared metadata and actual needs.
Instruction Scope
Runtime instructions are narrowly scoped: they ask you to provide AppID/Secret, read Media IDs from CLI args or a file, fetch an access_token, and POST to the official WeChat API. The instructions do not ask the agent to read unrelated system files or send data to third-party endpoints. Concern: README includes an example that sets concrete-looking AppID/AppSecret values — if those are real credentials they are leaked and dangerous.
Install Mechanism
install.sh installs a Python dependency (requests) via pip3, makes scripts/delete_drafts.py executable, and creates a symlink in /usr/local/bin. This is a typical local install but it modifies a system path and runs pip globally. No remote downloads from untrusted URLs; the install is not high-risk but you should review and run in a controlled environment (or use a virtualenv).
Credentials
The skill requires WECHAT_APP_ID and WECHAT_APP_SECRET to operate (the script checks env vars and SKILL.md instructs setting them), but the registry metadata declares no required env vars — that's misleading. Additionally, the README/example includes explicit AppID/AppSecret values; if those are actual credentials, they expose account access and should be treated as compromised (rotate/revoke).
Persistence & Privilege
always:false and no autonomous elevation flags — good. The only persistence-like change is creation of a symlink in /usr/local/bin (install.sh), which is normal for CLI tools but modifies a system-wide directory and may require elevated permissions. No evidence the skill modifies other skills or system configs beyond this.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install wechat-draft-deleter - 安装完成后,直接呼叫该 Skill 的名称或使用
/wechat-draft-deleter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
wechat-draft-deleter v1.0.0
- 首次发布,提供删除微信公众号草稿箱草稿的功能
- 支持通过Media ID单个、批量及文件方式批量删除草稿
- 删除前提供安全确认/强制模式,删除结果统计清晰
- 完善的错误处理与日志提示
- 适用于草稿清理、版本管理、自动化运维等场景
元数据
常见问题
wechat draft deleter 是什么?
删除微信公众号草稿箱中的草稿。支持批量删除指定Media ID的草稿。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 182 次。
如何安装 wechat draft deleter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install wechat-draft-deleter」即可一键安装,无需额外配置。
wechat draft deleter 是免费的吗?
是的,wechat draft deleter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
wechat draft deleter 支持哪些平台?
wechat draft deleter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 wechat draft deleter?
由 Bigkingcn(@bigkingcn)开发并维护,当前版本 v1.0.0。
推荐 Skills