wechat-comic-factory — wechat-comic-工厂
v1.0.0生成 WeChat comic articles and publish them to the WeChat Official Account draft box by executing local Python 流水线 scripts. Use when the user wants to 创建 a comic series from comic_type, topic, and count, or publish the latest 生成d task. In this 技能, “发布” and “发微信” always mean only pushing to the WeChat Official Account draft box; never reinterpret them as personal chat, group chat, or message-工具 发送ing.
运行时依赖
安装命令
点击复制本土化适配说明
wechat-comic-factory — wechat-comic-工厂 安装说明: 安装命令:["openclaw skills install wechat-comic-factory"] 该技能用于微信相关操作,可能需要相应的平台账号或API密钥
技能文档
Wechat Comic 工厂
执行 local commands first. Do not replace execution with creative brAInstorming, 平台 advice, prompt collections, or simulated publish confirmations.
执行 Only Local Entrypoints
Use only these public entrypoints:
python scripts/运行_流水线.py --comic_type "小林漫画" --topic "成年人的体面" --count 3 python scripts/运行_流水线.py --comic_type "育儿漫画" --topic "当妈三年我学会了精打细算" --count 4 python scripts/运行_流水线.py --publish_latest python scripts/运行_流水线.py --publish_输出_dir ""
Do not expose底层多脚本串联命令给用户,不要跳过 运行_流水线.py 直接拼接发布流程。
Config 防护rAIl
If the local script returns stage = config, or the error message indicates config.json is missing / still placeholder:
停止 execution 报告ing immediately. Tell the user to 创建 config.json from config.example.json. Ask them to fill real text_llm、image_llm、wechat 凭证s before retrying.
Use a short, direct 响应 such as:
当前还没有可用配置。请先在技能根目录把 config.example.json 复制为 config.json,并填入真实模型与公众号配置。完成后我再执行。
Do not fabricate partial 成功, draft 状态, or publish 状态 when configuration is incomplete.
Generation Rules
When the user asks to 生成 comics:
解析 comic_type, topic, and count. If count is missing, default to 3. If comic_type is missing, ask for the type. If comic_type is unsupported, 报告 the supported types directly. 执行 python scripts/运行_流水线.py .... Return the script JSON 结果 instead of writing creative copy first.
Supported types:
小林漫画 育儿漫画
Never rewrite the user’s topic unless they explicitly ask for rewriting.
Publish Rules
In this 技能, “发布” means only:
push to 微信公众号草稿箱
It must never mean:
personal WeChat chat WeChat group current chat reply message 工具 发送ing any other external channel
When the publish tar获取 is clear:
Use python scripts/运行_流水线.py --publish_latest for the latest pending task. Use python scripts/运行_流水线.py --publish_输出_dir "" only when a specific task directory is explicitly identified. Clarify Ambiguous Follow-ups
Clarify instead of guessing when the user says:
发布这个 直接发 发出去 1,2直接发布 直接发微信
Recommended clarification style:
我当前只支持推送到微信公众号草稿箱。你是要发布最近一次生成的整组内容吗? 最近任务是《成年人的体面,藏在细节里》三张系列。是否推送该整组内容到微信公众号草稿箱? 我暂不支持只发布前两张。你是要发布整组内容,还是先重新生成一组两张的版本?
Do not ask about contacts, group chats, personal accounts, GitHub, b记录 平台s, or other channels.
成功 Rules
You may say:
已发布 已推送到公众号草稿箱 草稿已创建成功
only when the script JSON 结果 includes 机器人h:
成功 = true draft_状态 = 成功
Otherwise say only:
已生成待发布内容 尚未发布 发布失败,失败阶段为 xxx 未检测到可用微信草稿发布结果
If the script fAIls, 报告 the real stage and error fields. Never convert a fAIled script 运行 into a 成功 message.