octopus-meme-maker
Use this skill when the user asks for a new pink-octopus office-worker GIF meme, a Smooth Squishmallow-style worker octopus sticker, a 4-character Chinese…
от MiniMax-AI★ 30 звёзд на GitHub
Установить octopus-meme-maker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Octopus Meme Maker
Generate one 720×720 looping GIF + one 480×480 mini-GIF per scene. Read this entire file before producing any output.
1. Pre-flight
${PLUGIN_ROOT} is the environment variable MiniMax Code sets to this Plugin's root directory. Every command in this file is anchored to it, so the commands work from any working directory.
Read reference.md (anatomy + prompt template) and issues.md (ban-list + failure modes) before stage 1.
1.1 Copy the reference frames
Shell blocks in this file are POSIX shell: macOS, Linux, or Git Bash on Windows.
The character / style reference is the 3 examples/*.png files (3D
Squishmallow-style bases from prior scenes). reference.md § Reference images
explains why a finished base pose, and not a video frame, is the right anchor.
mkdir -p <scene-dir>/iterations <scene-dir>/frames-check
cp "${PLUGIN_ROOT}"/examples/*.png <host-image-synthesize-input-dir>/
Exit condition: ls "${PLUGIN_ROOT}"/examples/*.png lists 3 files; <scene-dir>/iterations/ and <scene-dir>/frames-check/ exist.
2. Stage 1 — base pose (image_synthesize, 2K 1:1)
Generate a 1024×1024 PNG that the user has personally picked from a contact sheet. The hard gate is "抽 6 张拼图给用户挑" — never ask the user to confirm a single image, and never pick on the user's behalf. The first non-contact-sheet round is treated as an unauthorised shortcut.
2.1 Generate 6 candidates in one batch
Submit one image_synthesize call with 6 parallel requests in the
requests array (NOT 6 separate calls). The tool accepts up to 10 requests.
All 6 share the same prompt and the same input_file_paths — the 3
examples/*.png files, since the tool accepts at most 4 reference images per
request. The model returns 6 distinct candidates in one round-trip.
Save successful outputs to <scene-dir>/iterations/vN-{1..6}-base.jpg,
where N is the round number starting at 1. Reject any candidate that
matches an issues.md ban-list entry — note the bad index, but keep the
rest of the batch.
If the round's batch has fewer than 4 non-banned candidates, re-roll only the bad indices with a refined prompt (see § 7.1) and append the new ones to the same round. Do not move on to round N+1 just because one image was weak.
2.2 Compose the contact sheet
python3 "${PLUGIN_ROOT}/scripts/make_contact_sheet.py" \
<scene-dir>/iterations/vN-1-base.jpg \
<scene-dir>/iterations/vN-2-base.jpg \
<scene-dir>/iterations/vN-3-base.jpg \
<scene-dir>/iterations/vN-4-base.jpg \
<scene-dir>/iterations/vN-5-base.jpg \
<scene-dir>/iterations/vN-6-base.jpg \
<scene-dir>/iterations/vN-contact-sheet.png
The script lays the 6 candidates in a 3-cols × 2-rows grid with a bold number badge (1-6) on each cell so the user can answer "3" / "选 2" / "第 5 张" without ambiguity. Default cell size is 480×480; the sheet is 1460×974 px.
Exit condition: <scene-dir>/iterations/vN-contact-sheet.png exists and
shows 6 distinct numbered cells.
2.3 Hand the contact sheet to the user
Deliver the contact sheet to the user as an inline image — use a <media />
tag so all 6 candidates are visible at once without leaving the chat. Then
STOP and wait for the user to pick. This is a hard gate that nothing
in Stage 1 or Stage 2 may bypass.
Output to the free canvas
The contact sheet MUST land on the user's free canvas (the workspace panel that surfaces generated files) as well as in the chat reply. The action is two-part:
- Persist to disk — the contact sheet is already at
<scene-dir>/iterations/vN-contact-sheet.pngafter § 2.2; the 6 individual candidates are at<scene-dir>/iterations/vN-{1..6}-base.jpg. Both paths must remain valid after the contact-sheet delivery. - Surface in chat — emit a
<media src="/abs/path/to/vN-contact-sheet.png" />tag inside an assistant turn so the user can see all 6 candidates inline.
Both steps are required. Persisting without surfacing leaves the user guessing; surfacing without persisting means the user cannot re-pick later.
| User signal | Action |
|---|---|
| A number ("3", "选 2", "第 5 张") | Copy iterations/vN-{N}-base.jpg → <scene-dir>/base.png and proceed to Stage 2. |
| All-bad signal ("全部不行" / "再抽" / "继续抽卡" / "都不行") | Start a new round: bump N → N+1, refine the prompt per § 7.1, re-run § 2.1 and § 2.2. Repeat until the user picks. |
| Specific feedback ("3 号嘴有问题" / "想要更慵懒" / "表情再焦一点") | Treat as both a pick AND a refinement: lock the chosen one as base.png, note the feedback, then start a follow-up round N+1 with the feedback applied before committing to Stage 2. |
The contact-sheet loop is mandatory and runs until the user picks.
- STOP after every contact-sheet delivery. Do not start Stage 2, do not start a follow-up round, do not move on in any way — the loop must wait for the user's reply.
- Loop indefinitely. There is no upper bound on
N; keep re-rolling with the user'
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- issues.md
- reference.md
FAQ
Что делает скилл octopus-meme-maker?
Use this skill when the user asks for a new pink-octopus office-worker GIF meme, a Smooth Squishmallow-style worker octopus sticker, a 4-character Chinese caption on a 720x720 looping GIF, or wants to add a scene to an existing meme library. Drives a 4-stage pipeline (base pose via image_synthesize -> 6s 24fps video via gen_videos -> transparent Chinese text overlay via Pillow -> 720x720 + 480x480 GIF via ffmpeg) and enforces a strict character-anatomy ban-list. Read this skill before starting any new scene.
Как установить скилл octopus-meme-maker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл octopus-meme-maker запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…