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.02356 |
| Opus 5.5 | $0.00035 | $0.00942 |
| Sonnet 5.5 | $0.00018 | $0.00471 |
| Haiku 4.5 | $0.00009 | $0.00236 |
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 15d 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 — 275 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=gemini-omni-1.1-flash
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.
- 15d ago Changed · +1 lines 9dd7a088d5af
- 2mo 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 (7 stars, last pushed 16d ago), licensed MIT. It adds 88 tokens to every session and 2,356 once invoked, about $0.0004 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-08-31.
media-generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| media-generationonimusya/media-gen | Skill | 7 | 16d ago | MIT | A | 88 | Claude Code |
| replicate-runneroyi77/1ai-skills | Skill | 17 | yesterday | MIT | A | 40 | Claude Code |
| pcbwayaklofas/kicad-happy | Skill | 1.6k | yesterday | MIT | A | 119 | Claude Code |
| asc-subscription-localizationrorkai/app-store-connect-cli-skills | Skill | 1.1k | yesterday | MIT | A | 60 | Claude Code |
| remotion-best-practicesguanyang/open-agent-hub | Skill | 986 | yesterday | MIT | A | 116 | Claude Code |
| happiness-skillkangarooking/cangjie-skill | Skill | 12k | 1mo ago | MIT | A | 136 | Claude Code, Codex |
| influence-psychologywondelai/skills | Skill | 2.6k | 5d ago | MIT | A | 156 | Claude Code |