video-to-gif

video-to-gif is a skill for Claude Code from nicepkg/ai-workflow. It costs 39 tokens per session (2,318 once invoked), scanned A, original, MIT.

A workflow for turning selected parts of video files into optimized GIF images. It can change timing, speed, size, crop, text, effects, and compression.

In plain words
What is it for?
Creating GIFs for social media, documentation, tutorials, and presentations, including clips with captions or watermarks.
Why use it?
It removes the manual editing and file-size work needed to make a useful GIF from a video clip.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Creating GIFs for social media, documentation, tutorials, and presentations, including clips with captions or watermarks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nicepkg/ai-workflow/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 nicepkg/ai-workflow --skill video-to-gif
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code.

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/nicepkg/ai-workflow/video-to-gif/github.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/video-to-gif)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/video-to-gif"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/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/nicepkg/ai-workflow/video-to-gif"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/video-to-gif.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,318 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.00039 $0.02318
Opus 5 $0.00019 $0.01159
Sonnet 5 $0.00008 $0.00464
Haiku 4.5 $0.00004 $0.00232

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

Security

Grade A, and why

video-to-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 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/gif_workshop.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.

workflows/video-creator-workflow/.claude/skills/video-to-gif/SKILL.md · 371 lines

How it starts

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

Video to GIF Workshop

Transform video clips into high-quality, optimized GIFs perfect for social media, documentation, tutorials, and presentations. Features precise timing control, text overlays, effects, and intelligent file size optimization.

Core Capabilities

  • Clip Selection: Extract specific time ranges from videos
  • Speed Control: Slow motion, speed up, or reverse
  • Cropping: Resize and crop to any dimensions
  • Text Overlays: Add captions, titles, or watermarks
  • Effects: Filters, fades, color adjustments
  • Optimization: Smart compression for target file size
  • Batch Processing: Convert multiple clips at once

Quick Start

from scripts.gif_workshop import GifWorkshop

# Basic conversion
workshop = GifWorkshop("video.mp4")
workshop.to_gif("output.gif")

# With options
workshop = GifWorkshop("video.mp4")
workshop.clip(start=5, end=10)          # 5-10 seconds
workshop.resize(width=480)               # Resize to 480px wide
workshop.set_fps(15)                     # 15 frames per second
workshop.optimize(max_size_kb=500)       # Max 500KB
workshop.to_gif("output.gif")

Core Workflow

1. Load Video

from scripts.gif_workshop import GifWorkshop

# From file
workshop = GifWorkshop("video.mp4")

# With initial settings
workshop = GifWorkshop("video.mp4", fps=15, width=480)

2. Select Clip Range

# By time (seconds)
workshop.clip(start=5, end=15)  # 5s to 15s

# By time string
workshop.clip(start="00:01:30", end="00:01:45")  # 1:30 to 1:45

# From start or to end
workshop.clip(start=10)  # From 10s to end
workshop.clip(end=5)     # First 5 seconds

# Multiple clips
workshop.clip_multi([
    (0, 3),
    (10, 15),
    (20, 25)
])  # Concatenates clips

3. Adjust Speed

# Speed up
workshop.speed(2.0)  # 2x faster

# Slow motion
workshop.speed(0.5)  # Half speed

# Reverse
workshop.reverse()

# Boomerang effect (forward then reverse)
workshop.boomerang()

4. Resize and Crop

Read the full file on GitHub · 371 lines

Files

What ships with it

2 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 · 371 lines · 39 tokens per session scan A ef6fd39845d5

Subscribe to this mod's changes

video-to-gif is a skill published in the GitHub repository nicepkg/ai-workflow (282 stars, last pushed 7mo ago), licensed MIT. It adds 39 tokens to every session and 2,318 once invoked, about $0.0002 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-09-03.

Related

Other skills, from other repositories

hive.image-generation

Required before calling imagegenerate. Create and edit images from a prompt — generate an image, make a picture / logo / illustration / icon / banner / poster / thumbnail / hero image / mockup / product shot / social graphic, or edit / restyle / combine existing images from reference images. Uses OpenAI gpt-image-2…

aden-hive/hive · 149 tokens

imagegen

Generate original images, artwork, product visuals, diagrams, or other raster assets with the desktop's configured image provider. Use whenever the user asks to create or generate an image.

NanmiCoder/cc-haha · 38 tokens

image-gen

Acquire images as files — generate them with an AI image model (14 providers: OpenAI/gpt-image, Gemini, Qwen, Zhipu, Volcengine, Stability, FLUX, Ideogram, MiniMax, and more), search openly-licensed stock (Openverse/Pexels/Pixabay/ Wikimedia), or slice one generated sheet into elements. Drive it one-off with a single…

open-octo/octo-agent · 142 tokens

songsee

Generate spectrograms and audio feature visualizations (mel, chroma, MFCC, tempogram, etc.) from audio files via CLI. Useful for audio analysis, music production debugging, and visual documentation.

graniet/kheish · 42 tokens

ppt-master

A presentation-generation system that turns source material into SVG pages and exports them as PowerPoint files. SVG is a format for describing scalable page graphics; source material can include PDFs, Word documents, URLs, or Markdown.

open-octo/octo-agent · 76 tokens

design-impeccable

Always-on visual quality gate and progressive skill router for HTML, dashboards, charts, decks, documents, UI mockups, and other styled artifacts. It keeps universal anti-template rules in context and tells MOZI which specialist design skill to activate before planning visual work.

spytensor/openmozi · 58 tokens