AgentSkillsCN

Meme Factory

当用户希望创作表情包、为内容增添幽默元素,或为社交媒体生成视觉辅助素材时,此技能将助您事半功倍。当您需要“制作表情包”“创作表情包”“关于……的表情包”“表情包工厂”,或收到有关幽默与视觉喜剧的需求时,此技能将为您提供丰富选择。通过 memegen.link API 支持 100 多种模板,同时在 Markdown 中提供 15 种以上的文字表情包格式。

SKILL.md
--- frontmatter
name: Meme Factory
model: fast
description: >
  When the user wants to create memes, add humor to content, or generate visual
  aids for social media. Triggers on: "make a meme", "create meme", "meme about",
  "meme factory", or requests for humor/visual comedy. Supports 100+ templates
  via the memegen.link API and 15+ textual meme formats in Markdown.
version: 1.0.0
tags: [memes, humor, social-media, tools, content]

Meme Factory

Generate memes using the free memegen.link API and textual Markdown meme formats. No API key required.

Installation

OpenClaw / Moltbot / Clawbot

bash
npx clawhub@latest install meme-factory

NEVER Do

  • Use spaces in meme URLs without encoding them as _ or -
  • Assume a template exists without checking the templates list
  • Write more than 2-6 words per line (text becomes unreadable)
  • Use the wrong template for the context (e.g., "success" template for failures)
  • Omit the file extension in URLs (.png, .jpg, etc.)
  • Forget to encode special characters (?~q, /~s, %~p, #~h)

Quick Start

URL Structure

code
https://api.memegen.link/images/{template}/{top_text}/{bottom_text}.{ext}

Example:

code
https://api.memegen.link/images/buzz/bugs/bugs_everywhere.png

Text Encoding

CharacterEncoding
Space_ or -
Newline~n
Question mark~q
Percent~p
Slash~s
Hash~h
Single quote''
Double quote""

Popular Templates

TemplateUse CaseWhen To Use
drakeComparing optionsRejecting one thing, approving another
buzzUbiquitous things"X, X everywhere"
successCelebrating winsPositive outcomes
fineProblems ignoredIronic "everything is fine"
fryUncertainty"Not sure if X or Y"
changemindHot takesStating an opinion confidently
distractedPrioritiesBeing distracted by something new
mordorBad ideas"One does not simply..."
interestingRare occurrences"I don't always X, but when I do..."
yodawgMeta/recursive"Yo dawg, I heard you like X"

Full list: https://api.memegen.link/templates/

Contextual Template Selection

ContextTemplateWhy
Comparing optionsdrakeTwo-panel reject/approve format
Celebrating winssuccessPositive outcome emphasis
Problems ignoredfineIronic calm amid chaos
Uncertaintyfry"Not sure if X or Y" format
Controversial opinionchangemindStatement + challenge
Ubiquitous thingsbuzz"X, X everywhere"
Bad ideasmordor"One does not simply..."

Image Options

Formats

ExtensionUse Case
.pngBest quality (default)
.jpgSmaller file size
.webpModern, good compression
.gifAnimated templates

Dimensions by Platform

PlatformDimensionsUsage
Social media / Open Graph?width=1200&height=630Twitter, LinkedIn, Facebook
Slack / Discord?width=800&height=600Chat platforms
GitHubDefaultPRs, issues, README

Layout Options

code
?layout=top       # Text at top only
?layout=bottom    # Text at bottom only
?layout=default   # Standard top/bottom

Textual Meme Formats (Markdown)

Beyond image memes, create text-based memes directly in Markdown:

  • Greentext — Code fence with > prefixed lines for anon-culture narratives
  • Copypasta — Dramatic walls of text in code fences
  • Shitpost poetry — Hard line breaks for comedic timing
  • ASCII art — Monospaced art in code fences
  • Tumblr chains — Nested blockquotes for multi-speaker escalation
  • Twitter/X style — Short blockquote micro-memes
  • Reddit AITA/TIFU — Heading + paragraphs narrative memes
  • Wojak dialogues — Bold names + minimal dialogue
  • Discord chat logs — Code fence with timestamps
  • Corporate satire — Lists + bold labels for fake official notices
  • Fake wiki/manual pages — Technical jargon for mundane objects

Full guide with examples: references/markdown-memes-guide.md

Validation Checklist

After generating a meme:

  • URL returns valid image (test with curl -I)
  • Text is readable (not too long)
  • Template matches the message context
  • Special characters properly encoded
  • Dimensions appropriate for target platform

Embedding in Markdown

markdown
![Description](https://api.memegen.link/images/drake/manual_testing/automated_testing.png)

Always provide descriptive alt text for accessibility:

  • Good: ![Drake rejecting manual testing, approving automated testing]
  • Bad: ![funny meme]

Custom Backgrounds

Use any image as a meme background with the custom template:

code
https://api.memegen.link/images/custom/top_text/bottom_text.png?style=https://example.com/image.jpg

Pair screenshots of apps, dashboards, or charts as backgrounds for contextual humor.

Mixing Text + Image Memes

For blog posts and documentation, alternate between formats for pacing:

  1. Start with text (greentext/chat log) to set up context
  2. Follow with image to amplify the punchline
  3. Close with text (corporate satire/poetry) for resolution

Good patterns: Greentext → Image → Corporate satire, Chat log → Image → Shitpost poetry

Avoid: 5 images in a row (visual fatigue), 3 long copypastas back-to-back (reader exhaustion)

API Reference

EndpointPurpose
/templates/List all available templates
/templates/{id}Template details and example
/fonts/Available fonts
/images/{template}/{top}/{bottom}.{ext}Generate meme image

API characteristics: Free, open-source, no API key, no rate limiting, stateless, images generated on-demand.

Python Helper Script

python
from meme_generator import MemeGenerator

meme = MemeGenerator()

# Generate a basic meme URL
url = meme.generate("buzz", "features", "features everywhere")

# With custom dimensions for social media
url = meme.generate("drake", "old way", "new way", width=1200, height=630)

# Get markdown for embedding
md = meme.get_markdown_image(url, alt_text="Comparison Meme")

# Suggest template based on context
template = meme.suggest_template_for_context("deployment success")

References

FileContent
references/markdown-memes-guide.md15+ textual meme formats with examples and production tips
references/examples.mdPractical usage examples, integrations (Slack, GitHub, Discord)

Scripts

ScriptPurpose
scripts/meme_generator.pyPython helper for programmatic meme generation with 20+ templates