meme-creator
Skill1.4k starsChanged 8 months agoMITView on GitHub
Creates video/GIF memes by overlaying images (logos, avatars, stickers) onto moving objects in a clip with frame-accurate tracking, then exports MP4 + GIF. Use whenever the user wants a meme, 梗图, 表情包, or reaction GIF from footage; to cover faces in a video; or asks to 把 logo/头像贴到视频里跟着动. Not for transcript-driven editing, programmatic scene generation, or subtitle work.
Trending
Less talk lately.thin dataabout the whole repository
Who's talking about daymade/claude-code-skills
- Ven0m0/claude-config“Add a structured external integration plan to the root TODO backlog”GitHub · Mar 18, 2026 · 4 reactions
- Ven0m0/claude-config“TODO list”GitHub · Jan 31, 2026 · 1 reactions
- sudosubin/agents.nix“claude-code-plugins.github.daymade.claude-code-skills: init at 1.64.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“claude-code-marketplaces.github.daymade.claude-code-skills: init at 1.64.0”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.daymade.claude-code-skills: init at 1.64.0”GitHub · Sep 26, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub (14 times).
On GitHub · 14
- Mar 18, 2026Add a structured external integration plan to the root TODO backlog — Ven0m0/claude-config4 reactions · 4 comments
- Jan 31, 2026TODO list — Ven0m0/claude-config1 reaction · 18 comments
- Oct 4, 2026claude-code-plugins.github.daymade.claude-code-skills: init at 1.64.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.daymade.claude-code-skills: init at 1.64.0 — sudosubin/agents.nix0 reactions
- Sep 26, 2026agent-skills.github.daymade.claude-code-skills: init at 1.64.0 — sudosubin/agents.nix0 reactions
9 more on GitHub
- Aug 28, 2026candidate: scrapling-skill — BigPengSays/awesome-creator-skills0 reactions
- Aug 24, 2026candidate: scrapling-skill — BigPengSays/awesome-creator-skills0 reactions
- Aug 23, 2026candidate: scrapling-skill — BigPengSays/awesome-creator-skills0 reactions
- Jul 5, 2026[Skills Review Weekly] 2026-07-06 — nozomiishii/dotfiles0 reactions
- May 30, 2026Add daymade-skills plugin marketplace to project settings — fmassonmips/mips-platform0 reactions
- Apr 11, 2026Mac 磁盘撑爆了怎么办? — vv13/blog0 reactions
- Mar 19, 2026feat: prompt manager — gohypergiant/agent-skills0 reactions · 3 comments
- Feb 6, 2026🟢 Importar skills de pesquisa, otimização e verificação (claude-code-skills) — arbgjr/sdlc_agentico0 reactions
- Nov 23, 2025Explore github-ops skill — PaulRBerg/dot-claude0 reactions · 1 comment
In this repository55 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- daymade-skill/CLAUDE.mdCLAUDE.md
- auto-repo-setupSkill
- bilibili-sourceSkill
- cli-demo-generatorSkill
- cloudflare-troubleshootingSkill
- competitors-analysisSkill
- data-visualization-disciplineSkill
- debugging-network-issuesSkill
- deep-researchSkill
- douban-skillSkill
- download-gemini-imagesSkill
- excalidraw-useSkill
- fact-checkerSkill
- feishu-doc-scraperSkill
- frontend-visual-qaSkill
- gemini-history-analyzerSkill
- ghostty-useSkill
- github-contributorSkill
- github-opsSkill
- github-review-prSkill
- github-sensitive-data-cleanupSkill
- git-safety-netSkill
- i18n-expertSkill
- ima-copilotSkill
- kimi-useSkill
- llm-eval-harnessSkill
- llm-icon-finderSkill
- llm-wiki-setupSkill
- marketplace-health-checkSkill
- notify-wecomSkill
- openclaw-model-switchSkill
- openclawSkill
- peer-messageSkill
- product-analysisSkill
- promptfoo-evaluationSkill
- prompt-optimizerSkill
- qa-expertSkill
- repomix-safe-mixerSkill
- repomix-unmixerSkill
- report-with-htmlSkill
- scrapling-skillSkill
- setup-notifications-via-wecomSkill
- slides-creatorSkill
- teams-channel-post-writerSkill
- terraform-skillSkill
- tibo-reset-codexSkill
- tunnel-doctorSkill
- twitter-readerSkill
- ui-designerSkill
- video-comparerSkill
- windows-remote-desktop-connection-doctorSkill
- wps-doc-scraperSkill
- youtube-downloaderSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
When the user names who/what goes on screen ("Codex, Claude, and Tibo's avatar"), every ambiguous name must survive the disambiguation gate …
- Very specific: line 60
If a domestic-CN site fails with a proxy tunnel error, retry with --proxy "" (a local HTTP proxy breaks some domestic CDNs).
- Distinctive: line 68
Never track "the whole video." Find the exact scene with a 1–2 fps contact sheet, then expand around it:
- Distinctive: line 75
Read the sheet, pick the beat boundaries (entrance → action → exit), and cut the final segment ±1 s of padding.
- Very specific: line 97
Write the tracking config (targets + init frame), run: uv run scripts/track_boxes.py --frames 'seq/f_%04d.png' --config track.json --out …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Meme Creator
Turn a video clip into a meme: images (logos, avatars, stickers) glued onto moving objects so they follow the motion frame by frame, delivered as MP4 + GIF.
The failure mode that ruins this is not tracking drift — it is gluing the wrong person's avatar on screen because a name was bound to the first plausible account found. So step 0 is identity, not tooling.
For a static image meme, skip tracking entirely: put one manual_keys entry
per target ([[1, [x, y, w, h]]]) in the overlays config and render just that
frame — --tracks is optional when every position comes from keys.
Requirements
ffmpegon PATHuv— all bundled Python scripts carry inline dependencies; run them withuv run <script>and deps resolve themselvesyt-dlponly when downloading (uv run --with yt-dlp yt-dlp ...)- Chrome/Chromium only when rasterizing an SVG logo (asset-binding.md)
- Script paths below are written
scripts/…relative to this skill's bundle directory. Resolve the bundle path once (SKILL_DIR=<path to this skill>) and run"$SKILL_DIR"/scripts/make_sheets.py …— your working directory is the scratch dir, not the bundle.
Pipeline
Work inside a scratch directory (/tmp/<meme-name>/ or similar), deliver only
the final MP4 + GIF.
0. Bind identities before fetching assets
When the user names who/what goes on screen ("Codex, Claude, and Tibo's avatar"), every ambiguous name must survive the disambiguation gate in references/asset-binding.md — enumerate candidates with a handle-free search, discriminate from the request context (the peer entities listed alongside are the strongest signal), and ask the user when context cannot decide. That file also covers logo/avatar sourcing, SVG→PNG with real transparency via headless Chrome, and badge styling. Fetch and eyeball every image before compositing it.
1. Acquire the source
Local file: use it. URL: yt-dlp handles bilibili (incl. b23.tv short links),
YouTube, and most sites:
uv run --with yt-dlp yt-dlp -f "bv*+ba/b" --merge-output-format mp4 -o "source.%(ext)s" "<url>"If a domestic-CN site fails with a proxy tunnel error, retry with --proxy ""
(a local HTTP proxy breaks some domestic CDNs); if an international site times
out, retry with the local proxy.
Check duration: ffprobe -v error -show_entries format=duration -of csv=p=0 source.mp4
2. Locate the segment
Never track "the whole video." Find the exact scene with a 1–2 fps contact sheet, then expand around it:
ffmpeg -v error -ss <start_s> -t 40 -i source.mp4 -vf "fps=1,scale=240:-1,tile=5x8" -frames:v 1 contact.pngRead the sheet, pick the beat boundaries (entrance → action → exit), and cut the final segment ±1 s of padding. Extract the frame sequence at native fps:
mkdir -p seq && ffmpeg -v error -ss <seg_start> -i source.mp4 -t <seg_dur> seq/f_%04d.png
ffprobe -v error -select_streams v:0 -show_entries stream=r_frame_rate -of csv=p=0 source.mp43. Prep overlay assets
One image per target, PNG with alpha. Unify mixed assets (app icon + logo mark
- photo avatar) as
circle-whitebadges — see asset-binding.md for why and for the avatar circular-mask handling.
4. Track the targets
Full procedure and failure taxonomy: references/tracking-playbook.md. Short form:
- Grid one frame where all targets are fully visible:
uv run scripts/make_sheets.py grid --frames 'seq/f_%04d.png' --index 30 --out grid.pngand read each target's[x, y, w, h]box off the grid. - Write the tracking config (targets + init frame), run:
uv run scripts/track_boxes.py --frames 'seq/f_%04d.png' --config track.json --out tracks.json --last <N> - Verify:
uv run scripts/make_sheets.py tile --frames 'seq/f_%04d.png' --tracks tracks.json --start 1 --end <N> --step-frames 15 --out verify.pngand look at every tile. - Fix what the tiles show: re-anchor later segments (shot changes, scale
blowups, drift), or take over a smooth long shot with
manual_keys. Expect 2–3 rounds. Then markvisible/fade_in/fade_outfor every exit, entrance, and empty-stretch — a logo parked on an empty frame is the most visible possible bug.
5. Render
uv run scripts/render_overlay.py --frames 'seq/f_%04d.png' --tracks tracks.json \
--overlays overlays.json --out 'out/o_%04d.png' --last <N>Spot-check a rendered contact sheet (make_sheets.py tile over out/) before
encoding — much cheaper than re-encoding.
6. Encode + size budget
scripts/encode_outputs.sh --frames 'out/o_%04d.png' --fps <native_fps> \
--source source.mp4 --ss <seg_start> --t <seg_dur> --mp4 meme.mp4 \
--gif meme.gif --gif-width 400 --gif-fps 10 --gif-colors 96GIF size is driven by frame count × dither noise, not palette size. To fit a
~10 MB chat-app budget, lower knobs in this order: --gif-fps (15→12→10),
then --gif-width (480→400), then --gif-colors (128→96).
7. Verify the encoded deliverables, then deliver
Extract frames from the final MP4 and the final GIF (ffmpeg -ss <t>
-frames:v 1) and look at them — the earlier checks verified intermediates;
this one verifies what the recipient will actually see. Deliver both files by
their exact paths.
Troubleshooting
| Symptom | Cause | Fix |
yt-dlp: Tunnel connection failed 503 on a domestic site | local HTTP proxy intercepting | add --proxy "" |
cairosvg/svglib crash: no library called cairo | missing system cairo | rasterize SVG via headless Chrome (asset-binding.md) |
| Tracker dies exactly at a shot change | CSRT cannot cross cuts | new segments entry at the new shot's first frame |
| Box drifts slowly off the target over ~1 min | template pollution | re-anchor with the tracker's own last-good box, or manual_keys |
| Logo parked mid-frame after subject exits | missing visibility window | fade_out before the exit, no visible range after |
| GIF massively over budget | dither noise × frames | lower --gif-fps first, then width, then colors |
| Logo looks fine in PNGs but wrong in the GIF | checked intermediates only | always verify frames from the encoded file (step 7) |
Encode fails: Failed to set value '1:a' for option 'map' | source clip has no audio stream | the bundled script maps 1:a? (optional); if running ffmpeg by hand, do the same or drop --source |
References
- references/asset-binding.md — identity disambiguation gate, logo/avatar sourcing, transparency, badge styling
- references/tracking-playbook.md — CSRT failure taxonomy, re-anchor recovery, manual keyframes, fades, verify loop
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

