Agent skill

Gemini Omni Video To Sticker Gif

by cafe3310 in cafe3310/public-agent-skills

“从视频片段裁剪缩放变速以制作GIF动态表情”

— description from SKILL.md by cafe3310
Apache-2.0Auto-check passedMedia & Creative

Install Gemini Omni Video To Sticker Gif

skills CLI
$ npx skills add cafe3310/public-agent-skills --skill gemini-omni-video-to-sticker-gif -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install cafe3310/public-agent-skills gemini-omni-video-to-sticker-gif --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/cafe3310/public-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills_parked/gemini-omni-video-to-sticker-gif .claude/skills/gemini-omni-video-to-sticker-gif && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gemini-omni-video-to-sticker-gif
GitHub stars
255
Token cost
~585 tokens
SKILL.md length
157 words
Files
2 (incl. scripts)
Skills in repo
29
Repo updated
First seen
Licence
Apache-2.0

At a glance

  • Works in 3 steps: 提取并生成带刻度的坐标参考图 → 生成 1.5 倍速、无定格的表情包 → 生成 1.2 倍速、最后一帧定格 0.4 秒的表情包
  • SKILL.md covers 概述, 何时使用此技能, 目录结构 and 参数说明, plus 2 more sections
  • Runs Python scripts from its folder; calls python3

About this skill

Gemini Omni Video To Sticker Gif is a skill in cafe3310/public-agent-skills (255 stars). Its SKILL.md is about 585 tokens, with 1 other file in the folder (scripts). Licence: Apache-2.0.

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. 提取并生成带刻度的坐标参考图
  2. 生成 1.5 倍速、无定格的表情包
  3. 生成 1.2 倍速、最后一帧定格 0.4 秒的表情包

What it can do on your machine

Read from SKILL.md and the folder at commit 6c45501. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gemini Omni Video To Sticker Gif loads about 585 tokens when it runs. Until then it costs about 14 tokens; SKILL.md has 157 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~14
When it runs · the whole SKILL.md, loaded when a task matches
~585

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from cafe3310/public-agent-skills at commit 6c45501, republished under its Apache-2.0 licence (© cafe3310). 157 words, ~585 tokens.

Download SKILL.mdSave it as .claude/skills/gemini-omni-video-to-sticker-gif/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gemini-omni-video-to-sticker-gif
description
从视频片段裁剪缩放变速以制作GIF动态表情
license
Apache-2.0
author
github/antigravity
depends_on_binary
ffmpeg, ffprobe, python3

技能:gemini-omni-video-to-sticker-gif

概述

此技能专门用于将任意视频(如 MP4)转换为高品质的 GIF 动态表情包。在制作微信表情包等场景下,它提供了从“坐标校准”到“动图生成”的完整工作流。支持在截图中绘制红黄相间的像素坐标刻度(精确到 50px),帮助用户精确确定裁剪范围。

关键词: 视频转GIF, 微信表情包, 坐标定位, GIF加速, 帧定格, ffmpeg

何时使用此技能

  • 当您想将一段视频转换成 GIF 表情包,但不确定具体的裁剪坐标时。
  • 当您需要精确定位视频中某个主体的坐标,想生成一张带有像素尺度的预览图时。
  • 当您需要调整 GIF 速度(如 1.5 倍速),或者想让 GIF 最后一帧定格一段时间(如定格 0.4 秒)时。

目录结构

gemini-omni-video-to-sticker-gif/
├── SKILL.md
└── scripts/
    └── video_to_gif.py   # 核心处理脚本

参数说明

脚本 video_to_gif.py 接收以下参数:

  • video_path (位置参数): 输入视频文件的绝对路径。
  • -o, --output: 输出 file 路径。如果是 --grid 模式,输出为 PNG 预览图;否则输出为 GIF 动图。
  • --ss: 截取起始时间(例如 2.5,单位为秒,默认为 0.0)。
  • -t, --duration: 截取的时长(例如 3.5,单位为秒)。
  • --to: 截取的结束时间(例如 6.0,单位为秒)。如果提供了 --to,会自动计算时长 duration = to - ss。
  • --crop: 裁剪区域。支持以下两种格式:
    • w:h:x:y (FFmpeg 标准格式,如 700:700:292:10)
    • x,y,w,h (如 292,10,700,700 或 xy292x10 wh700x700 格式)
  • --scale: 输出尺寸(例如 600:600,默认为 600:600)。
  • --speed: 播放速度倍数(例如 1.5,默认为 1.0,大于 1.0 为加速,小于 1.0 为减速)。
  • --freeze: 最后一帧定格时长(例如 0.4,单位为秒,默认为 0.0,即不定格)。
  • --grid: 启用网格模式。开启后不会生成 GIF,而是提取 --ss 时间点的一帧,并在其上叠加像素坐标刻度(红线代表 100px,黄虚线代表 50px),用于精确定位。

使用示例

1. 提取并生成带刻度的坐标参考图

如果您不确定坐标,先生成一张带有坐标网格 of 预览帧(第 2.0s 处):

bash
python3 <path_to_skill>/scripts/video_to_gif.py /path/to/video.mp4 --ss 2.0 --grid -o /path/to/preview_grid.png
2. 生成 1.5 倍速、无定格的表情包

根据预览图确定的坐标 x=352, y=39, w=630, h=630,截取 2.5s - 6.0s 视频段,制作 1.5 倍速表情包:

bash
python3 <path_to_skill>/scripts/video_to_gif.py /path/to/video.mp4 --ss 2.5 --to 6.0 --crop 630:630:352:39 --speed 1.5 -o /path/to/output.gif
3. 生成 1.2 倍速、最后一帧定格 0.4 秒的表情包
bash
python3 <path_to_skill>/scripts/video_to_gif.py /path/to/video.mp4 --ss 2.2 --to 6.2 --crop 700:700:319:10 --speed 1.2 --freeze 0.4 -o /path/to/output_freeze.gif

常见陷阱与注意事项

  1. 依赖项: 系统必须安装有 ffmpeg 和 ffprobe,并已加入环境变量。
  2. 裁剪区域越界: 填写的 x + w 或 y + h 不能超出视频原始的分辨率,否则 ffmpeg 会报错。可以使用 ffprobe 先查看视频原始分辨率,或直接参考生成的 --grid 图像的边缘刻度。
  3. 微信表情包大小限制: 微信自定义表情大小限制通常为 5MB(有些老版本限制更低)。如果生成的 GIF 太大,建议通过减小时长、调低帧率或缩放尺寸(例如从 600x600 缩小到 300x300)来控制文件大小。

© cafe3310, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (scripts) in skills_parked/gemini-omni-video-to-sticker-gif of cafe3310/public-agent-skills.

  • SKILL.md
  • scripts/video_to_gif.py

Open the folder on GitHubat commit 6c45501

Compare with similar skills

Gemini Omni Video To Sticker Gif next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gemini Omni Video To Sticker Gif compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gemini Omni Video To Sticker Gif this skillcafe3310/public-agent-skills255—~585Automated safety check: PassApache-2.0
Gbro Collage Brollpyang5166/gbro-collage-broll1.3k—~2.6kAutomated safety check: NotesMIT
Painted Animationtuzhechen2005/opus-video-skills1461 repos~1.9kAutomated safety check: PassCustom licence
Gemini Omni Flash APIgoogle-gemini/gemini-skills4.3k—~6.4kAutomated safety check: PassApache-2.0
Video Perceptionjordanrendric/claude-video-vision1.4k—~1.4kAutomated safety check: PassMIT
Generate Meme Gif Packlisamsung/agent-meme-forge104—~973Automated safety check: PassMIT

Similar skills

  • Gbro Collage Broll

    pyang5166/gbro-collage-broll

    将约 5 秒口播文稿、观点句或抽象概念做成高级 editorial halftone paper-collage / 半调纸拼贴 B-roll。用户说“collage b-roll”“纸拼贴 b-roll”“半调拼贴”“拼贴风格配画面”“用这段文稿做拼贴动画”“gbro-collage-broll”,或希望把一句文稿转成拼贴视觉隐喻时,必须使用此…

    1.3k GitHub stars~2.6k tokensUpdated 2 mo ago
    Media & CreativeAuto-check: notes
  • Painted Animation

    tuzhechen2005/opus-video-skills

    Make hand-painted watercolour-and-ink cartoon videos (MP4) with code — p5.js + p5.brush rendered frame by frame in headless Chrome, encoded with ffmpeg — starring Clawd or any character.

    146 GitHub starsUsed in 1 repo~1.9k tokens
    Media & CreativeAuto-check passed
  • Gemini Omni Flash API

    google-gemini/gemini-skills

    Official

    A skill your agent uses for generative video editing, text-to-video, image-referenced video generation, first-frame-to-video, first-and-last-frame transitions, and video extensions using Gemini Omni…

    4.3k GitHub stars~6.4k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • Video Perception

    jordanrendric/claude-video-vision

    A skill your agent uses when the user mentions a video file (.mp4, .mov, .avi, .mkv, .webm), a YouTube URL, asks to watch/analyze/review a video, or references video content in conversation

    1.4k GitHub stars~1.4k tokensUpdated 3 days ago
    Media & CreativeAuto-check passed
  • Generate Meme Gif Pack

    lisamsung/agent-meme-forge

    A skill your agent uses when the user wants to turn a reference image or text concept into a WeChat-ready animated Chinese meme GIF sticker pack: 16/24 entries, 240x240 GIFs, Chinese captions…

    104 GitHub stars~973 tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • Image

    Nexus-JPF/note-companion

    When the user wants to create, generate, edit, or optimize images for marketing — blog heroes, social graphics, product mockups, profile banners, listing visuals, or brand assets.

    870 GitHub starsUsed in 3 repos~3.9k tokens
    Media & CreativeAuto-check passed

More from cafe3310/public-agent-skills

All 29 skills in this repo
  • Impeccable

    cafe3310/public-agent-skills

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    255 GitHub stars~4.9k tokensUpdated 3 mo ago
    Auto-check passed
  • Text Watermark Fountain

    cafe3310/public-agent-skills

    A specialized skill for embedding and extracting resilient watermarks in text by manipulating sentence lengths and using Fountain Codes.

    255 GitHub stars~921 tokensUpdated 3 mo ago
    Auto-check passed
  • Obsidian Todo Collector

    cafe3310/public-agent-skills

    从 Obsidian 知识库中扫描指定时间范围内未完成事件,生成/更新未完成事件整理文档. An agent skill from cafe3310/public-agent-skills.

    255 GitHub stars~575 tokensUpdated 3 mo ago
    Auto-check passed
  • Deep Research

    cafe3310/public-agent-skills

    一个全面、自主的深度研究框架。当用户请求对复杂主题、市场调研、技术格局进行深入的多维度调查,或需要大量网页浏览、数据合成和结构化报告的任何任务时,使用此技能。它协调子代理(subagents)并使用基于文件系统的状态管理来防止上下文膨胀。

    255 GitHub stars~996 tokensUpdated 3 mo ago
    Auto-check passed
  • Long Audio To Obsidian

    cafe3310/public-agent-skills

    将语音转写项目输出的复杂文件结构整理合并为适合 Obsidian 归档的 Markdown 文档. An agent skill from cafe3310/public-agent-skills.

    255 GitHub stars~772 tokensUpdated 3 mo ago
    Auto-check passed
  • Markdown New

    cafe3310/public-agent-skills

    通过 markdown.new API 将网页、整站或搜索结果转换为干净的 Markdown. An agent skill from cafe3310/public-agent-skills.

    255 GitHub stars~344 tokensUpdated 3 mo ago
    Auto-check passed

Questions about Gemini Omni Video To Sticker Gif

How do I install Gemini Omni Video To Sticker Gif in Claude Code?

Run `npx skills add cafe3310/public-agent-skills --skill gemini-omni-video-to-sticker-gif -a claude-code`. Or copy the skill folder (skills_parked/gemini-omni-video-to-sticker-gif in cafe3310/public-agent-skills) into .claude/skills/gemini-omni-video-to-sticker-gif in your project. Claude Code loads it when a task matches its description.

How do I install Gemini Omni Video To Sticker Gif in Codex?

Run `npx skills add cafe3310/public-agent-skills --skill gemini-omni-video-to-sticker-gif -a codex`. Or copy the skill folder (skills_parked/gemini-omni-video-to-sticker-gif in cafe3310/public-agent-skills) into .agents/skills/gemini-omni-video-to-sticker-gif in your project. Codex loads it when a task matches its description.

Can I use Gemini Omni Video To Sticker Gif in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add cafe3310/public-agent-skills --skill gemini-omni-video-to-sticker-gif -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gemini-omni-video-to-sticker-gif, .gemini/skills/gemini-omni-video-to-sticker-gif, .github/skills/gemini-omni-video-to-sticker-gif and .opencode/skills/gemini-omni-video-to-sticker-gif in your project.

What does Gemini Omni Video To Sticker Gif need to run?

Going by SKILL.md and its folder, Gemini Omni Video To Sticker Gif needs Python for the scripts in its folder and the command-line tools its instructions call (python3).

Does Gemini Omni Video To Sticker Gif access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gemini Omni Video To Sticker Gif safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Gemini Omni Video To Sticker Gif use?

Gemini Omni Video To Sticker Gif is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gemini Omni Video To Sticker Gif use?

About 585 tokens (SKILL.md is roughly 2.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gemini Omni Video To Sticker Gif?

Skills that share tags, products or a category with Gemini Omni Video To Sticker Gif: Gbro Collage Broll (pyang5166/gbro-collage-broll, 1.3k stars), Painted Animation (tuzhechen2005/opus-video-skills, 146 stars), Gemini Omni Flash API (google-gemini/gemini-skills, 4.3k stars) and Video Perception (jordanrendric/claude-video-vision, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gemini Omni Video To Sticker Gif?

cafe3310 (a GitHub user) maintains it in cafe3310/public-agent-skills, which has 255 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on June 26, 2026.

Source: cafe3310/public-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.