← Back to Skills Marketplace
punkin6

WeChat Tietu Draft

by punkin6 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
191
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install wechat-tietu-draft
Description
创建微信公众号贴图类型草稿的自动化工具。专门用于创建简化界面的贴图草稿(只有标题和正文),适合图片为主的内容。使用触发词"发布贴图草稿"、"创建贴图草稿"、"贴图草稿"、"微信公众号贴图"或"贴图类型草稿"激活。提供统一入口脚本(skill_main.py)进行状态感知的全流程管理。
Usage Guidance
This skill appears to do what it says, but before running code from an unknown source you should: (1) inspect the files locally (you already have them); (2) run in an isolated environment or Python virtualenv; (3) launch it only with a dedicated Chrome profile or user-data-dir so it doesn't have access to other browser sessions; (4) be aware the script connects to your local Chrome DevTools and can read page contents and take screenshots — avoid leaving other sensitive pages/tokens open in that Chrome instance; (5) note it writes mp_login_screenshot.png and skill.log to the skill directory; (6) install the websockets dependency in a virtualenv and run the entrypoint (skill_main.py) per the README. If you are uncomfortable with local CDP access or unreviewed code, review the full source or run it in a sandboxed VM.
Capability Analysis
Type: OpenClaw Skill Name: wechat-tietu Version: 1.0.0 The skill bundle is a legitimate browser automation tool designed to create 'Tietu' (image-based) drafts on the WeChat Official Accounts Platform. It utilizes the Chrome DevTools Protocol (CDP) via the 'websockets' library to control a local Chrome instance, automate navigation to mp.weixin.qq.com, and inject content into the editor. While the scripts (skill_main.py and wechat_tietu_draft.py) perform high-privilege actions such as process management (killing PIDs on port 19222) and JavaScript execution within the browser, these behaviors are transparently documented and strictly aligned with the tool's stated purpose. There is no evidence of data exfiltration, credential theft, or malicious prompt injection.
Capability Assessment
Purpose & Capability
Name/description match the implementation: the scripts exclusively operate on a local Chrome DevTools (CDP) endpoint to create WeChat mp drafts from a .txt file. Required tools (Chrome, Python, websockets package) and behavior (opening a Chrome debugging port, reading .txt, navigating mp.weixin.qq.com, extracting token from page URL) are appropriate for the stated goal.
Instruction Scope
Runtime instructions stick to the declared purpose: validate a .txt, ensure Chrome/CDP is available, connect to the local DevTools websocket, navigate to create a draft, and save logs/screenshots locally. Note: the skill will capture and write a PNG screenshot of the page (mp_login_screenshot.png) and connects to any open Chrome pages via CDP—this is expected for the task but can expose page content if sensitive tabs are open.
Install Mechanism
Instruction-only with a minimal requirements.txt (websockets). No remote download/install from arbitrary URLs, no archive extraction, and no package installs beyond standard pip usage — proportional to the task.
Credentials
No external credentials or unrelated environment variables are requested. The code reads the input .txt, may use TIETU_MAX_WAIT and a CDP port env var if set, and intentionally clears proxy-related env vars in-process to avoid SOCKS issues. It extracts the WeChat token from the page URL (necessary to create the draft) — this is consistent with the skill's purpose.
Persistence & Privilege
Skill does not request permanent/always-on presence and defaults to normal, user-invocable behavior. It writes logs and a screenshot into its directory when run (expected), but does not modify other skills or global agent configs.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install wechat-tietu-draft
  3. After installation, invoke the skill by name or use /wechat-tietu-draft
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
wechat-tietu-draft 1.0.0 – 初始版本 - 新增自动化工具,用于创建微信公众号贴图类型草稿(适合以图片为主的简化内容) - 支持多种触发词激活(如“创建贴图草稿”、“贴图类型草稿”等) - 提供统一入口 skill_main.py,具备自动环境检测、状态感知流程与完整错误反馈 - 仅接受UTF-8 .txt文本文件作为草稿输入,自动区分标题和正文 - 提供详细的常见问题解决方案与日志辅助排查
Metadata
Slug wechat-tietu-draft
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is WeChat Tietu Draft?

创建微信公众号贴图类型草稿的自动化工具。专门用于创建简化界面的贴图草稿(只有标题和正文),适合图片为主的内容。使用触发词"发布贴图草稿"、"创建贴图草稿"、"贴图草稿"、"微信公众号贴图"或"贴图类型草稿"激活。提供统一入口脚本(skill_main.py)进行状态感知的全流程管理。 It is an AI Agent Skill for Claude Code / OpenClaw, with 191 downloads so far.

How do I install WeChat Tietu Draft?

Run "/install wechat-tietu-draft" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is WeChat Tietu Draft free?

Yes, WeChat Tietu Draft is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does WeChat Tietu Draft support?

WeChat Tietu Draft is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created WeChat Tietu Draft?

It is built and maintained by punkin6 (@punkin6); the current version is v1.0.0.

💬 Comments