Install
openclaw skills install @liyupi/memecubFind memes, 表情包 / 斗图 and reaction images and place them into articles, newsletters, docs or video scripts. Use when the user asks to add memes / 表情包 / reaction images to a piece of writing, to "配图" with memes, or to find a meme for a feeling, reaction or character (熊猫头, 奶龙, Drake, This Is Fine…). Searches the memecub library over HTTP with curl; every result says whether it is cleared for commercial use.
openclaw skills install @liyupi/memecubmemecub covers trending memes: Chinese 表情包 / 斗图 (熊猫头, 奶龙, 金馆长, 吗喽…), English reaction memes and templates (Drake, This Is Fine, Doge…), plus openly licensed emoji and art.
license.commercial_use: false.license.commercial_use: true, with attribution (a ready credit line) when license.attribution_required is true.Each result has a markdown field that already contains the credit line when one is required.
Everything goes through one HTTPS endpoint; curl is enough. No key is needed to try it (20 searches a day per IP). With a key (MEMECUB_API_KEY) each search costs 1 credit from the user's balance (a free account gets 1,000 credits a month) and also covers their private library. The user can get a key with npx memecub login --print or at https://memecub.com/dashboard?tab=keys:
curl -sG https://memecub.com/api/v1/search \
--data-urlencode "q=无语" -d limit=8 -d min_size=150 \
${MEMECUB_API_KEY:+-H "Authorization: Bearer $MEMECUB_API_KEY"}
The response is JSON: {"data": [{id, title, url, width, height, kind, license: {commercial_use, attribution_required, …}, attribution, markdown}, …], "total": …}.
Query parameters:
| Parameter | Use |
|---|---|
q | 1–3 words describing the reaction or character |
limit | up to 50 |
min_size=150 | skip images too small for an article |
kind=meme / kind=gif | only memes / only animated memes (when emoji or photos crowd the results) |
commercial=1 | only images cleared for commercial use |
no_credit=1 | only commercially usable images that need no credit line |
private=1 | only the user's own uploads (needs a key) |
profanity=1 | also return memes whose captions contain swearing (hidden by default; only if the user asks) |
If a memecub MCP server is connected, its search_memes tool takes the same options and you can use it instead of curl.
Do the reading yourself; only call memecub for search. This keeps cost low and gives better picks.
无语, 裂开, 震惊, 摸鱼, 打工人, 崩溃, 感动哭了. English: facepalm, mind blown, this is fine, side eye. For a named character (熊猫头, 奶龙, Drake) or the user's own mascot, search the name too.min_size=150. Chinese articles get Chinese 表情包 from Chinese queries; English queries mostly return English memes and emoji, so use them only as a fallback. For commercial pieces add commercial=1 if the user wants to stay safe.title) fits the sentence; visual variety across the article (don't use the same character twice in a row). Never reuse an image in one article.markdown field unchanged. It already includes the credit line when the license requires one; do not strip it.If the user has a key and just wants it done server-side:
curl -s -X POST https://memecub.com/api/v1/match \
-H "Authorization: Bearer $MEMECUB_API_KEY" -H "Content-Type: application/json" \
-d '{"text": "<the article, JSON-escaped>", "count": 4, "commercial": false}'
The response has data.markdown (the article with memes inserted) and data.slots (each spot, the chosen meme, alternatives, and placed: false if the sentence could not be found). It costs 20 credits per image actually placed (spots it could not fill and failed runs are not charged). Doing the reading yourself and calling search per spot costs 1 credit each, so prefer that.
For "find me a meme for X": search 2–3 phrasings, show the top 3–5 as Markdown images with whether each is cleared for commercial use, and let the user choose.
attribution_required is true.commercial_use: false image, say so once in your report and offer commercial=1 alternatives.private: true belong to the user's private library: the user declared they have rights to them. Remind the user once if such an image's declared license is non-commercial (e.g. cc-by-nc-sa) and the article looks commercial.npx memecub login --print (or create a key at https://memecub.com/dashboard?tab=keys) and set MEMECUB_API_KEY. On HTTP 402 the user's credits ran out: point them to https://memecub.com/pricing. Do not retry in a loop.