Agent skill · Design & Presentation

asset-gen

Generate visual assets from text prompts: PNG images (Gemini / xAI Grok), GLB 3D models (Tripo3D), rigged biped characters, retargeted animations, and frame-by-frame animated sprites, plus background removal. Use whenever a game needs generated art.

htdtgithub.com/htdtGitHub ↗
claude-codecodexships scriptsMIT
Install
npx skills add htdt/godogen --skill asset-gen --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 8
SKILL.md size: 7 KB
Bundled scripts: yes
Path: asset-gen/SKILL.md
Open the folder on GitHub →
Where it comes from
Source: htdt/godogen
Stars: 5,237
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 `${ASSET_GEN_SKILL_DIR}/tools/`; run from the project root and keep runtime-loaded outputs under `${RUNTIME_ASSET_DIR}/`. ## 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 ```bash python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py image \ --prompt "the full prompt" -o ${RUNTIME_ASSET_DIR}/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 change

What's inside
Steps it walks through
  1. Models
  2. Images
  3. Background removal
  4. Animated sprites
  5. 3D models
  6. Tripo3D operations (important — avoids double-charging)
  7. Costs
  8. Output and logging
  9. Visual pitfalls
  10. Asset manifest (in README.md)
Ships with 7 files
  • rembg.md
  • tools/asset_gen.py
  • tools/find_loop_frame.py
  • tools/grid_slice.py
  • tools/rembg_matting.py
  • tools/requirements.txt
  • tools/tripo3d.py
Commands it runs
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py image \
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py glb  --image ref.png -o model.glb     # 30¢ default / 60¢ --quality hd
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py rig  --image ref.png -o rigged.glb    # +25¢, biped only
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py retarget --rigged rigged.glb \
python3 ${ASSET_GEN_SKILL_DIR}/tools/asset_gen.py resume -o model.glb
About this skill
What does the asset-gen skill do?

Generate visual assets from text prompts: PNG images (Gemini / xAI Grok), GLB 3D models (Tripo3D), rigged biped characters, retargeted animations, and frame-by-frame animated sprites, plus background removal. Use whenever a game needs generated art.

How do I install it?

Run `npx skills add htdt/godogen --skill asset-gen --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From htdt/godogen, a repository with 5,237 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going