gemini-omni-video-to-sticker-gif

gemini-omni-video-to-sticker-gif is a skill for Claude Code, Codex from cafe3310/public-agent-skills. It costs 28 tokens per session (1,314 once invoked), scanned A, original, Apache-2.0.

A workflow for turning a video clip into an animated GIF, such as a chat sticker. It supports selecting a time range, cropping and resizing the video, changing playback speed, and holding the final frame.

In plain words
What is it for?
Use it to create GIFs from video files, generate a frame with pixel guides for choosing crop coordinates, adjust speed, and freeze the last frame for a chosen duration.
Why use it?
It helps when the desired subject or timing is difficult to select precisely from a video before making the GIF.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create GIFs from video files, generate a frame with pixel guides for choosing crop coordinates, adjust speed, and freeze the last frame for a chosen duration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cafe3310/public-agent-skills/gemini-omni-video-to-sticker-gif
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add cafe3310/public-agent-skills --skill gemini-omni-video-to-sticker-gif
Clone the repo
git clone --depth 1 https://github.com/cafe3310/public-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-omni-video-to-sticker-gif

README.md
[![agentmods](https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/gemini-omni-video-to-sticker-gif/github.svg)](https://agentmods.dev/skills/cafe3310/public-agent-skills/gemini-omni-video-to-sticker-gif)
Your own site
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/gemini-omni-video-to-sticker-gif"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/gemini-omni-video-to-sticker-gif/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-omni-video-to-sticker-gif

Your own site · 80×15
<a href="https://agentmods.dev/skills/cafe3310/public-agent-skills/gemini-omni-video-to-sticker-gif"><img src="https://agentmods.dev/badge/skills/cafe3310/public-agent-skills/gemini-omni-video-to-sticker-gif.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,314 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.01314
Opus 5 $0.00014 $0.00657
Sonnet 5 $0.00006 $0.00263
Haiku 4.5 $0.00003 $0.00131

Measured 12d ago against content hash d8d1782982e5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

gemini-omni-video-to-sticker-gif scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/video_to_gif.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills_parked/gemini-omni-video-to-sticker-gif/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

技能: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,700xy292x10 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 处):

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 倍速表情包:

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 秒的表情包

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

Read the full file on GitHub · 77 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 77 lines · 28 tokens per session scan A d8d1782982e5

Subscribe to this mod's changes

gemini-omni-video-to-sticker-gif is a skill published in the GitHub repository cafe3310/public-agent-skills (253 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 28 tokens to every session and 1,314 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

experts

Assemble a panel of experts to assess a problem from multiple professional perspectives, surface agreement and disagreement, and deliver a chaired recommendation with clear tradeoffs. Use when the user wants multi-expert judgment, a second opinion, design critique, option comparison, or a recommendation backed by…

flc1125/skills · 62 tokens

create-plan

A guide for creating repository-aware technical plans: written proposals for implementation, refactoring, migration, or design work based on the actual codebase.

flc1125/skills · 114 tokens

github-release-notes-writer

Draft or update user-focused GitHub Release Notes from verified tags, commits, pull requests, existing releases, and supplied changelog baselines. Use when preparing prerelease or stable release notes, turning GitHub's generated What's Changed list into a curated narrative, documenting upgrades or breaking changes, or…

flc1125/skills · 84 tokens

google-fonts-curator

Recommend high-taste Google Fonts for websites based on brand tone, page type, and visual direction. Use when the user needs font selection, font pairing, or aesthetic judgment within the Google Fonts ecosystem for landing pages, brand sites, editorial pages, portfolios, or digital products.

flc1125/skills · 61 tokens

programmer-motivator

Give calm, technically grounded encouragement to programmers when the user is stuck on a bug, frustrated by debugging, tired, discouraged, blaming themselves after a mistake, asking for motivation or emotional support while coding, wanting someone to stay with them through a hard problem, celebrating a breakthrough…

flc1125/skills · 102 tokens

subagent-orchestrator

Orchestrate subagent workflows for complex tasks that benefit from decomposition, role-based delegation, and parallel execution. Use when Codex should assemble a temporary team of subagents, choose roles from a reusable role library, create a controlled fallback role when no preset role fits, coordinate read-heavy…

flc1125/skills · 87 tokens