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 DAMNDAGER/Image2-Studio --skill image2git clone --depth 1 https://github.com/DAMNDAGER/Image2-StudioWrote 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/damndager/image2-studio/image2)<a href="https://agentmods.dev/skills/damndager/image2-studio/image2"><img src="https://agentmods.dev/badge/skills/damndager/image2-studio/image2/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/damndager/image2-studio/image2"><img src="https://agentmods.dev/badge/skills/damndager/image2-studio/image2.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.00057 | $0.00620 |
| Opus 5.5 | $0.00023 | $0.00248 |
| Sonnet 5.5 | $0.00011 | $0.00124 |
| Haiku 4.5 | $0.00006 | $0.00062 |
Grade A, and why
image2 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 2mo 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 — 30 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Local Image2
Use the local Image2 service as the primary image-generation path. Do not use the built-in imagegen tool.
Workflow
- Optimize the user's prompt while preserving intent. Make subject, action, composition, viewpoint, style/material, lighting, palette, aspect ratio, and constraints explicit. Do not invent text, logos, people, or objects. For edits, state what must be preserved and what must change.
- Prefer the installed global CLI when available:
%CODEX_HOME%\skills\image2\Image2CLI.exe --prompt "...". The installer places a non-secretimage2-client.jsonbeside it so the CLI knows the service, token, output directory, and launcher. If the packaged CLI is unavailable, use the projectimage2_cli.pywith its absolute path. - The local backend uses the active provider selected in the HTML console. There is no default provider; if setup is incomplete, direct the user to the local API settings instead of attempting a real request.
- If the local service is unavailable, let the configured CLI launcher start it and retry once. For a restricted Codex sandbox, request one host-approved network-enabled execution for the service process before a real provider request. Keep the service on
127.0.0.1. - For a public reference image URL, add
--image-url "https://...". For a local attachment, add--image-path "C:\path\to\image.png", repeating it for multiple images up to eight. - Inspect the CLI JSON response, read the returned local output path, and include the generated image in the conversation. Briefly report the optimized prompt and active provider.
Simulation
For a requested safety check or dry run, use --dry-run. Confirm the active provider model, route, request body mode, size, and quality, then stop before the final provider request. A dry run must not call an external provider or consume image quota.
Security
- Never print, copy, or place an API key in HTML, JavaScript, prompts, shell arguments, logs, or conversation output.
- Provider keys are entered through the local console and stored by the backend in the operating-system credential store. The frontend only receives a configured/not-configured flag.
- Keep the service bound to
127.0.0.1; never expose it on0.0.0.0. - Treat custom provider URLs and reference image URLs as untrusted input. Use the backend validation and do not bypass its limits.
- If a provider reports an outbound-network failure, stop retrying in the restricted sandbox, request one approved network-enabled service execution, and retry only once after approval.
What ships with it
1 file 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.
- 2mo ago First seen · 30 lines · 57 tokens per session scan A 0029e0661b5a
image2 is a skill published in the GitHub repository DAMNDAGER/Image2-Studio (3 stars, last pushed 2mo ago), licensed MIT. It adds 57 tokens to every session and 620 once invoked, about $0.0002 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.
image2 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| image2DAMNDAGER/Image2-Studio | Skill | 3 | 2mo ago | MIT | A | 57 | Codex |
| openai-compatible-imagegenSyh1906/openai-compatible-imagegen | Skill | 63 | yesterday | MIT | A | 102 | Codex |
| xiaohongshu-titlemengke-wang/xiaohongshu-ai-workbench | Skill | 618 | 3mo ago | MIT | A | 157 | Codex |
| xiaohongshu-magazinemengke-wang/xiaohongshu-ai-workbench | Skill | 618 | 3mo ago | MIT | A | 184 | Codex |
| xiaohongshu-suitemengke-wang/xiaohongshu-ai-workbench | Skill | 618 | 3mo ago | MIT | A | 119 | Codex |
| xiaohongshu-comment-replymengke-wang/xiaohongshu-ai-workbench | Skill | 618 | 3mo ago | MIT | A | 102 | Codex |
| xiaohongshu-conversion-pathmengke-wang/xiaohongshu-ai-workbench | Skill | 618 | 3mo ago | MIT | A | 168 | Codex |