OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
SetupClaw
Done-for-you OpenClaw for founders and teams
Get it set up for you →
CodeRabbit
AI code reviews for every PR
Try CodeRabbit free →
Your product here
Reach thousands of AI builders a month
Learn more →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/majidmanzarpour/threejs-game-skills/threejs-image-generator
threejs-image-generator logo

threejs-image-generator

majidmanzarpour/threejs-game-skills
740 installs1K stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/majidmanzarpour/threejs-game-skills --skill threejs-image-generator

Summary

Generate and edit 2D image assets for Three.js games using Google's Gemini image API. Use for concept sheets, image-to-3D inputs, texture references, sky/background plates, decals, logos, icons, GUI art, title/menu art, thumbnails, marketing stills, and source images that feed threejs-3d-generator. Also use for direct image editing when the user provides an image path.

SKILL.md

Three.js Image Generator

Purpose

Create game-useful 2D assets and references for Three.js projects. This skill is the image-generation layer for the Three.js game system: it produces concepts, textures, decals, UI art, and 2D inputs that can be handed to threejs-3d-generator for image-to-3D model creation.

Provider: Google's Gemini image API.

Resolve <this-skill-dir> in the commands below in this order: ~/.claude/skills/threejs-image-generator, ~/.codex/skills/threejs-image-generator, ~/.agents/skills/threejs-image-generator, or repo skills/threejs-image-generator.

When To Use

Use this skill before procedural-only fallback when a Three.js game needs:

  • 2D-to-3D reference images for threejs-3d-generator: characters, creatures, buildings, ships, cars, weapons, props, pickups, terrain modules.
  • Texture and material references: terrain, road, rock, sand, metal, sci-fi panels, trim sheets, decals, hazard labels, signs.
  • Environment images: skies, backdrops, city horizons, nebula plates, menu backgrounds, parallax layers.
  • UI art: logos, faction marks, icons, item cards, ability badges, cockpit decals, GUI panels, title art.
  • Existing-image edits, style variants, cleanup, palette alignment, or concept sheet refinements.

For premium/AAA/showcase graphics work, generate at least one relevant image for high-value 2D surfaces or image-to-3D inputs unless the credential probe or a real generation attempt shows a blocker.

API Key

Never store API keys in skill files or browser/game code, and never paste a key value into a report. The script reads --api-key or GEMINI_API_KEY.

Step 0, before declaring the key unavailable: run this skill's own probe and paste its literal output into the report.

uv run <this-skill-dir>/scripts/generate_image.py probe   # prints GEMINI_API_KEY=SET|MISSING

GEMINI_API_KEY=MISSING is only a valid skip/blocker reason when this output is shown. Keys defined only in a shell profile can be absent from the process env; if the plain probe prints MISSING unexpectedly, wrap it: zsh -lc 'source ~/.zprofile 2>/dev/null || true; source ~/.zshrc 2>/dev/null || true; uv run <this-skill-dir>/scripts/generate_image.py probe'. When the director skill is loaded, prefer threejs-game-director/scripts/probe_asset_credentials.sh, which probes all three asset keys at once.

Tool Script

Run from the user's current project directory so output lands in the game project:

uv run <this-skill-dir>/scripts/generate_image.py --prompt "your image description" --filename assets/concepts/output.png --resolution 2K

Edit an existing image:

uv run <this-skill-dir>/scripts/generate_image.py \
  --input-image assets/concepts/ship.png \
  --prompt "turn this into a battle-worn red racing livery with clearer material zones" \
  --filename assets/concepts/ship-red-livery.png \
  --resolution 2K

Resolution mapping:

  • 1K: quick concepts, icons, draft sheets.
  • 2K: default production reference for image-to-3D, textures, backgrounds, UI panels. This is also the script default when --resolution is omitted.
  • 4K: hero splash/title art, high-detail texture references, large sky/background plates.

Prompt Patterns

Image-to-3D reference:

Create a clean 3D-generation reference image of [asset]. Centered single object, full object visible, plain light background, readable silhouette, clear material zones, game-ready [genre/style], no motion blur, no cropped parts, no text.

Riggable character/creature reference:

Create a full-body [T-pose/A-pose/side-view creature] reference for 3D rigging: [details]. Symmetric stance, visible hands/feet/limbs, plain background, readable costume/anatomy layers, no weapon fused to hands.

Texture/material reference:

Create a seamless game texture reference for [surface]. Orthographic/top-down, PBR-friendly albedo, clear material variation, no perspective, no baked strong shadows, [style/material details].

Logo/icon/UI art:

Create a crisp game UI [logo/icon/badge/panel] for [faction/item/ability]. Transparent-friendly silhouette, high contrast at small size, [genre styling], no tiny unreadable text.

Sky/background:

Create a wide game background plate of [environment]. Layered depth, readable horizon, [time/weather/style], suitable behind a real-time Three.js scene, no foreground subject.

Three.js Integration Rules

  • Save concepts and image-to-3D sources under assets/concepts/.
  • Save textures, decals, icons, and GUI source images under assets/textures/, assets/decals/, or assets/ui/.
  • For image-to-3D, hand the saved image path to threejs-3d-generator and record the chain in the external asset ledger.
  • Do not call the image API from client-side game code.
  • Convert generated PNGs into runtime formats deliberately: PNG for alpha/UI, JPG/WebP/KTX2 for larger opaque textures where the project pipeline supports it.
  • Verify how the image appears in game, not only that the file exists.

Required Report

Report:

  • Credential probe output or command blocker.
  • Prompt and purpose.
  • Output path.
  • Resolution.
  • Whether the image was used directly, edited further, or handed to threejs-3d-generator.
  • Any remaining integration work such as compression, UV assignment, alpha cleanup, or atlas packing.

Do not mark a premium graphics phase complete if the needed image outputs are missing and the only justification is "procedural is enough" for high-value UI, texture, sky, decal, logo, or image-to-3D surfaces.

Score

0–100
65/ 100

Grade

C

Popularity17/30

740 installs — growing adoption. Source repo has 1,036 GitHub stars.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Threejs Image Generator skill score badge previewScore badge

Markdown

[![Threejs Image Generator skill](https://www.claudemarket.ai/skills/majidmanzarpour/threejs-game-skills/threejs-image-generator/badges/score.svg)](https://www.claudemarket.ai/skills/majidmanzarpour/threejs-game-skills/threejs-image-generator)

HTML

<a href="https://www.claudemarket.ai/skills/majidmanzarpour/threejs-game-skills/threejs-image-generator"><img src="https://www.claudemarket.ai/skills/majidmanzarpour/threejs-game-skills/threejs-image-generator/badges/score.svg" alt="Threejs Image Generator skill"/></a>

Threejs Image Generator FAQ

How do I install the Threejs Image Generator skill?

Run “npx skills add https://github.com/majidmanzarpour/threejs-game-skills --skill threejs-image-generator” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Threejs Image Generator skill do?

Generate and edit 2D image assets for Three.js games using Google's Gemini image API. Use for concept sheets, image-to-3D inputs, texture references, sky/background plates, decals, logos, icons, GUI art, title/menu art, thumbnails, marketing stills, and source images that feed threejs-3d-generator. Also use for direct image editing when the user provides an image path. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Threejs Image Generator skill free?

Yes. Threejs Image Generator is a free, open-source skill published from majidmanzarpour/threejs-game-skills. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Threejs Image Generator work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Threejs Image Generator works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
imagegen-frontend-web logo

imagegen-frontend-web

leonxlnx/taste-skill

194K installsInstall
image-to-code logo

image-to-code

leonxlnx/taste-skill

194K installsInstall
imagegen-frontend-mobile logo

imagegen-frontend-mobile

leonxlnx/taste-skill

189K installsInstall
image-to-video logo

image-to-video

skills-collective/skills

130K installsInstall
ai-image-generation logo

ai-image-generation

skills-collective/skills

120K installsInstall
ai-image-generation logo

ai-image-generation

magentosh/skills

108K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

Guide10 Openclaw Skills Every Nextjs Developer NeedsGuideBest Openclaw Skills 2026GuideHow To Evaluate Openclaw Skill Before Installing

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed