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.
npx skills add aiman-labs/ergouzi-agent-skills --skill ergouzi-image-gengit clone --depth 1 https://github.com/aiman-labs/ergouzi-agent-skillsWrote 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/aiman-labs/ergouzi-agent-skills/ergouzi-image-gen)<a href="https://agentmods.dev/skills/aiman-labs/ergouzi-agent-skills/ergouzi-image-gen"><img src="https://agentmods.dev/badge/skills/aiman-labs/ergouzi-agent-skills/ergouzi-image-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.
<a href="https://agentmods.dev/skills/aiman-labs/ergouzi-agent-skills/ergouzi-image-gen"><img src="https://agentmods.dev/badge/skills/aiman-labs/ergouzi-agent-skills/ergouzi-image-gen.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.00090 | $0.01617 |
| Opus 5 | $0.00045 | $0.00809 |
| Sonnet 5 | $0.00018 | $0.00323 |
| Haiku 4.5 | $0.00009 | $0.00162 |
Grade A, and why
ergouzi-image-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.
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 — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ergouzi Image Gen
Use this Skill as a thin adapter between Codex and the existing Ergouzi image 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_KEYandERGOUZI_MEDIA_BASE_URLare explicit runtime overrides; genericERGOUZI_API_KEYandERGOUZI_BASE_URLare 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-mcpCodex plugin is installed, prefer itscheck_configuration,list_models,get_model_schema,create_prediction,get_prediction,cancel_prediction, anddownload_predictiontools for the API lifecycle. Keep the Python runner as the fallback when the MCP tools are unavailable. - Accept JPEG, PNG, and WebP inputs as directly downloadable HTTPS URLs, data
URIs, or local files that fit the existing 4 MiB JSON request limit. Use
--image,--person-image,--garment-image, or--reference-posefor common local-file workflows. In input JSON, put{ "$local_file": "C:/path/image.png" }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
- Submit a paid prediction only when the user explicitly asks to generate, edit, try on, upscale, or remove the background of an image.
- Honor an explicit model choice. Otherwise let Codex select one of the six models from the task's required input/output capability; do not hide models or apply server-routing policy.
- Read
references/model-reference.mdfor the selected model's objective API contract. Use--promptonly when that model exposes apromptfield; use thee-rmbgoptions from its input JSON example rather than--prompt. Use--input-file,--input-json, or stdin for the complete modelinputobject, without the outer{ "input": ... }envelope. Convenience arguments override the corresponding JSON fields. The runner resolves$local_fileobjects 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. The runner submitse-rmbgthrough its fixed deployment version endpoint; callers still select it by the public model name and must not add aversionfield to the model input. - 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 thetask_*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. - Report the model, task ID, terminal status, and absolute saved paths.
- If execution was interrupted or timed out, resume with
status --wait --download. Do not create a replacement task unless the user explicitly asks.
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.
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.
- 9d ago Changed · +8 lines · +12 tokens per session f63b2529dc0b
- 12d ago First seen · 112 lines · 78 tokens per session scan A 3ae2b47aaea9
ergouzi-image-gen is a skill published in the GitHub repository aiman-labs/ergouzi-agent-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 90 tokens to every session and 1,617 once invoked, about $0.0005 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
execution-grounded-review
Execution-grounded review: run tests first, trace each acceptance criterion to execution evidence. Use when verifying an implementation meets spec.
multi-model-delegation
Multi-model design consults via PAL (kimi, glm, gemini, gpt). Use when asking other models to brainstorm a design or reconciling their split answers.
blueprint-work-order
Create a work-order for isolated subagent execution, optionally linked to a GitHub issue. Use when breaking a PRP into delegatable tasks or spawning from an issue.
document-detection
Detect PRD/ADR/PRP opportunities in conversations and prompt for document creation. Use when the user discusses feature requirements, tech trade-offs, or implementation plans.
document-linking
Unified ID system for PRDs, ADRs, PRPs, and GitHub issues with bidirectional links. Use when linking docs, finding orphans, auto-assigning IDs, or validating cross-doc references.
ticket-drafting-guidelines
What/Why/How prose structure and neutral, positive register for issues, PR descriptions, and tickets. Use when wording a ticket body, tightening prose, or applying house tone.