media-production

media-production is a skill for Claude Code, Codex from leon-ai/leon. It costs 24 tokens per session (1,247 once invoked), scanned A, original, MIT.

A workflow for generating, combining, inspecting, and delivering images, audio, and video. It also covers checking and converting media files with common command-line tools.

In plain words
What is it for?
Use it to create media assets, combine them into finished files, monitor video jobs, inspect frames and sound, and validate playable output.
Why use it?
It keeps generation jobs, provider choices, file conversion, and output inspection in one process so incomplete or faulty media is not delivered.

Skill for Claude CodeCodex

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

Good fit Use it to create media assets, combine them into finished files, monitor video jobs, inspect frames and sound, and validate playable output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leon-ai/leon/media-production
About the project

Leon is an open-source personal AI assistant that uses tools, memory, context, and agent-like execution to understand goals and complete tasks. People use it as a practical assistant that can run locally and work across structured workflows, while the catalogue skills support its operation.

leon-ai/leon · 17,735 stars · on GitHub · getleon.ai

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 leon-ai/leon --skill media-production
Clone the repo
git clone --depth 1 https://github.com/leon-ai/leon

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 media-production

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/leon-ai/leon/media-production"><img src="https://agentmods.dev/badge/skills/leon-ai/leon/media-production.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,247 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.00024 $0.01247
Opus 5.5 $0.00010 $0.00499
Sonnet 5.5 $0.00005 $0.00249
Haiku 4.5 $0.00002 $0.00125

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

Security

Grade A, and why

media-production 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 3d ago.

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/agent/media-production/SKILL.md · 21 lines

How it starts

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

Media Production

  1. Establish the desired output, duration, aspect ratio and supplied reference material. A single image or speech request usually needs only its generation tool.
  2. For hosted image generation, use media_production.image.generate with the desired prompt and output options; the server resolves tool settings, inheriting the active conversation provider by default. If selection_required is returned, ask the owner which available provider to use; never silently switch accounts. Use configure only when they request a saved preference. Inspect capabilities.defaults when setup needs diagnosis. Reserve generateWithModel for an explicitly owner-requested provider/model; never pick an older model from memory or bypass a default after an error.
  3. Generate image assets with media_production.image. Use existing music_audio speech tools for narration and owner-supplied audio or video clips for other media assets.
  4. For screen tutorials, ground the controls, destination choices and visible completion checks before recording. Keep predictable actions and checks together, deriving later targets from fresh observations. For reactive search, verify the entered value and wait for its refresh signal. Verify navigation against an observed destination and relevant rendered content. Use the appropriate recording source:
    • For a demo entirely in one web tab, use browser_use.browser-use.record with its observed tab ID and one bounded script. It captures the tab directly through the existing browser connection. Use leon_click or click_at_xy to retain delivered clicks. Import the resulting videoPath with media_production.openscreen.createProject.
    • For a native app, browser chrome or desktop workflow, record with media_production.openscreen. On Wayland, tell the owner which source to select. For a linked browser-window take, preview the full window and demonstrated controls when stop requests verification, then confirm the source with a second stop call before importing browser input. Review optimization status and any source-time cuts. Run optimizeRecording when optimization is pending, and preserve requested introductions and reading time.
    • If capture fails or clips the demonstrated content, explain the issue and any fallback before delivery. Review actual cursor placement, zoom regions, and any cut boundaries. Always use exportRecording to render the wallpaper, cursor and zooms. Prefer source-resolution export for clear UI text. If FilmCraft is needed, import the composed export and preserve its resolution. Verify motion and appearance in the exact final video.
  5. For local production, use media_production.photocraft for layered raster edits, vectorcraft for vector artwork, hyperframes for motion graphics and animated compositions, filmcraft for timelines, and lightcraft for photo development. These tools run headlessly; PhotoCraft desktop control is optional. Discover commands and parameter schemas, inspect the source, and try the supported editing operation before replacing it with a custom shell pipeline. Use shell for unsupported work, not as a substitute for an untried editing tool. Validate one representative asset before applying a shared treatment to the whole set. Use returned object/media IDs, preserve originals and keep referenced media at absolute paths. Select persistent LightCraft libraries only when the owner requests library work.
  6. For motion graphics, choose composition, visual style, pacing and animation techniques from the request and reference material. Combine text, shapes, SVG, images and other suitable assets as needed, keeping content readable at the intended viewing size. Use hyperframes.create for a new project and the file tool to author HTML, CSS and scene timelines. Reuse catalog components when they fit, or author custom motion. Adapt the scaffold's example styling, scene count and duration to the work. Preserve supplied source by working in a copy. Tool guidance owns the composition and animation contract.
  7. Batch independent grounding reads and author related files together. Use hyperframes.inspect to ground scene timing, then hyperframes.check with options.mode=lint to catch source errors cheaply. During repairs use mode=targeted with affected times and preview neighboring frames; verify text fit, safe margins and continuity. On the final source run the default full check and require scope=full, complete=true and checks.ok=true. Targeted/lint success is partial evidence. Independent checks and previews may run together once source is stable; never edit files while they are being inspected. Reuse current-run evidence and successful checks while relevant source/assets are unchanged. Render delivery quality once and review that exact video for motion, pacing and audio; use a separate draft only when useful for unresolved motion. Rerender only after changes or an observed defect. Passing checks or looking at a still frame alone cannot establish that a video is ready to share.
  8. Preview representative composition positions in a batch and compare them with the brief. Use existing FFmpeg and FFprobe tools for conversion and artifact validation; batch independent conversion, metadata and decode checks. Review the exact delivery video in one playback surface, respecting any owner-selected application. Observe advancing time or frames rather than a narrow timestamp window. Record evidence for motion, pacing, audio and other requested properties, then stop inspecting once each is verified. After an edit, repeat only checks whose source or assets changed; contradictory evidence requires reassessment. Wait for background renders to complete before delivery.
  9. A disconnected browser or failed window capture does not establish a media defect. Reconnect once or use one independent supported playback method. Avoid opening additional players, traversing unrelated windows or restarting servers to reconfirm evidence already obtained. Rerender or repeat source checks only for an observed artifact defect or changed source/assets. If playback review remains unavailable, deliver the available outputs and identify the exact unverified property without claiming complete verification.
  10. Generated and edited artifacts are attached automatically. Attach other composed/local files through file_system.file.attach so the owner receives a player or download. Do not expose provider URLs, credentials or base64 in chat.

Read the full file on GitHub · 21 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. 3d ago Changed b8c67098c690
  2. 10d ago Changed · +3 lines scan C → A 86d7162ba3f2
  3. 14d ago Changed · +1 lines scan A → C 532a1ab4564b
  4. 19d ago Changed · -3 lines b824d9ff057b
  5. 1mo ago Changed · +1 lines 1568b8c9ea74
  6. 1mo ago Changed 69975c07bf4f
  7. 1mo ago Changed 53f272ea45e1
  8. 1mo ago Changed 04f5ccbfbde1
  9. 1mo ago Changed · +1 lines 3b4d1247a724
  10. 1mo ago First seen · 18 lines · 24 tokens per session scan A e49837006e13

Subscribe to this mod's changes

media-production is a skill published in the GitHub repository leon-ai/leon (17,735 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 1,247 once invoked, about $0.0001 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-09-30.

Related

media-production compared with skills from other repositories

media-production next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
media-productionleon-ai/leonSkill18kyesterdayMITA24Claude Code, Codex
marimo-pairmarimo-team/marimoSkill24kyesterdayApache-2.0A57Claude Code, Codex
fill-model-descriptionsmarimo-team/marimoSkill24kyesterdayApache-2.0A65Claude Code
lepton-clileptonai/leptonaiSkill2.8k4d agoApache-2.0A122Claude Code
flyenv-failure-boundariesxpf0000/FlyEnvSkill3.4k7d agoBSD-3-ClauseA41Claude Code, Codex
huawei-cloud-ges-graphhuaweicloud/huaweicloud-skillsSkill594d agoMITA64Claude Code, Codex
nanoresearch-experimentOpenRaiser/NanoResearchSkill1.3k1mo agoMITA15Claude Code, Codex