meme-maker — скилл для Claude Code: что делает и как установить
Ищет шаблоны мемов из каталога, подбирает формат под описание и рендерит картинку локально (SVG или PNG) или через Imgflip.
npx skills add openclaw/openclaw --skill meme-maker -a claude-codeЧто делает meme-maker
Скилл даёт команды для поиска по 20 готовым шаблонам мемов, подбора формата под вашу шутку и рендера изображения. Работает через Node.js-скрипт meme.mjs с двумя режимами: локальный (по умолчанию) и imgflip.
В локальном режиме скачивает картинку шаблона, кэширует её, встраивает в SVG и записывает файл. Если путь заканчивается на .png, рендерит через изолированный headless-браузер — нужен Playwright Chromium или установленный Chrome. Для SVG браузер не требуется. Режим imgflip вызывает API caption_image и возвращает hosted-ссылку; для работы нужны переменные IMGFLIP_USER и IMGFLIP_PASS.
Команды: search (поиск по имени и тегам), suggest (ранжирование по теме), render (генерация мема с текстом), list (список шаблонов), refresh (обновление данных Imgflip). Реестр шаблонов хранится в references/templates.json с метаданными, алиасами и координатами текстовых блоков.
Какие задачи решает
- сгенерировать картинку мема из кода
- найти подходящий шаблон по описанию шутки
- получить PNG без внешних сервисов
- закэшировать шаблоны для офлайн-работы
- вывести hosted-ссылку через Imgflip
Примеры запросов агенту
- найди шаблон для мема про медленный код
- сделай мем drake с текстом «повторные запросы» и «кэш»
- покажи все доступные шаблоны мемов
Как установить meme-maker
1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill meme-maker -a claude-code2Вручную: положить файлы
~/.claude/skills/meme-maker/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/meme-maker/
1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill meme-maker -a codex2Вручную: положить файлы
.agents/skills/meme-maker/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill meme-maker -a cursor2Вручную: положить файлы
.cursor/skills/meme-maker/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openclaw/openclaw meme-maker2Вручную: положить файлы
.github/skills/meme-maker/SKILL.md1Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill meme-maker -a gemini-cli2Командой платформы
gemini skills install https://github.com/openclaw/openclaw --path skills/meme-makerВручную: положить файлы
.devin/skills/meme-maker/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add openclaw/openclaw --skill meme-maker -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора48
Весь набор →Похожие
Вопросы о meme-maker
Как установить meme-maker в Claude Code?
Выполните npx skills add openclaw/openclaw --skill meme-maker -a claude-code, манифест скилла появится в ~/.claude/skills/meme-maker/SKILL.md.
Что делает meme-maker?
Ищет шаблоны мемов в каталоге из 20 форматов, подбирает подходящий по описанию и рендерит изображение — локально в SVG или PNG либо через Imgflip в hosted-URL.
Нужен ли браузер для работы meme-maker?
Для SVG браузер не нужен. Для PNG требуется Playwright Chromium или установленный Google Chrome, чтобы отрендерить SVG в растр через headless-режим.
Исходный текст
SKILL.md · MIT
---
name: meme-maker
description: Search meme templates, suggest formats, and generate local or hosted image memes.
metadata: { "openclaw": { "emoji": "🖼️", "requires": { "bins": ["node"] } } }
---
# Meme Maker
Create meme drafts from a curated template registry without bundling copyrighted template images.
Quick start
- Search: `{baseDir}/scripts/meme.mjs search "bad choice"`
- Suggest: `{baseDir}/scripts/meme.mjs suggest "slow python image scripts"`
- Local SVG: `{baseDir}/scripts/meme.mjs render drake --text "Repeated downloads" --text "Cached templates" --out /tmp/meme.svg`
- Local PNG: `{baseDir}/scripts/meme.mjs render drake --text "Maybe API" --text "Local render" --out /tmp/meme.png`
- Imgflip hosted: `{baseDir}/scripts/meme.mjs render drake --service imgflip --text "before" --text "after"`
Modes
- `local` is default. It downloads template images from their source URL with a browser-like user agent, caches them under the user cache dir, embeds the image in an SVG, and writes SVG. If `--out` ends in `.png`, it renders through an isolated headless browser using OpenClaw's Playwright support. PNG output requires Playwright's Chromium or an installed Google Chrome; SVG output needs no browser.
- `imgflip` calls Imgflip `caption_image` and prints the hosted URL. It requires `IMGFLIP_USER` and `IMGFLIP_PASS` unless supplied via `--username` and `--password`.
Commands
- `list [--json]`: list the built-in curated templates.
- `search <query> [--json]`: search template names, aliases, tags, and use cases.
- `suggest <topic> [--limit N] [--json]`: rank templates for the topic.
- `render <template> --text TEXT ... [--out PATH] [--service local|imgflip]`: generate a meme.
- `refresh [--limit N] [--json]`: fetch current Imgflip top templates for research; do not overwrite the curated registry automatically.
Template registry
- Read `{baseDir}/references/templates.json` for the curated 20-template registry.
- Each entry includes Imgflip metadata, Know Your Meme link, aliases, tags, fields, and local text placement boxes.
- Prefer `suggest` first when the user describes a joke but does not know the format.
Hygiene
- Do not ship template image files in the skill.
- Do not use shared or hardcoded Imgflip credentials.
- Keep Know Your Meme lookups out of the render hot path; use KYM links for explanation/provenance only.
- If PNG output fails because the browser is unavailable, use `--out meme.svg` (or another `.svg` path). Do not `npm install` packages into the skill directory or the OpenClaw tree to enable PNG.
© openclaw · MIT · openclaw/openclaw