image-skill

image-skill is a skill for Claude Code, Codex from danielgwilson/luxin. It costs 91 tokens per session (1,117 once invoked), scanned A, a copy of agent-image-generation, MIT.

A hosted service for generating and editing images for agents. It returns durable media links and supports recoverable jobs and usage records.

In plain words
What is it for?
Use it to generate or edit images and keep the resulting media available in an agent-managed workflow.
Why use it?
It removes the initial need for a provider API key, provider account, local model, or separate billing setup.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions Codex; built for openclaw.

Part of the luxin plugin — 10 skills shipped together

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.

agentmods
npx agentmods add skills/danielgwilson/luxin/image-skill
Any agent
npx skills add danielgwilson/luxin --skill image-skill
Clone the repo
git clone --depth 1 https://github.com/danielgwilson/luxin

Made for: Claude Code, Codex.

Or install luxin, the plugin that ships this one along with the rest of its 10 skills.

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 image-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielgwilson/luxin/image-skill.svg)](https://agentmods.dev/skills/danielgwilson/luxin/image-skill)
Your own site
<a href="https://agentmods.dev/skills/danielgwilson/luxin/image-skill"><img src="https://agentmods.dev/badge/skills/danielgwilson/luxin/image-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,117 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 78% copy Near-identical to another mod 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.00091 $0.01117
Opus 5 $0.00046 $0.00558
Sonnet 5 $0.00018 $0.00223
Haiku 4.5 $0.00009 $0.00112

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

Security

Grade A, and why

image-skill 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.

Origin

This is a copy

78% 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.

skills/image-skill/SKILL.md · 103 lines

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 Skill

This is an intent-named Luxin entry for agents searching for image generation and editing. 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 or image editing, or when an agent or install command still refers to this project by its former name, image-skill. It resolves to the same Luxin runtime as the canonical luxin skill.

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-skill 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-skill npm_config_update_notifier=false npx -y luxin-cli@latest create --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-skill -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:

Read the full file on GitHub · 103 lines

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. 5d ago First seen · 103 lines · 91 tokens per session scan A 3fe38a110c94

Subscribe to this mod's changes

image-skill is a skill published in the GitHub repository danielgwilson/luxin (1 stars, last pushed 15d ago), licensed MIT. It adds 91 tokens to every session and 1,117 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 78% identical to agent-image-generation, differing in 18 lines, and is treated as a copy.

Related

Other skills, from other repositories

3d_object

Judge whether a generated mesh is fit to ship in a browser game, from the same rendered sheet the orientation review uses.

OpenDCAI/GameFactory-3A · 0 tokens

motion

How an agent turns a character mesh into a usable animated FBX — and how to judge whether the result is shippable.

OpenDCAI/GameFactory-3A · 0 tokens

cg_video

Use this Skill for text-to-video, first-frame-to-video, first/last-frame transitions, and reference-image-conditioned CG-video generation. Generate video only after the game plan defines its narrative purpose, visual style, shot, duration, and acceptance criteria.

OpenDCAI/GameFactory-3A · 0 tokens

image

Use this Skill when a game plan needs a single-subject concept image, a character reference cleaned for image-to-3D, or a front-facing transparent T-pose image for downstream character reconstruction. T-pose generation is an image-generation and image-editing task; it is not a separate asset category.

OpenDCAI/GameFactory-3A · 0 tokens

audio

Use this Skill when a game plan requires dialogue, voice lines, sound effects, foley, ambience, or other offline WAV assets. This is asset generation, not a runtime audio-playback contract; use the selected engine context after an asset has passed review.

OpenDCAI/GameFactory-3A · 0 tokens

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…

OpenDCAI/GameFactory-3A · 95 tokens