meme-generation
Ce qu’il fait
Elle crée des fichiers d'images de mèmes avec du texte placé sur des modèles populaires, à partir du sujet que vous indiquez. Elle s'adresse à toute personne qui veut une image drôle et rapide sur une situation.
Quand l’utiliser
- ✓Quand vous demandez un mème sur un sujet ou une frustration précise.
- ✓Quand vous voulez qu'un modèle de mème soit choisi et légendé pour vous.
- ✓Quand vous voulez un mème enregistré en PNG que vous pouvez partager.
Lien du skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/creative/meme-generation/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Fais un mème sur la façon dont notre équipe dit toujours que la réunion aurait pu être un e-mail.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
L'agent choisit un modèle qui correspond à la situation, rédige de courtes légendes et inscrit le texte sur l'image. Il enregistre ensuite le résultat sous forme de fichier PNG.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Meme Generation
Generate actual meme images from a topic. Picks a template, writes captions, and renders a real .png file with text overlay.
When to Use
- 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
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
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> ~/.hermes/cache/scratch/meme.png "caption 1" "caption 2" ... - Return the image with
MEDIA:~/.hermes/cache/scratch/meme.png
Mode 2: Custom AI Image (when image_generate 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 ~/.hermes/cache/scratch/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 ~/.hermes/cache/scratch/meme.png "top text" "bottom text"
Use
--barswhen the image is busy/detailed and text would be hard to read on top of it. - Overlay (text directly on image, white with black outline):
- Verify with vision (if
vision_analyzeis available): Check the result looks good:
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.vision_analyze(image_url="~/.hermes/cache/scratch/meme.png", question="Is the text legible and well-positioned? Does the meme work visually?") - Return the image with
MEDIA:~/.hermes/cache/scratch/meme.png
Examples
"debugging production at 2 AM":
python generate_meme.py this-is-fine ~/.hermes/cache/scratch/meme.png "SERVERS ARE ON FIRE" "This is fine"
"choosing between sleep and one more episode":
python generate_meme.py drake ~/.hermes/cache/scratch/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 ~/.hermes/cache/scratch/meme.png "Setting an alarm" "Setting 5 alarms" "Sleeping through
Questions fréquentes
Quels modèles sont disponibles ?
La skill prend en charge environ 100 modèles populaires par nom ou identifiant, ainsi que 10 modèles sélectionnés avec un placement du texte affiné à la main.
Comment choisit-elle un modèle ?
Elle en choisit un qui correspond à la situation, comme un modèle de refus pour dire non ou un modèle de chaos pour un déni.
Quel type de fichier produit-elle ?
Une véritable image .png avec le texte superposé.
Détails
Description originale de l’auteur
Create meme PNGs from templates with Pillow text overlay.
Popularité
- Étoiles GitHub
- 260k
- Position au classement
- #471
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
agent-merge-conflict-arbiter
260kRègle un conflit de fusion git entre les branches de deux agents, en tant que tiers neutre, et produit un seul résultat fusionné pour le dépôt.
antigravity-cli
260kVous guide dans l'installation, la mise à jour et le dépannage de l'outil en ligne de commande Antigravity, y compris ses extensions, sa connexion et son bac à sable.
blackbox
260kPermet à votre agent de confier une tâche de programmation à l'outil en ligne de commande Blackbox AI, qui fait tourner plusieurs modèles d'IA et retient le meilleur résultat.
dynamic-workflow
260kApprend à votre agent à exécuter de gros lots de travaux similaires sous forme de script enregistré, afin que seuls les résultats vérifiés remontent dans la conversation principale.
Skills similaires
gifgrep
394kPermet à votre agent de chercher dans des bibliothèques de GIF, d'en prévisualiser les résultats, de télécharger un GIF et d'en extraire une image fixe ou une planche d'images.
meme-maker
394kPermet à votre agent de choisir un modèle de mème, d'ajouter vos propres légendes et de créer le mème sous forme d'image SVG ou PNG.
ios-icon-gen
280kPermet à votre agent de générer des icônes pour applications iOS. Il utilise les symboles Apple ou d'autres sources pour créer les fichiers adéquats.