Use it when your goal in design and media is clear and you can limit it to the data and actions it actually needs.
Meme Generation
Create meme PNGs from templates with Pillow text overlay
What does it add to Hermes?
Create meme PNGs from templates with Pillow text overlay
Meme Generation is a skill related to design and media. It adds tools to create, read, or modify media such as designs, images, audio, or video.
This plain-language explanation is based on the publisher description. The original text remains visible for verification.
Do not add it merely to experiment when Hermes already has a simpler path, or when you cannot review its source and permissions.
Best for users who want a repeatable way of working inside Hermes.
Start with a disposable asset and create a copy instead of changing the original.
Create meme PNGs from templates with Pillow text overlay
This entry was indexed from Hermes Optional Skills. Our explanation interprets the type and domain without inventing a capability not present upstream.
The source is official or editorially reviewed, but you still need to review permissions and version compatibility.
Inspect, install, then test.
- 01Open the source
Match the publisher, license, and description to your need. Check the real update history.
- 02Review permissions and secrets
Never paste a secret value into this site. Use environment-variable names and grant the smallest scope.
- 03Copy setup only after review
The controls below copy text. They do not execute commands on your device.
- 04Test with a non-sensitive task
Inspect the visible tools, then exclude write or delete tools you do not need.
Review the command, then copy it.
hermes skills install meme-generationHermes Belarabi does not execute this command. Installation happens on your device and remains subject to Hermes scanning and your review.
Exactly what Hermes loads when this skill runs.
Reproduced from the official documentation. Read it before enabling the skill: this text becomes the agent's instructions.
Create meme PNGs from templates with Pillow text overlay.
Skill metadata
A lookup table. Do not read it all; find the row that applies to you.
| Source | Optional — install with hermes skills install official/creative/meme-generation |
| Path | optional-skills/creative/meme-generation |
| Version | 2.0.0 |
| Author | adanaleycio |
| License | MIT |
| Platforms | linux, macos, windows |
| Tags | creative, memes, humor, images |
| Related skills | ascii-art |
Reference: full SKILL.md
Explains the idea itself. Read it slowly; the later sections build on it.
Generate actual meme images from a topic. Picks a template, writes captions, and renders a real .png file with text overlay.
When to Use
Explains the idea itself. Read it slowly; the later sections build on it.
- User asks you to make or generate a meme
- User wants a meme about a specific topic, situation, or frustration
- User says "meme this" or similar
Available Templates
A lookup table. Do not read it all; find the row that applies to you.
The script supports any of the ~100 popular imgflip templates by name or ID, plus 10 curated templates with hand-tuned text positioning.
Curated Templates (custom text placement)
| ID | Name | Fields | Best for |
|---|---|---|---|
this-is-fine | This is Fine | top, bottom | chaos, denial |
drake | Drake Hotline Bling | reject, approve | rejecting/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 (from imgflip API)
Any template not in the curated list can be used by name or imgflip ID. These get smart default text positioning (top/bottom for 2-field, evenly spaced for 3+). Search with:
python "$SKILL_DIR/scripts/generate_meme.py" --search "disaster"Procedure
Settings you configure once. Change one at a time so you can see what each does. Set SKILL_DIR in your environment, not in the chat.
Mode 1: Classic Template (default)
- Read the user's topic and identify the core dynamic (chaos, dilemma, preference, irony, etc.)
- Pick the template that best matches. Use the "Best for" column, or search with
--search. - Write short captions for each field (8-12 words max per field, shorter is better).
- Find the skill's script directory:
SKILL_DIR=$(dirname "$(find ~/.hermes/skills -path '*/meme-generation/SKILL.md' 2>/dev/null | head -1)")- Run the generator:
python "$SKILL_DIR/scripts/generate_meme.py" <template_id> /tmp/meme.png "caption 1" "caption 2" ...- Return the image with
MEDIA:/tmp/meme.png
Mode 2: Custom AI Image (when imagegenerate is available)
Use this when no classic template fits, or when the user wants something original.
- Write the captions first.
- Use
image_generateto create a scene that matches the meme concept. Do NOT include any text in the image prompt — text will be added by the script. Describe only the visual scene. - Find the generated image path from the image_generate result URL. Download it to a local path if needed.
- Run the script with
--imageto overlay text, choosing a mode: - Overlay (text directly on image, white with black outline):
python "$SKILL_DIR/scripts/generate_meme.py" --image /path/to/scene.png /tmp/meme.png "top text" "bottom text"- Bars (black bars above/below with white text — cleaner, always readable):
python "$SKILL_DIR/scripts/generate_meme.py" --image /path/to/scene.png --bars /tmp/meme.png "top text" "bottom text"Use --bars when the image is busy/detailed and text would be hard to read on top of it.
- Verify with vision (if
vision_analyzeis available): Check the result looks good:
vision_analyze(image_url="/tmp/meme.png", question="Is the text legible and well-positioned? Does the meme work visually?")If the vision model flags issues (text hard to read, bad placement, etc.), try the other mode (switch between overlay and bars) or regenerate the scene.
- Return the image with
MEDIA:/tmp/meme.png
Examples
Explains the idea itself. Read it slowly; the later sections build on it.
"debugging production at 2 AM":
python generate_meme.py this-is-fine /tmp/meme.png "SERVERS ARE ON FIRE" "This is fine""choosing between sleep and one more episode":
python generate_meme.py drake /tmp/meme.png "Getting 8 hours of sleep" "One more episode at 3 AM""the stages of a Monday morning":
python generate_meme.py expanding-brain /tmp/meme.png "Setting an alarm" "Setting 5 alarms" "Sleeping through all alarms" "Working from bed"Listing Templates
Explains the idea itself. Read it slowly; the later sections build on it.
To see all available templates:
python generate_meme.py --listPitfalls
Explains the idea itself. Read it slowly; the later sections build on it.
- Keep captions SHORT. Memes with long text look terrible.
- Match the number of text arguments to the template's field count.
- Pick the template that fits the joke structure, not just the topic.
- Do not generate hateful, abusive, or personally targeted content.
- The script caches template images in
scripts/.cache/after first download.
Verification
Explains the idea itself. Read it slowly; the later sections build on it.
The output is correct if:
- A .png file was created at the output path
- Text is legible (white with black outline) on the template
- The joke lands — caption matches the template's intended structure
- File can be delivered via MEDIA: path