← 返回 Skills 市场
punkin6

WeChat Tietu Draft

作者 punkin6 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
191
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install wechat-tietu-draft
功能描述
创建微信公众号贴图类型草稿的自动化工具。专门用于创建简化界面的贴图草稿(只有标题和正文),适合图片为主的内容。使用触发词"发布贴图草稿"、"创建贴图草稿"、"贴图草稿"、"微信公众号贴图"或"贴图类型草稿"激活。提供统一入口脚本(skill_main.py)进行状态感知的全流程管理。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install wechat-tietu-draft
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /wechat-tietu-draft 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
wechat-tietu-draft 1.0.0 – 初始版本 - 新增自动化工具,用于创建微信公众号贴图类型草稿(适合以图片为主的简化内容) - 支持多种触发词激活(如“创建贴图草稿”、“贴图类型草稿”等) - 提供统一入口 skill_main.py,具备自动环境检测、状态感知流程与完整错误反馈 - 仅接受UTF-8 .txt文本文件作为草稿输入,自动区分标题和正文 - 提供详细的常见问题解决方案与日志辅助排查
元数据
Slug wechat-tietu-draft
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

WeChat Tietu Draft 是什么?

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

如何安装 WeChat Tietu Draft?

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

WeChat Tietu Draft 是免费的吗?

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

WeChat Tietu Draft 支持哪些平台?

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

谁开发了 WeChat Tietu Draft?

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

💬 留言讨论