graphic-gif

graphic-gif is a skill for Claude Code from Varnan-Tech/opendirectory. It costs 82 tokens per session (3,216 once invoked), scanned A, original, MIT.

A skill that creates animated, repeating GIF files, usually by turning CSS animations into captured frames. It can also use an AI image-to-video process when explicitly requested.

In plain words
What is it for?
Use it for looping graphics, animated banners, social-media animations, CSS animation demos, and other square GIFs.
Why use it?
It handles the technical work of producing a correctly looping GIF instead of leaving you to capture and assemble animation frames manually.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Gemini CLI.

Part of the opendirectory plugin — 58 skills shipped together

Good fit Use it for looping graphics, animated banners, social-media animations, CSS animation demos, and other square GIFs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/varnan-tech/opendirectory/graphic-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 Varnan-Tech/opendirectory --skill graphic-gif
Clone the repo
git clone --depth 1 https://github.com/Varnan-Tech/opendirectory

Made for: Claude Code.

Or install opendirectory, the plugin that ships this one along with the rest of its 58 skills.

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 graphic-gif

README.md
[![agentmods](https://agentmods.dev/badge/skills/varnan-tech/opendirectory/graphic-gif/github.svg)](https://agentmods.dev/skills/varnan-tech/opendirectory/graphic-gif)
Your own site
<a href="https://agentmods.dev/skills/varnan-tech/opendirectory/graphic-gif"><img src="https://agentmods.dev/badge/skills/varnan-tech/opendirectory/graphic-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 graphic-gif

Your own site · 80×15
<a href="https://agentmods.dev/skills/varnan-tech/opendirectory/graphic-gif"><img src="https://agentmods.dev/badge/skills/varnan-tech/opendirectory/graphic-gif.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,216 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 85
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00082 $0.03216
Opus 5 $0.00041 $0.01608
Sonnet 5 $0.00016 $0.00643
Haiku 4.5 $0.00008 $0.00322

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

Security

Grade A, and why

graphic-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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/capture-and-encode.mjs, scripts/export-gif.sh), 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/graphic-gif/SKILL.md · 314 lines

How it starts

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

graphic-gif

Generates an animated looping GIF from CSS animations or an AI image-to-video API. Output: animation.gif.

Unlike every other graphic- skill that outputs a static PNG or PDF, this skill outputs an animated .gif. Uses CSS @keyframes animations captured frame-by-frame via Playwright and the Web Animations API (Option A, default), or an AI image-to-video pipeline via Kling (Option B).


Critical Rules (read before every generation)

  1. Default is css-animated. Never use ai-generated unless explicitly requested.
  2. Canvas is 800×800px square. All clamp() values computed at 800px (1vw = 8px).
  3. Single self-contained HTML. All CSS inline in <style>. Font CDN <link> only external dependency.
  4. Never dump HTML in chat. Save to file, show summary only.
  5. Frame capture uses Web Animations API seeking. NOT setTimeout loops, NOT animation-delay tricks.
  6. Exact frame count: Math.floor(duration_seconds * fps) frames. The frame at t=duration_ms MUST NOT be captured — it duplicates t=0 and causes a visible stutter at the loop point.
  7. No placeholder boxes. CSS-generated visuals only. No "image goes here" elements.
  8. Simpler palettes = smaller files. Use: clean-slate, terminal, electric-burst, brutalist.
  9. No animation-delay for stagger. Bake stagger into @keyframes percentages — frame seeking handles timing.
  10. Commit to design direction before writing CSS. Tone, signature element, motion style, unforgettable detail — all decided before first line of code.

Step 1: Intake

Required: prompt (content description AND motion brief)

Optional with defaults:

Parameter Default Options
animation_type css-animated css-animated / ai-generated
duration 3.0 seconds
fps 12 frames per second
loop true true / false
style clean-slate clean-slate / terminal / electric-burst / brutalist
dimensions 800x800 WxH in pixels
optimization balanced quality / balanced / filesize

Read the full file on GitHub · 314 lines

Files

What ships with it

6 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. 10d ago First seen · 314 lines · 82 tokens per session scan A be7a73896a8b

Subscribe to this mod's changes

graphic-gif is a skill published in the GitHub repository Varnan-Tech/opendirectory (637 stars, last pushed 24d ago), licensed MIT. It adds 82 tokens to every session and 3,216 once invoked, about $0.0004 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

marketing-collateral-design

Use this skill to create professional static promotional graphics whose typography, claims, and contact details must remain exact. The core production rule is hybrid, not one-shot: generate or source imagery separately, then compose real text and vector elements deterministically in HTML/CSS/SVG. Image models are art…

AtlasOmnia/donna-starter · 81 tokens

animated-portfolio-sites

Build a one-page animated personal or portfolio site (canvas starfield, rotating galaxies with mouse parallax, hidden accordion/card content, anchor nav) and publish it free on GitHub Pages. Covers the canvas technique and the Pages permission wall, not just one task.

pedroiff0/awesome-skills · 58 tokens

blog-cover-image

Generate and revise raster cover images for blog posts and articles from a title, brief, draft, local file, URL content supplied by the user, or reference images. Use when Codex needs to create a blog cover, article hero/header image, editorial thumbnail, Open Graph/social preview visual, or a channel-specific cover…

groniz/groniz-cli · 89 tokens

chanjing-one-click-video-creation

An automated workflow for turning a topic or production plan into a finished short video, including the script, shot plan, digital-person narration, and AI-generated visuals.

chanjing-ai/chan-skills · 56 tokens

chanjing-tts-voice-clone

Use Chanjing TTS API to synthesize speech from text with a user-provided cloned voice (reference audio via public URL).

chanjing-ai/chan-skills · 36 tokens

chanjing-avatar

Use Chanjing Avatar API for lip-syncing video generation (upload audio/video, create tasks, poll results).

chanjing-ai/chan-skills · 27 tokens