meme-generation

meme-generation is a skill for Claude Code, Codex from NousResearch/hermes-agent. It costs 15 tokens per session (1,402 once invoked), scanned A, original, MIT.

A tool that creates actual meme PNG images by choosing a template and placing captions on it. It uses Pillow, a Python image-processing library, for the text overlay.

In plain words
What is it for?
Use it to make memes about a topic, situation, frustration or other prompt from supported popular templates.
Why use it?
It removes the need to position and render meme text by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to make memes about a topic, situation, frustration or other prompt from supported popular templates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nousresearch/hermes-agent/meme-generation
About the project

Hermes Agent is an AI assistant that learns from its use by creating and improving skills, retaining knowledge, searching past conversations, and adapting to its users. It is for people who want to run an agent through a terminal or messaging platforms while connecting it to different AI models and scheduled tasks.

NousResearch/hermes-agent · 267,016 stars · on GitHub · hermes-agent.nousresearch.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NousResearch/hermes-agent --skill meme-generation
Clone the repo
git clone --depth 1 https://github.com/NousResearch/hermes-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for meme-generation

README.md
[![agentmods](https://agentmods.dev/badge/skills/nousresearch/hermes-agent/meme-generation/github.svg)](https://agentmods.dev/skills/nousresearch/hermes-agent/meme-generation)
Your own site
<a href="https://agentmods.dev/skills/nousresearch/hermes-agent/meme-generation"><img src="https://agentmods.dev/badge/skills/nousresearch/hermes-agent/meme-generation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for meme-generation

Your own site · 80×15
<a href="https://agentmods.dev/skills/nousresearch/hermes-agent/meme-generation"><img src="https://agentmods.dev/badge/skills/nousresearch/hermes-agent/meme-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,402 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Snyk pass 7 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 57
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.01402
Opus 5.5 $0.00006 $0.00561
Sonnet 5.5 $0.00003 $0.00280
Haiku 4.5 $0.00002 $0.00140

Measured 2mo ago against content hash bd43e558ebca, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

meme-generation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/generate_meme.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

8 near-identical copies found in the catalogue:

optional-skills/creative/meme-generation/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on 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)

  1. Read the user's topic and identify the core dynamic (chaos, dilemma, preference, irony, etc.)
  2. Pick the template that best matches. Use the "Best for" column, or search with --search.
  3. Write short captions for each field (8-12 words max per field, shorter is better).
  4. Find the skill's script directory:
    SKILL_DIR=$(dirname "$(find ~/.hermes/skills -path '*/meme-generation/SKILL.md' 2>/dev/null | head -1)")
    
  5. Run the generator:
    python "$SKILL_DIR/scripts/generate_meme.py" <template_id> ~/.hermes/cache/scratch/meme.png "caption 1" "caption 2" ...
    
  6. Return the image with MEDIA:~/.hermes/cache/scratch/meme.png

Read the full file on GitHub · 131 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed bd43e558ebca
  2. 3mo ago First seen · 131 lines · 15 tokens per session scan A 5b1e56438f14

Subscribe to this mod's changes

meme-generation is a skill published in the GitHub repository NousResearch/hermes-agent (267,016 stars, last pushed today), licensed MIT. It adds 15 tokens to every session and 1,402 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

meme-generation compared with skills from other repositories

meme-generation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
meme-generationNousResearch/hermes-agentSkill267ktodayMITA15Claude Code, Codex
autonomous-loopsaffaan-m/ECCSkill313k7d agoMITA26Claude Code, Kiro
xlsxasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A206Claude Code, Codex
a11y-debuggingasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A50Claude Code, Codex
optionsasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A13Claude Code
faqasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A83Claude Code, Codex
validate-dataasgeirtj/system_prompts_leaksSkill74kyesterdayCC0-1.0A28Claude Code, Codex