asset-gen

asset-gen is a skill for Claude Code, Codex from jxoesneon/Ciel. It costs 63 tokens per session (2,028 once invoked), scanned A, a copy of asset-gen, Apache-2.0.

A tool-guidance skill for generating images, 3D models, rigged characters, animations, and sprites from text prompts. It also supports removing backgrounds and places generated files in a project's assets folder.

In plain words
What is it for?
It is for creating game art such as PNG images, GLB 3D models, character animations, frame-by-frame sprites, textures, objects, and backgrounds.
Why use it?
It gives a project a defined way to request and store generated visual resources, while making clear that the image and 3D-model services can cost money per request.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 tools/asset_gen.py image \.

Good fit It is for creating game art such as PNG images, GLB 3D models, character animations, frame-by-frame sprites, textures, objects, and backgrounds.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jxoesneon/Ciel
agentmods
npx agentmods add skills/jxoesneon/ciel/asset-gen

Made for: Claude Code, Codex.

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 asset-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/jxoesneon/ciel/asset-gen/github.svg)](https://agentmods.dev/skills/jxoesneon/ciel/asset-gen)
Your own site
<a href="https://agentmods.dev/skills/jxoesneon/ciel/asset-gen"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/asset-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.

agentmods 80×15 button for asset-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/jxoesneon/ciel/asset-gen"><img src="https://agentmods.dev/badge/skills/jxoesneon/ciel/asset-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,028 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% 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.00063 $0.02028
Opus 5.5 $0.00025 $0.00811
Sonnet 5.5 $0.00013 $0.00406
Haiku 4.5 $0.00006 $0.00203

Measured 1mo ago against content hash b0cb34fec7f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

asset-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 1mo 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

92% identical to asset-gen — 139 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/autonomous-game-pipeline/references/asset-gen/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Asset Generator

Generate PNG images (Gemini or xAI Grok) and GLB 3D models (Tripo3D) from text prompts. These are paid APIs — every call costs real money. Tools live at tools/; run from the project root and keep runtime-loaded outputs under assets/.

Models

Model Flag Cost Best for
Gemini --model gemini 5¢ (512) · 7¢ (1K) · 10¢ (2K) · 15¢ (4K) Precise prompt following — references, characters, 3D refs, exact layouts
Grok --model grok (default) 2¢ High quality but imprecise — textures, simple objects, item kits, scenic backgrounds

Grok produces great-looking output but often ignores specific instructions; reach for Gemini when the result must match what you described.

Images

python3 tools/asset_gen.py image \
  --prompt "the full prompt" -o assets/img/car.png

--model (default grok) · --size (default 1K; Gemini also 512/4K) · --aspect-ratio (default 1:1; also 16:9, 9:16, 4:3, 3:4, 3:2, 2:3).

Image-to-image: pass --image ref.png and the model sees the reference — prompt only for what changes (angle, pose, recolor), don't re-describe appearance. Use this for style families (one hero asset → the rest), variants, and multi-view sets.

Small sprites: minimum generation is 1K, so a 1024px image downscaled to 64px looks muddy. Design display sizes ≥128px, or generate a kit (multiple objects in one 1K image) and slice it with tools/grid_slice.py ... --grid 2x2 --names "a,b,c,d", or prompt for bold flat forms that survive downscaling.

Review every PNG before any GLB conversion — a bad image wastes 30¢+ downstream.

Read the full file on GitHub · 128 lines

Files

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.

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. 1mo ago First seen · 128 lines · 63 tokens per session scan A b0cb34fec7f1

Subscribe to this mod's changes

asset-gen is a skill published in the GitHub repository jxoesneon/Ciel (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 63 tokens to every session and 2,028 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to asset-gen, differing in 139 lines, and is treated as a copy.

Related

Other skills, from other repositories

bevy-ecs-patterns

Use when writing Bevy (Rust ECS) game code - pin and respect the repo's minor version, plugins/systems/queries/resources, schedules with FixedUpdate and Time, states and run conditions, messages vs observers across versions, required components, testing systems with App::update and a manual time strategy, compile-time…

makifbaysal/tasktrooper · 74 tokens

game-performance-budget

Use when touching anything that runs per frame, adding entities/effects at scale, or answering a stutter/frame-drop report - frame budgets per target FPS, per-system split, the profiler per engine, before/after numbers, and threshold tests.

makifbaysal/tasktrooper · 53 tokens

game-security-pitfalls

Use when reviewing game code in C#, GDScript or C++ (Unity, Godot, Unreal, custom engines) - client vs server authority, RPC and packet validation, in-app purchases and economy, save and replay files, mod and script loading, secrets in client builds.

makifbaysal/tasktrooper · 62 tokens

Code Quality Review

Conduct a comprehensive code quality review focused on clean code, architecture, and project standards.

asap-protocol/asap-protocol · 21 tokens

stateful-widget

Build interactive HTML project widgets with persisted runtime state (games, counters, forms). Read before showwidget when user actions must survive reopening the note.

googlicius/obsidian-steward · 33 tokens

agent-eve

Watch and play Agent Eve, a persistent world played by AI agents, through the Agent Eve connector. Use when the user asks what is happening in Agent Eve, wants last night's story or an agent's public record, or wants to enroll and play their own agent.

shehryarsaroya/agent-eve · 57 tokens