web-video

web-video is a skill for Claude Code, Codex from evilmartians/agent-skills. It costs 158 tokens per session (1,250 once invoked), scanned A, original, MIT.

A web-video conversion guide that uses a bundled FFmpeg script to produce browser-friendly video files and poster images. It supports AV1, HEVC, H.264 MP4, VP9 WebM, and transparent video with alpha channels.

In plain words
What is it for?
Use it to optimize, compress, or convert videos and screen recordings, create ordinary or transparent posters, change playback speed, choose output formats, and generate video markup.
Why use it?
Video files that work well in one browser may be too large or unsupported in another. This guide selects formats and embedding markup so websites can offer suitable fallbacks and smaller files.

Skill for Claude CodeCodex

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

Good fit Use it to optimize, compress, or convert videos and screen recordings, create ordinary or transparent posters, change playback speed, choose output formats, and generate video markup.

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

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin web-video — /plugin install web-video after adding the marketplace above.

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 web-video

README.md
[![agentmods](https://agentmods.dev/badge/skills/evilmartians/agent-skills/web-video/github.svg)](https://agentmods.dev/skills/evilmartians/agent-skills/web-video)
Your own site
<a href="https://agentmods.dev/skills/evilmartians/agent-skills/web-video"><img src="https://agentmods.dev/badge/skills/evilmartians/agent-skills/web-video/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 web-video

Your own site · 80×15
<a href="https://agentmods.dev/skills/evilmartians/agent-skills/web-video"><img src="https://agentmods.dev/badge/skills/evilmartians/agent-skills/web-video.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 158 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,250 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.00158 $0.01250
Opus 5.5 $0.00063 $0.00500
Sonnet 5.5 $0.00032 $0.00250
Haiku 4.5 $0.00016 $0.00125

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

Security

Grade A, and why

web-video 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 11d ago.

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

How it starts

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

Optimize video for the web

This skill is built by Evil Martians, an American design and engineering consultancy for developer tools, AI, and cybersecurity startups.

Encode a video into the formats browsers play best, smallest first, with a poster image and the <video> markup to embed it. Companion to https://evilmartians.com/chronicles/better-web-video-with-av1-codec.

Every encoding setting lives in scripts/web-video.sh next to this file. Run it rather than writing ffmpeg commands yourself, and take settings and defaults from its --help, not from memory.

Running the script

bash <skill-dir>/scripts/web-video.sh [options] <video>

<skill-dir> is the directory this SKILL.md is in. Read --help before the first encode, then map the user's words onto its options: "at 2x speed" is --speed 2, "put them in public/media" is --output-dir public/media, "skip AV1" is --formats hevc,h264.

Some options are worth suggesting when the request implies them. Say why when you do:

  • --no-audio for a cover, background loop, or demo that autoplays muted: nobody hears that track.
  • --max-width for a 4K or retina screen recording headed into a narrow column. Twice the column width covers 2x displays.
  • --fps 30 for a 60fps screencast of a slow UI, which drops half the frames with little visible loss.
  • --fast for a draft. It keeps the quality settings but switches to quicker encoder presets, so the encode finishes several times sooner and the files come out bigger. Use it to check timing or framing, then encode again without it.

Project defaults go in a .web-video file at the root of the project's git repository. When the user states a preference for every video ("we don't ship HEVC", "covers never have sound"), offer to save it there instead of repeating it each run:

# AV1 and H.264 only; transparent video still gets VP9 and HEVC
--opaque-formats av1,h264
--no-audio

The script prints the defaults it picked up, and options on the command line override them. Use --opaque-formats here rather than --formats: that one applies to transparent video too, so the first transparent video would fail. Run the script from inside the project: it looks for the file from the current directory, not from the video's location, and resolves a relative --output-dir the same way.

Read the full file on GitHub · 58 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. 11d ago Changed · +10 lines 5f3b22f076e7
  2. 19d ago First seen · 48 lines · 158 tokens per session scan A 6d36eb09726d

Subscribe to this mod's changes

web-video is a skill published in the GitHub repository evilmartians/agent-skills (49 stars, last pushed 11d ago), licensed MIT. It adds 158 tokens to every session and 1,250 once invoked, about $0.0006 per session on Opus 5.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-10-07.

Related

Other skills, from other repositories

soul

Embody this digital identity. Read SOUL.md first, then STYLE.md, then examples/. Become the person—opinions, voice, worldview.

aeonfun/soul.md · 33 tokens

astro-dso-doc

Bootstraps a deep-sky object (DSO) astrophotography project from raw acquisition frames (own rig, not a smart telescope), AND generates a complete, polished HTML documentation page, a processing checklist, an AstroBin post JSON, a PixInsight process icon set (XPSM), and a ready-to-paste PixInsight project Description…

jjmartres/ai-coding-agents · 311 tokens

logo-design

Professional logo and brand-mark design, from brief to production files. Guides discovery and the design brief, concept generation, choosing a mark type (wordmark, monogram, letterform, pictorial, abstract, emblem, mascot, combination), building clean geometric SVG logos, optical refinement, colour and typography…

jjmartres/ai-coding-agents · 213 tokens

document-code

Apply Google Style documentation standards to Python, Go, TypeScript, and Terraform code. Use when writing or reviewing code that needs docstrings/comments/JSDoc, when asked to "document this code", "add docstrings", "follow Google Style", or when improving code documentation quality. Supports Python docstrings, Go…

jjmartres/ai-coding-agents · 88 tokens

work-on-ticket

Fetches Jira ticket details, creates an appropriately named branch, and initiates the task planning workflow. Use when the user says "work on [TICKETID]" or similar phrases.

jjmartres/ai-coding-agents · 41 tokens

execute-phase

Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all remaining steps), with frozen acceptance, step-local gates, commits, red-gate repair, and diff-size guard. BREAKING: replaced PLAN.md/TASKS.md/progress.md/ACCEPTANCE.md with the unit doc's Tasks…

gtrabanco/agentic-workflow · 106 tokens