video-to-gif

video-to-gif is a skill for Claude Code, Codex from Peter-N91/hve-squad-mcp. It costs 16 tokens per session (2,683 once invoked), scanned B, a copy of video-to-gif, MIT.

A video conversion tool that turns video files into animated GIFs using FFmpeg, a command-line media program. It uses two passes to build a color palette and then create the GIF.

In plain words
What is it for?
Use it to convert video files such as MP4 clips into GIF animations and receive the resulting file path.
Why use it?
It provides a repeatable way to make GIFs with better color fidelity and smaller files than the stated single-pass approach. FFmpeg must already be installed and available on the command line.

Skill for Claude CodeCodex

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

Good fit Use it to convert video files such as MP4 clips into GIF animations and receive the resulting file path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peter-n91/hve-squad-mcp/video-to-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 Peter-N91/hve-squad-mcp --skill video-to-gif
Clone the repo
git clone --depth 1 https://github.com/Peter-N91/hve-squad-mcp

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 video-to-gif

README.md
[![agentmods](https://agentmods.dev/badge/skills/peter-n91/hve-squad-mcp/video-to-gif/github.svg)](https://agentmods.dev/skills/peter-n91/hve-squad-mcp/video-to-gif)
Your own site
<a href="https://agentmods.dev/skills/peter-n91/hve-squad-mcp/video-to-gif"><img src="https://agentmods.dev/badge/skills/peter-n91/hve-squad-mcp/video-to-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 video-to-gif

Your own site · 80×15
<a href="https://agentmods.dev/skills/peter-n91/hve-squad-mcp/video-to-gif"><img src="https://agentmods.dev/badge/skills/peter-n91/hve-squad-mcp/video-to-gif.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,683 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 89% copy Near-identical to another mod 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.00016 $0.02683
Opus 5.5 $0.00006 $0.01073
Sonnet 5.5 $0.00003 $0.00537
Haiku 4.5 $0.00002 $0.00268

Measured 5d ago against content hash 045ef15b23ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

video-to-gif scanned grade B with 1 finding 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 5d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/convert.ps1, scripts/convert.sh, tests/convert.Integrity.Tests.ps1, …), 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo apt update && sudo apt install ffmpeg
Origin

This is a copy

89% identical to video-to-gif — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

host/upstream-runtime/.github/skills/experimental/video-to-gif/SKILL.md · 352 lines

How it starts

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

Video-to-GIF Conversion Skill

This skill converts video files to optimized GIF animations using FFmpeg two-pass palette optimization.

Overview

The two-pass conversion process generates superior quality GIFs compared to single-pass approaches. Pass one analyzes the video and creates an optimized color palette. Pass two applies that palette to produce the final GIF with better color fidelity and smaller file sizes.

Response Format

After successful conversion, include a file link to the GIF in the response with the absolute file path:

/absolute/path/to/filename.gif

This allows the user to open the file and review it.

Prerequisites

FFmpeg is required and must be available in your system PATH.

macOS

brew install ffmpeg

Linux (Debian/Ubuntu)

sudo apt update && sudo apt install ffmpeg

Windows

Using Chocolatey:

choco install ffmpeg

Using winget:

winget install FFmpeg.FFmpeg

Verify installation:

ffmpeg -version

Quick Start

Convert a video using default settings (10 FPS, 1280px width, sierra2_4a dithering):

scripts/convert.sh input.mp4
scripts/convert.ps1 -InputPath input.mp4

Output saves to input.gif by default.

File Search Behavior

When a filename is provided without a full path, the script searches in this order:

  1. Current working directory
  2. Workspace root (if inside a project)
  3. ~/Movies/ (macOS) or ~/Videos/ (Linux)
  4. ~/Downloads/
  5. ~/Desktop/

This allows natural commands like convert.sh demo.mov without specifying full paths.

HDR Handling

The script automatically detects HDR video content via ffprobe by checking for BT.2020 color primaries or SMPTE 2084 transfer characteristics. When HDR is detected, tonemapping is applied automatically to produce SDR-compatible GIF output with proper color preservation.

Use --tonemap to select the tonemapping algorithm:

Algorithm Characteristics
hable Filmic curve, good highlight rolloff (default)
reinhard Preserves more color saturation
mobius Similar to reinhard with better highlights
bt2390 ITU standard, more conservative

Read the full file on GitHub · 352 lines

Files

What ships with it

7 files 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. 5d ago First seen · 352 lines · 16 tokens per session scan B 045ef15b23ff

Subscribe to this mod's changes

video-to-gif is a skill published in the GitHub repository Peter-N91/hve-squad-mcp (3 stars, last pushed 2d ago), licensed MIT. It adds 16 tokens to every session and 2,683 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). It is 89% identical to video-to-gif, differing in 0 lines, and is treated as a copy.

Related

video-to-gif compared with skills from other repositories

video-to-gif next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
video-to-gifPeter-N91/hve-squad-mcpSkill32d agoMITB16Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code