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 rexleimo/aios --skill rexai-image-generationgit clone --depth 1 https://github.com/rexleimo/aiosWrote 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/rexleimo/aios/rexai-image-generation)<a href="https://agentmods.dev/skills/rexleimo/aios/rexai-image-generation"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/rexai-image-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/rexleimo/aios/rexai-image-generation"><img src="https://agentmods.dev/badge/skills/rexleimo/aios/rexai-image-generation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 3 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00080 | $0.02512 |
| Opus 5.5 | $0.00032 | $0.01005 |
| Sonnet 5.5 | $0.00016 | $0.00502 |
| Haiku 4.5 | $0.00008 | $0.00251 |
Grade A, and why
rexai-image-generation scanned grade A with 1 finding 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 8d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- macOS/Linux without Python: use `scripts/impl/rexai-image-macos.sh`; it uses common system tools (`bash`, `curl`, `perl`, `base64`). Pass `--timeout-ms 600000` for large sizes. How it starts
The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.
RexAI Image Generation
Use RexAI's async image API to create images and return usable local files.
Quick Workflow
- Use
REXAI_API_KEYfor authentication. If it is missing, teach the user how to configure it for their platform before running the job. Read it live from the OS on Windows (powershell [Environment]::GetEnvironmentVariable('REXAI_API_KEY','Machine')) — a bash/PowerShell session started before the key was set holds a stale snapshot. - Choose the product ID (verify against the current instance's product list with one probe; these IDs have drifted before):
- Text-to-image:
gpt-image-2. - Image-to-image: the same
gpt-image-2product with the-Imageparameter — the relay selects the image-to-image route when the body carriesimages.gpt-image-2-i2idoes NOT exist (404 image_product_not_found); do not use it.
- Text-to-image:
- Pick the executor — prefer Python on every platform (the shell script's silent poll loop reads as a hang):
- Any platform with python3 (default choice): use
scripts/impl/rexai-image.py; stdlib only. It prints live poll progress every poll (agents can watch it run), reports the job id on submit/timeout, auto-resubmits on relay circuit-breaker/429 failures (bounded to 3 attempts), tolerates transient 5xx/network errors during polling, and always exits within the per-job--timeout(default 600s) — it cannot hang. If the agent's shell tool has its own timeout, pass a matching--timeoutso the script self-reports the job id instead of being killed mid-poll. - Windows without Python: use
scripts/impl/rexai-image.ps1; it only needs built-in PowerShell/.NET. - macOS/Linux without Python: use
scripts/impl/rexai-image-macos.sh; it uses common system tools (bash,curl,perl,base64). Pass--timeout-ms 600000for large sizes.
- Any platform with python3 (default choice): use
- Use
scripts/impl/rexai-image.mjsonly when Node is already available. - Report the local file path, job id, source URL if present, and expiry time if present.
What ships with it
11 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.
- agents/openai.yaml 280 B
- references/api.md 3.9 KB
- scripts/impl/rexai-image-macos.sh 9.5 KB runs code
- scripts/impl/rexai-image.mjs 8.4 KB runs code
- scripts/impl/rexai-image.ps1 8.5 KB runs code
- scripts/impl/rexai-image.py 9.0 KB runs code
- scripts/tests/rexai-image-macos.test.sh 1.5 KB runs code
- scripts/tests/rexai-image.ps1.test.ps1 2.3 KB runs code
- scripts/tests/rexai-image.py.test.py 6.0 KB runs code
- scripts/tests/rexai-image.skill.test.mjs 1.5 KB runs code
- scripts/tests/rexai-image.test.mjs 1.4 KB runs code
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.
- 8d ago Changed dcf8d4317461
- 1mo ago Changed c523b44cc612
- 1mo ago Changed 56b3e38fe426
- 1mo ago Changed · +16 lines a7cf5e9df2c7
- 1mo ago Changed 7f3a17319c07
- 1mo ago Changed · +16 lines 5b43bdba0e7d
- 1mo ago First seen · 168 lines · 80 tokens per session scan A 10a1fd154b36
rexai-image-generation is a skill published in the GitHub repository rexleimo/aios (56 stars, last pushed today), licensed MIT. It adds 80 tokens to every session and 2,512 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
opencli-autofix
Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.
opencli-usage
Discover and invoke OpenCLI capabilities for websites and Chrome. Find commands, inspect schemas, interpret results and choose browser or adapter tools.
apple-reminders
Manage Apple Reminders via the remindctl CLI on macOS — list, add, complete, delete, manage lists.
obsidian
Read, search, and create Markdown notes inside an Obsidian vault on disk.
ffmpeg
Process audio and video with the ffmpeg / ffprobe CLIs — convert, trim, extract audio, resize, change format, make GIFs, inspect media. Use for any audio/video transformation.
pandoc
Convert documents between formats (Markdown, DOCX, HTML, PDF, RST, EPUB, LaTeX) via the pandoc CLI. Use to transform a document from one format to another.