wechat-draft-deleter
删除微信公众号草稿箱中的草稿。支持批量删除指定Media ID的草稿。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bigkingcn/wechat-draft-deleterWhat This Skill Does
The wechat-draft-deleter is a professional-grade automation tool designed for WeChat Official Account operators. It provides a robust interface to manage and purge drafts from your WeChat account's draft box directly from the command line. By leveraging the official WeChat draft management API, it ensures that your content management process is streamlined, whether you are tidying up testing artifacts or performing bulk maintenance on old, unused content. The skill supports single-item deletion, bulk processing via comma-separated IDs, and batch deletion from local text files, providing flexibility for various workflow requirements.
Installation
You can install this skill easily via the OpenClaw ecosystem. If you have clawhub configured, simply run the following command in your terminal:
clawhub install openclaw/skills/skills/bigkingcn/wechat-draft-deleter
Alternatively, you can manually clone the repository from the source and execute the provided installation script. Ensure you have Python 3.6+ and the required dependencies installed. You must configure your WECHAT_APP_ID and WECHAT_APP_SECRET as environment variables before attempting any deletion operations.
Use Cases
- Routine Maintenance: Quickly remove dozens of expired, low-quality, or outdated drafts that clutter the official account后台.
- Automated Content Cleanup: Integrate this tool into a CI/CD or content pipeline to ensure that test-published drafts are purged automatically after successful validation.
- Batch Management: If your team manages large volumes of content, you can export a list of Media IDs to a text file and use this skill to perform a controlled bulk deletion across your account.
Example Prompts
- "OpenClaw, please delete the WeChat draft with ID DgrVBScHsvTZOSzU4WcnaTobRFBFXoaG0AIrFKAU_E6MKLBPNkZ9s6XVMv2GVFDl."
- "Use the wechat-draft-deleter to purge all drafts listed in my local file named media_ids.txt. Please proceed without asking for confirmation."
- "Can you help me clear out my WeChat draft box? I have the IDs ready in a list: id1, id2, id3."
Tips & Limitations
- Caution: Deletion operations performed through this API are irreversible. Once a draft is deleted, it cannot be recovered. Always verify your Media IDs before executing.
- Authentication: Ensure your WeChat Official Account has the appropriate developer permissions enabled for draft management. Without these, API requests will return authentication errors.
- Rate Limiting: Be aware of WeChat's API call frequency limits. Avoid running mass deletions in extremely rapid succession to prevent hitting
45009error codes. - Safety: Always perform a small-scale test with a single, non-critical draft before running a bulk batch delete to verify your environment configuration is correct.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bigkingcn-wechat-draft-deleter": {
"enabled": true,
"auto_update": true
}
}
}Tags
Flags: external-api, file-read, network-access
Related Skills
wechat-article-exporter
微信公众号推文长截图导出工具。支持多种链接格式,自动处理懒加载图片、视频占位符、底部工具栏遮挡等问题。触发词:微信文章导出、公众号截图、推文保存、mp.weixin.qq.com。
wechat-article-export
微信公众号多功能导出工具。將公眾號文章導出為長截圖(PNG)、PDF 或 Markdown,支持任選一種或多種格式。觸發詞:「導出微信文章」、「公眾號截圖」、「文章轉PDF」、「文章轉Markdown」、「微信導出」。
hk-cn-content-matrix
香港/中文内容运营指南 - 小红书、抖音、微信公众号内容创作模板和策略。香港本地化,生活/理财/旅行/美妆赛道。
wechat-auto-publisher-skill
公众号自动化技能包 - 从选题到写作到发布全流程自动化,热点监控+AI写作+草稿管理。适合自媒体运营者、内容创作者。
email-draft
智能邮件草稿生成和模板管理工具