ergouzi-video-gen

ergouzi-video-gen is a skill for Codex from aiman-labs/ergouzi-agent-skills. It costs 76 tokens per session (1,482 once invoked), scanned A, original, MIT.

A connector for submitting and completing video-generation tasks through Ergouzi. It handles tasks such as animation, avatar creation, and replacing a person in video, including jobs using local media or web URLs.

In plain words
What is it for?
Creating or editing videos, polling or resuming generation tasks, cancelling them, and downloading their results.
Why use it?
It manages the waiting and file-transfer steps around an asynchronous video job, so the agent can submit, monitor, resume, cancel, or download it.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Creating or editing videos, polling or resuming generation tasks, cancelling them, and downloading their results.

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

Made for: 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 ergouzi-video-gen

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiman-labs/ergouzi-agent-skills/ergouzi-video-gen"><img src="https://agentmods.dev/badge/skills/aiman-labs/ergouzi-agent-skills/ergouzi-video-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,482 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.00076 $0.01482
Opus 5 $0.00038 $0.00741
Sonnet 5 $0.00015 $0.00296
Haiku 4.5 $0.00008 $0.00148

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

Security

Grade A, and why

ergouzi-video-gen 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/client.py, scripts/configure.py, scripts/media.py, …), 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/ergouzi-video-gen/SKILL.md · 117 lines

How it starts

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

Ergouzi Video Gen

Use this Skill as a thin adapter between Codex and the existing Ergouzi video API. Codex prepares the model input; the scripts only handle credentials, local file conversion, request submission, task polling, and result download.

Prerequisites

  • Require Python 3.10 or newer and network access to https://ergouzi.life.
  • Use the initialized user config by default. ERGOUZI_MEDIA_API_KEY and ERGOUZI_MEDIA_BASE_URL are explicit runtime overrides; generic ERGOUZI_API_KEY and ERGOUZI_BASE_URL are accepted when no config exists.
  • If credentials are missing, ask the user to initialize them locally with python scripts/configure.py. Never ask the user to paste a key into chat.
  • If the optional ergouzi-media-mcp Codex plugin is installed, prefer its check_configuration, list_models, get_model_schema, create_prediction, get_prediction, cancel_prediction, and download_prediction tools for the API lifecycle. Keep the Python runner as the fallback when the MCP tools are unavailable.
  • Accept supported media as directly downloadable HTTPS URLs, data URIs, or local files that fit the existing 4 MiB JSON request limit: JPEG/PNG/WebP images, MP4 video, and FLAC/MP3/WAV audio. Use --image, --video, --audio, or --last-frame-image for common local-file workflows. In input JSON, put { "$local_file": "C:/path/media.ext" } in place of a media URL. The runner converts local files to data URIs; use an HTTPS URL when the expanded request would exceed the API limit.

Workflow

  1. Submit a paid prediction only when the user explicitly asks to generate or transform a video.
  2. Honor an explicit model choice. Otherwise let Codex select one of the four models from the task's required input/output capability; do not hide models or apply server-routing policy.
  3. Read references/model-reference.md for the selected model's objective API contract. Use --prompt only for ergouzi/e-video; other models expose model-specific text fields through --input-file, --input-json, or stdin. Supply the complete model input object without the outer { "input": ... } envelope. Convenience arguments override the corresponding JSON fields. The runner resolves $local_file objects before submission and otherwise leaves input values unchanged. Prefer a UTF-8 JSON file for structured input across operating systems; files and stdin may include a UTF-8 BOM.
  4. Prefer the MCP tools when available. Otherwise run scripts/run.py predict. Both paths create one logical task, reuse the same idempotency key for bounded transport retries, record the task_* ID, poll to a terminal state, and download successful outputs. If a submission is interrupted before the task ID is returned, retry the exact request with the printed --idempotency-key; do not start a new paid request with a new key.
  5. Report the model, task ID, terminal status, and absolute saved paths.
  6. If execution was interrupted or timed out, resume with status --wait --download. Do not create a replacement task unless the user explicitly asks.

Read the full file on GitHub · 117 lines

Files

What ships with it

7 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. 9d ago Changed · +5 lines 5edebb596c0f
  2. 12d ago First seen · 112 lines · 76 tokens per session scan A b671c6e6a8fb

Subscribe to this mod's changes

ergouzi-video-gen is a skill published in the GitHub repository aiman-labs/ergouzi-agent-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 1,482 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.