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 agentmods add skills/danielgwilson/luxin/image-generationnpx skills add danielgwilson/luxin --skill image-generationgit clone --depth 1 https://github.com/danielgwilson/luxinWrote 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/danielgwilson/luxin/image-generation)<a href="https://agentmods.dev/skills/danielgwilson/luxin/image-generation"><img src="https://agentmods.dev/badge/skills/danielgwilson/luxin/image-generation.svg" alt="Measured on agentmods" 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.00101 | $0.01121 |
| Opus 5 | $0.00051 | $0.00561 |
| Sonnet 5 | $0.00020 | $0.00224 |
| Haiku 4.5 | $0.00010 | $0.00112 |
Grade A, and why
image-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 5d 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.
This is a copy
75% identical to agent-image-generation — 18 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Image Generation
This is an intent-named Luxin entry for agents searching for image generation. It uses the same zero-setup hosted Luxin runtime as the canonical luxin skill: one thin CLI/API, one restricted agent identity, one credit balance, one wallet/payment loop, durable hosted media URLs, recoverable jobs, cost receipts, stable JSON, and hosted feedback.
Use this skill when the task asks for image generation, generated images, AI images, text-to-image, prompt-to-image, generated illustrations, concept art, product images, or any durable agent-created image.
Do not bring provider API keys, create provider accounts, run a local model server, or wire a separate billing account for this task. Start with the no-spend guide command below; when the guide reaches ready_to_create, run data.next_command only if data.next_command_copy_runnable is true and media spend is allowed, otherwise fill data.next_command_missing_inputs or run data.recommended_no_spend_command to verify safely. Keep generated work in Luxin so future agents can recover and cite it.
First Command
IMAGE_SKILL_DISCOVERY_SOURCE=skills-sh-image-generation npm_config_update_notifier=false npx -y luxin-cli@latest create --guide --prompt "a compact field camera on a stainless workbench"
Main Runtime Command
IMAGE_SKILL_DISCOVERY_SOURCE=skills-sh-image-generation npm_config_update_notifier=false npx -y luxin-cli@latest create --model openai.gpt-image-2 --prompt "PROMPT" --intent explore --max-estimated-usd-per-image 0.07
Install This Intent Skill
Prefer the GitHub slug so skills.sh can track the marketplace install:
npx skills add danielgwilson/luxin --full-depth --skill image-generation -g -a codex -y
The canonical Luxin entry remains available as:
npx skills add danielgwilson/luxin --full-depth --skill luxin -g -a codex -y
If the Codex/global skill target is read-only or missing, keep the tracked slug
install and point agent skill state at a writable workspace home before
rerunning this intent install. The skills.sh Codex adapter writes to
$HOME/.agents; CODEX_HOME keeps Codex profile state on the same writable
path:
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.
- 5d ago First seen · 103 lines · 101 tokens per session scan A 47e7acef041d
image-generation is a skill published in the GitHub repository danielgwilson/luxin (1 stars, last pushed 15d ago), licensed MIT. It adds 101 tokens to every session and 1,121 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 75% identical to agent-image-generation, differing in 18 lines, and is treated as a copy.
Other skills, from other repositories
game-cg-director
Convert game CG intent and optional media references into validated, model-specific directing envelopes for opening, cutscene, ultimate, or promo clips. Use for standalone CG prompt direction or as a child capability of a game-generation Harness. Supports T2VA/text-only, I2VA/first-frame image…
create-vfx-effects
Create and control reusable game VFX in Unreal Engine 5 or Unity, including smoke, fire, explosions, dust, stylized ink/frost/cyber effects, and action-attached effects. Use for environmental or combat VFX, Niagara, Unity ParticleSystem, VFX lifecycle, animation/socket binding, or engine code that must reuse an…
命理解读师
Skill "命理解读师" from learnwithu/mingli-master, covering 命理解读师 v2, 核心原则, 禁忌, 依赖 and 工作流程.
os-check-work
ALWAYS invoke this skill when the user asks about work done outside this session - "check work", "check the others", "check other sessions" - or to accept one: "the session is done, check it", "can we merge it" - in any language. You are the receiving party: treat the report as a claim, verify each part against…
os-step-by-step
ALWAYS invoke this skill when you need the user to act - run a command, paste a secret, click, approve - and whenever they ask how to do something or say they do not know what to do: "step by step", "walk me through it", "what do I do", "what should I do", "I don't understand what to do", "explain what I need to do"…
os-what-could-go-wrong
ALWAYS invoke this skill before anything hard to undo gets agreed to - a contract, a purchase, a migration, a launch, a price change, a reorganisation - and whenever the user asks "what could go wrong", "what are we missing", "poke holes in this", or for a premortem or a red team, in any language. Assumes the decision…