Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/onimusya/media-gennpx agentmods add skills/onimusya/media-gen/media-generationWrote 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.
[](https://agentmods.dev/skills/onimusya/media-gen/media-generation)<a href="https://agentmods.dev/skills/onimusya/media-gen/media-generation"><img src="https://agentmods.dev/badge/skills/onimusya/media-gen/media-generation/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.
<a href="https://agentmods.dev/skills/onimusya/media-gen/media-generation"><img src="https://agentmods.dev/badge/skills/onimusya/media-gen/media-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00088 | $0.02324 |
| Opus 5 | $0.00044 | $0.01162 |
| Sonnet 5 | $0.00018 | $0.00465 |
| Haiku 4.5 | $0.00009 | $0.00232 |
Grade A, and why
media-generation 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Media Generation
Run the CLI at ${CLAUDE_SKILL_DIR}/scripts/media-gen.mjs with Node.js. Always use --json for parseable output.
node ${CLAUDE_SKILL_DIR}/scripts/media-gen.mjs <command> [options] --json
Commands
| Command | Purpose |
|---|---|
image generate |
Generate images from text prompts |
image edit |
Edit existing images with a prompt |
video generate |
Generate video from text (async) |
video image-to-video |
Animate an image into video |
video extend |
Extend an existing video |
voice tts |
Text to speech synthesis |
voice clone |
Clone a voice from audio samples |
voice isolate |
Isolate voice from background audio |
audio transcribe |
Transcribe audio to text |
audio translate |
Translate audio to another language |
providers list |
List all providers with capabilities, models, and voices |
providers list --configured |
List only configured providers |
providers list --capability <cap> |
Filter by capability |
providers models |
List all models across all providers |
providers models --provider <id> |
List models/voices for a specific provider |
providers models --capability <cap> |
Filter models by capability |
config init |
Initialize project-level config |
config init --global |
Initialize user-level config at ~/.media-gen/ |
config validate |
Check which providers are configured |
job status |
Check async job status |
job download |
Download completed async job result |
Configuration
Defaults are set via .env (at project root or ~/.media-gen/.env for global). With defaults configured, --provider, --model, and --voice-id are all optional:
MEDIA_GEN_DEFAULT_PROVIDER=openrouter
MEDIA_GEN_DEFAULT_MODEL=openai/gpt-image-2
MEDIA_GEN_VOICE_PROVIDER=edge-tts
MEDIA_GEN_VOICE_MODEL=
MEDIA_GEN_VOICE_ID=en-US-EmmaMultilingualNeural
MEDIA_GEN_VIDEO_PROVIDER=google
MEDIA_GEN_VIDEO_MODEL=veo-3.1-generate-preview
MEDIA_GEN_AUDIO_PROVIDER=deepgram
MEDIA_GEN_AUDIO_MODEL=nova-3
MEDIA_GEN_LOG_LEVEL=error
What ships with it
9 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.
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.
- 12d ago First seen · 274 lines · 88 tokens per session scan A eb990c2d863c
media-generation is a skill published in the GitHub repository onimusya/media-gen (6 stars, last pushed 1mo ago), licensed MIT. It adds 88 tokens to every session and 2,324 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-31.
Other skills, from other repositories
replicate-runner
Use when run AI models on Replicate cloud API. Deploy image generation, video creation, audio processing, and custom models without managing infrastructure. Use when working with replicate runner.
create-document
Create new documents in any format — Beamer slides, Typst documents, or Quarto slides. Autonomous pipeline from prompt to publication-quality output.
typst
Syntax guide and ecosystem reference for writing Typst (.typ) files. Use this skill when writing, editing, or debugging Typst documents. Covers core syntax, common errors, packages, and best practices.
finish
Master pipeline — compile, review, fix, and finalize any document. Auto-detects format and runs the full quality loop.
devils-advocate
Challenge document design with 5-7 pedagogical questions. Checks ordering, prerequisites, and cognitive load. Works with slides (.tex, .qmd, .typ) and documents.
excellence
Multi-agent document review (visual, pedagogy, proofreading, domain). Use for comprehensive quality check before milestones. Works with any supported file type.