img2threejs

img2threejs is a skill for Codex from frabcd/codex-ai-game-studio. It costs 66 tokens per session (6,477 once invoked), scanned A, original, MIT.

A workflow that rebuilds an object or character from a reference image as a procedural Three.js model, meaning a 3D model generated by code. It includes staged quality checks and visual correction.

In plain words
What is it for?
Creating image-based 3D reconstructions, stylised or likeness-focused characters, sculpt specifications, and corrected preview renders.
Why use it?
It provides a code-based way to recreate reference images without extracting a mesh, using photogrammetry, or downloading art packs.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Creating image-based 3D reconstructions, stylised or likeness-focused characters, sculpt specifications, and corrected preview renders.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/frabcd/codex-ai-game-studio/img2threejs
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.

Any agent
npx skills add frabcd/codex-ai-game-studio --skill img2threejs
Clone the repo
git clone --depth 1 https://github.com/frabcd/codex-ai-game-studio

Made for: 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 img2threejs

README.md
[![agentmods](https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/img2threejs/github.svg)](https://agentmods.dev/skills/frabcd/codex-ai-game-studio/img2threejs)
Your own site
<a href="https://agentmods.dev/skills/frabcd/codex-ai-game-studio/img2threejs"><img src="https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/img2threejs/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 img2threejs

Your own site · 80×15
<a href="https://agentmods.dev/skills/frabcd/codex-ai-game-studio/img2threejs"><img src="https://agentmods.dev/badge/skills/frabcd/codex-ai-game-studio/img2threejs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,477 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 original No closer match found 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.00066 $0.06477
Opus 5.5 $0.00026 $0.02591
Sonnet 5.5 $0.00013 $0.01295
Haiku 4.5 $0.00007 $0.00648

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

Security

Grade A, and why

img2threejs 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 3mo ago.

The scan reads SKILL.md. This mod also ships 37 executable files (forge/_shared/artifact_cache.py, forge/_shared/color_metrics.py, forge/_shared/feature_acceptance_policy.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/ai-game-studio-img2threejs/skills/img2threejs/SKILL.md · 350 lines

How it starts

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

img2threejs — Image to procedural Three.js

Rebuild the object visible in a reference image as a code-only procedural Three.js model, gated by a staged sculpting pipeline and an AI-vision self-correction loop. This is reconstruction-by-code, not photogrammetry, mesh extraction, or downloaded art packs.

Use Codex-native image reading, an already-enabled browser tool, the project preview, or a user-supplied screenshot wherever this workflow calls for agent vision or a browser.

Runtime and paths

Resolve SKILL_ROOT to the directory containing this SKILL.md. When Codex exposes PLUGIN_ROOT, this skill is at ${PLUGIN_ROOT}/skills/img2threejs; otherwise use the skill's discovered absolute path. Run every bundled script by absolute path from SKILL_ROOT and keep generated specifications, renders, and models in the user's project or an approved output directory, never in the installed plugin.

Use the active Python 3.10+ executable: py -3 or python on Windows, and python3 or the configured environment's interpreter on macOS. Pass arguments as an array and do not build a shell command. In command examples, <python> means that selected executable and <skill-root> means the resolved absolute SKILL_ROOT. The harness itself uses only the standard library.

The local specification index never writes into the installed plugin. Use --cache-root <approved-path> or AI_GAME_STUDIO_CACHE_DIR; otherwise a bounded OS user-cache directory is used. Generated specifications, code, renders, and evidence still belong in the approved project/output directory.

The built-in pixel tools decode compatible PNG directly. Common JPEG/TIFF/BMP inputs may be converted through the fixed native Windows System.Drawing or macOS /usr/bin/sips route. A non-native ImageMagick fallback is allowed only when AI_GAME_STUDIO_IMAGEMAGICK_MANIFEST points to a confirmed JSON record containing its absolute executable, SHA-256, version, reviewed license, HTTPS source URL, and plan digest. Unsupported formats must stop with a conversion request; never run an executable selected only from PATH.

Read the full file on GitHub · 350 lines

Files

What ships with it

60 files 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. 3mo ago First seen · 350 lines · 66 tokens per session scan A 113de9657c4a

Subscribe to this mod's changes

img2threejs is a skill published in the GitHub repository frabcd/codex-ai-game-studio (24 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 6,477 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

img2threejs compared with skills from other repositories

img2threejs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
img2threejsfrabcd/codex-ai-game-studioSkill241mo agoMITA66Codex
scenario-godot-expertscenario-labs/skillsSkill4.3ktodayMITA139Claude Code
scenario-maya-retopology-uvscenario-labs/skillsSkill4.3ktodayMITA138Claude Code
scenario-zbrush-expertscenario-labs/skillsSkill4.3ktodayMITA124Claude Code
scenario-godot-animationscenario-labs/skillsSkill4.3ktodayMITA114Claude Code
creature-artistarjun988/blender-skillsSkill5.4k24d agoMITA47Claude Code
export-pipelinearjun988/blender-skillsSkill5.4k24d agoMITA42Claude Code