Moments generator

From kunwl123456/zeroclaw-skills-collection · View interactive version

Moments generator is an AI agent skill from the GitHub repository kunwl123456/zeroclaw-skills-collection. Generate a fake WeChat Moments (朋友圈) screenshot image. Use when user wants to simulate a social media post with avatar, text, images, likes, and comments.

How to use this skill

Skill file

Moments Generator Skill

This skill generates a realistic-looking WeChat Moments screenshot.

Usage

  1. Prepare Resources:
  1. Create Configuration:

Create a temporary JSON file (e.g., temp_moments_config.json) with the following structure:

```json

{

"avatar": "/path/to/avatar.png",

"name": "User Name",

"content": "This is the text of the moment.",

"images": [

"/path/to/image1.jpg",

"/path/to/image2.jpg"

],

"likes": ["Friend A", "Friend B"],

"comments": [

{ "name": "Friend C", "text": "Nice photo!" },

{ "name": "Me", "text": "Thanks!" }

],

"theme": "dark"

}

```

Note: Supports 1-9 images. images can be empty. theme defaults to "light".

  1. Generate Image:

Run the generation script:

```bash

node /home/crishaocredits/.openclaw/workspace/skills/moments-generator/scripts/generate.js temp_moments_config.json output_moments.png

```

  1. Deliver:

Send the resulting output_moments.png to the user.

Dependencies

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.