img2threejs
하는 일
이 스킬은 AI가 물체나 캐릭터의 참조 이미지를 코드로 만든 애니메이션 가능한 3D 장면으로 바꾸도록 합니다. 기성 3D 자산을 내려받지 않고 사진과 맞는 3D 모델을 원하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓물체의 사진이나 그림이 있고 웹용 3D 모델이 필요할 때.
- ✓참조 그림에 맞는 스타일화된 3D 캐릭터를 원하는 경우.
- ✓3D 모델이 참조 이미지와 얼마나 가까운지 확인하고 차이를 고치고 싶을 때.
스킬 링크
https://github.com/img2threejs/img2threejs/blob/main/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 의자 사진을 Three.js 웹 페이지에서 보여 줄 수 있는 3D 모델로 다시 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 단계별로 작업합니다. 먼저 형태를 코드로 작성하고, 렌더링 결과를 참조 이미지와 비교한 뒤, 충분히 맞을 때까지 모델을 반복해서 고칩니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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. That
promise governs how the model is built — it says nothing about which file formats it can
subsequently be exported to; an explicitly-selected emission target (--target <kind>) is a
terminal, whole-artifact transform of the already-built model, verified to its own stated limit,
never a second way to build one.
Agent-agnostic: works under Hermes, Claude Code, Codex, or OpenCode. Wherever this doc says "agent vision" or "agent browser tool", use whatever the host provides — native image reading, a browser MCP (playwright/chrome-devtools), the project preview, or a user-supplied screenshot.
This file is the always-loaded router: it holds the order of operations and every hard rule as one
line. The full contract behind each rule lives in the grimoire/ or docs/ file that rule names —
read the named file at the moment you reach that stage, not before.
Canonical shared checkout
Keep one checkout of this repository and let every host enter it through a symlink, so the hosts
execute the same code instead of drifting apart. npx --yes img2threejs@latest install does this
for the hosts it detects (hermes, claude, codex, opencode); it refuses (exit 2) to replace a
link it does not manage, so a hand-made link is never silently swapped for a release copy.
Hermes reads skills per profile: also link ~/.hermes/profiles/<profile>/skills/img2threejs
(the installer writes only ~/.hermes/skills/). Install, manual symlinks, and troubleshooting:
docs/INSTALL.md.
When To Use
The user attaches/points to an object image and wants a procedural Three.js model, a reconstruction/animation/destruction plan, a sculpt spec, or code. Also for material studies, action-ready props, game objects, botanical/mechanical parts, and stylized reconstructions.
Profile preflight (once per run, before forge/next.py)
Domain knowledge (CS2 skins, animated characters, emission targets) lives in plugins, not in this checkout. Pick the profile from the subject, then confirm this environment can start it:
python3 forge/state.py init --help | grep -- --profile # profiles available here
generic/characterare built in: no harness, no plugin, nothing else to check.- A missing domain profile (e.g.
cs2) is a setup gap: never downgrade togenericsilently. Installing it edits the user's machine, so give them the commands indocs/INSTALL.md§3, get their go-ahead, re-check, and continue. - Installed but not listed (wrong
$IMG2_HOME), or a Hermes plugin link:docs/PLUGINS.md. - Then read what the profile's own steps name, at the moment you reach them: the plugin's
SKILL.mdand contracts govern that domain.
Core Promise
Sculpt from a photo, in order — never one-shot a mesh:
- Run
python3 forge/next.py --state .img2threejs/state.json [<spec>]first, at every start, resume, and before every correction iteration. It reports the ordered checklist, exact next command, evidence status, and bounded correction-loop status; it never replaces the spec/pass gates. Obey a hard stop; never continue from memory. - Validate the image is a suitable 3D target (
grimoire/intake/validation_rubric.md). - Assess object class + complexity, then write a
qualityContractbefore any code. - Spec it: component hierarchy, materials, lighting, pivots, sockets, action anchors.
- Build pass-by-pass from blockout → structure → form → material → lighting → interaction → optimization.
- Verify each pass with a screenshot compared against the reference; fail a pass if an identity-defining feature is wrong even when the global score looks fine.
State explicitly when output is approximate/stylized/low-poly. A single image cannot reveal hidden sides or guarantee exact geometry — say so instead of faking confidence.
Mandatory Local State Gate
Conversation context is disposable; .img2threejs/state.json is the local checklist authority.
Initialize once per reconstruction, then gate every step through it:
python3 forge/state.py init --state .img2threejs/stat
자주 묻는 질문
물체를 스캔하거나 복사하나요?
아니요. 스킬은 사진 측량이나 메시 추출이 아니라, 코드만으로 재구성하는 방식을 설명합니다.
파일로 내보낼 수 있나요?
스킬은 모델이 완성된 뒤 선택한 대상에 맞춰 다른 형식으로 내보내는 것을 선택 사항으로 언급합니다.
무엇을 제공해야 하나요?
참조 이미지입니다. 확인 과정에서 AI가 브라우저 도구로 자신이 만든 렌더링을 볼 수도 있습니다.
상세 정보
작성자의 원본 설명
Turn an object or character reference image into a quality-gated, animation-ready procedural Three.js model built in code. Use for image-to-3D reconstruction, detail-accurate object rebuilds, stylized/likeness-maximized human characters, sculpt specs, and staged code generation.
repo: img2threejs/img2threejs
인기도
- GitHub 스타
- 20k
- 순위
- #10388
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 10. 28.
댓글
- …