← Back to Skills Marketplace
182
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-draft-deleter
Description
删除微信公众号草稿箱中的草稿。支持批量删除指定Media ID的草稿。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install wechat-draft-deleter - After installation, invoke the skill by name or use
/wechat-draft-deleter - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
wechat-draft-deleter v1.0.0
- 首次发布,提供删除微信公众号草稿箱草稿的功能
- 支持通过Media ID单个、批量及文件方式批量删除草稿
- 删除前提供安全确认/强制模式,删除结果统计清晰
- 完善的错误处理与日志提示
- 适用于草稿清理、版本管理、自动化运维等场景
Metadata
Frequently Asked Questions
What is wechat draft deleter?
删除微信公众号草稿箱中的草稿。支持批量删除指定Media ID的草稿。 It is an AI Agent Skill for Claude Code / OpenClaw, with 182 downloads so far.
How do I install wechat draft deleter?
Run "/install wechat-draft-deleter" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is wechat draft deleter free?
Yes, wechat draft deleter is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does wechat draft deleter support?
wechat draft deleter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created wechat draft deleter?
It is built and maintained by Bigkingcn (@bigkingcn); the current version is v1.0.0.
More Skills