Meme generation

From HybridAIOne/hybridclaw · View interactive version

Meme generation is an AI agent skill from the GitHub repository HybridAIOne/hybridclaw. Generate meme images from curated classic templates, dynamic imgflip templates, or a custom image. Produces real `.png` or `.jpg` artifacts in the workspace.

How to use this skill

Skill file

Meme Generation

Generate actual meme images from a topic. Pick a template, write captions, and render a real image file with text overlay.

When to Use

Available Templates

The script supports:

Curated templates are grouped into packs and can be filtered with --pack.

Source strategy:

Curated Templates

| ID | Name | Fields | Best for |

|----|------|--------|----------|

| this-is-fine | This is Fine | top, bottom | chaos, denial |

| drake | Drake Hotline Bling | reject, approve | rejecting or preferring |

| distracted-boyfriend | Distracted Boyfriend | distraction, current, person | temptation, shifting priorities |

| two-buttons | Two Buttons | left, right, person | impossible choice |

| expanding-brain | Expanding Brain | 4 levels | escalating irony |

| change-my-mind | Change My Mind | statement | hot takes |

| woman-yelling-at-cat | Woman Yelling at Cat | woman, cat | arguments |

| one-does-not-simply | One Does Not Simply | top, bottom | deceptively hard things |

| grus-plan | Gru's Plan | step1-3, realization | plans that backfire |

| batman-slapping-robin | Batman Slapping Robin | robin, batman | shutting down bad ideas |

Dynamic Templates

Any template not in the curated list can still be used by name or imgflip ID. Curated search is metadata-aware and matches ids, aliases, tags, people, and pack names.

Examples:

python3 scripts/generate_meme.py --search "disaster"
python3 scripts/generate_meme.py --search "drake" --curated-only
python3 scripts/generate_meme.py --list --pack classic
python3 scripts/generate_meme.py --list --pack classic --show-source
python3 scripts/generate_meme.py --info drake

Procedure

Mode 1: Classic Template

  1. Read the user's topic and identify the core meme structure: chaos, dilemma, preference, irony, or backfire.
  2. Pick the template that best matches. Use the curated table above or search with --search.
  3. Write short captions for each field. Prefer 8 to 12 words maximum per field.
  4. Run the generator and write the output into the current workspace so HybridClaw can return it as an artifact:

```bash

python3 scripts/generate_meme.py <template_id> ./meme.png "caption 1" "caption 2"

```

  1. Return the generated image artifact.

For curated template discovery:

python3 scripts/generate_meme.py --list --pack classic
python3 scripts/generate_meme.py --search "boyfriend" --curated-only
python3 scripts/generate_meme.py --info this-is-fine

Mode 2: Custom Image

Use this when no classic template fits, or when the user wants something original.

  1. Write the captions first.
  2. Generate or locate the source image.
  3. Run the script with --image to overlay text:

```bash

python3 scripts/generate_meme.py --image /path/to/scene.png ./meme.png "top text" "bottom text"

```

```bash

python3 scripts/generate_meme.py --image /path/to/scene.png --bars ./meme.png "top text" "bottom text"

```

  1. Use --bars when the image is visually busy and direct overlay would hurt readability.
  2. Return the generated image artifact.

Examples

"debugging production at 2 AM":

python3 scripts/generate_meme.py this-is-fine ./meme.png "SERVERS ARE ON FIRE" "This is fine"

"choosing between sleep and one more episode":

python3 scripts/generate_meme.py drake ./meme.png "Getting 8 hours of sleep" "One more episode at 3 AM"

"the stages of a Monday morning":

python3 scripts/generate_meme.py expanding-brain ./meme.png "Setting an alarm" "Setting 5 alarms" "Sleeping through all alarms" "Working from bed"

"everyone wants the repo moved":

python3 scripts/generate_meme.py drake ./meme.png "Leaving the repo where it is" "Let's move the repository"

Listing Templates

To see the curated templates:

python3 scripts/generate_meme.py --list
python3 scripts/generate_meme.py --list --pack classic
python3 scripts/generate_meme.py --list --pack classic --show-source

Pitfalls

Verification

The output is correct if:

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.