openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > wechat-comic-factory

Generate WeChat comic articles and publish them to the WeChat Official Account draft box by executing local Python pipeline scripts. Use when the user wants...

通信与消息

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 1 · 136 · 1 current installs · 1 all-time installs

1

安装量(当前) 1

🛡 VirusTotal :良性 · OpenClaw :良性

Package:archibald80000-ai/wechat-comic-factory

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's code, runtime instructions, and required credentials are consistent with its stated purpose of generating comics and pushing drafts to a WeChat Official Account; nothing requests unrelated secrets or external installs.

目的

Name/description match the actual behavior: local Python pipeline scripts generate images/text, assemble HTML/Markdown, compress/upload images and create WeChat draft(s). The example config and scripts reference text/image LLMs and WeChat credentials, which are expected for this functionality.

说明范围

SKILL.md explicitly limits execution to local entrypoints (scripts/run_pipeline.py variants), requires config.json to contain model and WeChat credentials, and instructs the agent not to fabricate results. The instructions do not ask the agent to read unrelated system files or environment variables beyond the skill directory.

安装机制

No install spec or remote downloads; the skill is delivered as local Python scripts with a requirements.txt. This is low-risk from an install mechanism perspective (nothing fetched from arbitrary URLs).

证书

The registry metadata declares no required env vars; the code expects a local config.json containing API keys for the text LLM, image LLM (DashScope-like), and WeChat appid/appsecret — these are proportionate to the stated purpose. No unrelated credentials or external service tokens are requested in the manifest.

持久

always:false and the skill does not request system-wide privileges. It writes runtime artifacts (output/, logs/, token cache) under the project directory, which is expected for a local pipeline and draft publishing workflow.

综合结论

This skill appears internally coherent, but take these practical precautions before running it: 1) Do not place real API keys in the repo or share config.json; keep config.json in the local skill folder and fill only the required fields (text_llm, image_llm, wechat). 2) Review the included scripts (especially publish_draft.py and any helper functions in common.py) to confirm they call only the expected endpoints (WeChat API, configured LLM/ima…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「wechat-comic-factory」。简介:Generate WeChat comic articles and publish them to the WeChat Official Account …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/archibald80000-ai/wechat-comic-factory/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: wechat-comic-factory
description: Generate WeChat comic articles and publish them to the WeChat Official Account draft box by executing local Python pipeline scripts. Use when the user wants to create a comic series from comic_type, topic, and count, or publish the latest generated task. In this skill, “发布” and “发微信” always mean only pushing to the WeChat Official Account draft box; never reinterpret them as personal chat, group chat, or message-tool sending.
---

# Wechat Comic Factory

Execute local commands first. Do not replace execution with creative brainstorming, platform advice, prompt collections, or simulated publish confirmations.

## Execute Only Local Entrypoints

Use only these public entrypoints:

```powershell
python scripts/run_pipeline.py --comic_type "小林漫画" --topic "成年人的体面" --count 3
python scripts/run_pipeline.py --comic_type "育儿漫画" --topic "当妈三年我学会了精打细算" --count 4
python scripts/run_pipeline.py --publish_latest
python scripts/run_pipeline.py --publish_output_dir "<existing_output_dir>"
```

Do not expose底层多脚本串联命令给用户,不要跳过 `run_pipeline.py` 直接拼接发布流程。

## Config Guardrail

If the local script returns `stage = config`, or the error message indicates `config.json` is missing / still placeholder:

1. Stop execution reporting immediately.
2. Tell the user to create `config.json` from `config.example.json`.
3. Ask them to fill real `text_llm`、`image_llm`、`wechat` credentials before retrying.

Use a short, direct response such as:

- `当前还没有可用配置。请先在技能根目录把 config.example.json 复制为 config.json,并填入真实模型与公众号配置。完成后我再执行。`

Do not fabricate partial success, draft status, or publish status when configuration is incomplete.

## Generation Rules

When the user asks to generate comics:

1. Parse `comic_type`, `topic`, and `count`.
2. If `count` is missing, default to `3`.
3. If `comic_type` is missing, ask for the type.
4. If `comic_type` is unsupported, report the supported types directly.
5. Execute `python scripts/run_pipeline.py ...`.
6. Return the script JSON result instead of writing creative copy first.

Supported types:

- `小林漫画`
- `育儿漫画`

Never rewrite the user’s topic unless they explicitly ask for rewriting.

## Publish Rules

In this skill, “发布” means only:

- push to **微信公众号草稿箱**

It must never mean:

- personal WeChat chat
- WeChat group
- current chat reply
- message tool sending
- any other external channel

When the publish target is clear:

1. Use `python scripts/run_pipeline.py --publish_latest` for the latest pending task.
2. Use `python scripts/run_pipeline.py --publish_output_dir "<path>"` 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, blog platforms, or other channels.

## Success Rules

You may say:

- `已发布`
- `已推送到公众号草稿箱`
- `草稿已创建成功`

only when the script JSON result includes both:

- `success = true`
- `draft_status = success`

Otherwise say only:

- `已生成待发布内容`
- `尚未发布`
- `发布失败,失败阶段为 xxx`
- `未检测到可用微信草稿发布结果`

If the script fails, report the real `stage` and `error` fields. Never convert a failed script run into a success message.