Image to Three.js Model
img2threejs/img2threejs
Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.
Resizes a single image to explicit width and height using ImageMagick.
$ npx skills add godot-fun/gai --skill image-resize -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install godot-fun/gai image-resize --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/image-resize .claude/skills/image-resize && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "image-resize" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-resize into .claude/skills/image-resize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-resize", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/godot-fun/gai/tree/main/.agents/skills/image-resizeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add godot-fun/gai --skill image-resize -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install godot-fun/gai image-resize --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/image-resize .agents/skills/image-resize && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "image-resize" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-resize into .agents/skills/image-resize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-resize", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add godot-fun/gai --skill image-resize -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install godot-fun/gai image-resize --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/image-resize .cursor/skills/image-resize && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "image-resize" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-resize into .cursor/skills/image-resize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-resize", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/godot-fun/gai.git --path .agents/skills/image-resize--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add godot-fun/gai --skill image-resize -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install godot-fun/gai image-resize --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/image-resize .gemini/skills/image-resize && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "image-resize" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-resize into .gemini/skills/image-resize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-resize", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install godot-fun/gai image-resizeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add godot-fun/gai --skill image-resize -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/image-resize .github/skills/image-resize && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "image-resize" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-resize into .github/skills/image-resize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-resize", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add godot-fun/gai --skill image-resize -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install godot-fun/gai image-resize --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/godot-fun/gai.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/image-resize .opencode/skills/image-resize && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "image-resize" agent skill from https://github.com/godot-fun/gai/tree/main/.agents/skills/image-resize into .opencode/skills/image-resize/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "image-resize", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
image-resizeResizes a single image to explicit width and height using ImageMagick.
Image Resize is an agent skill from godot-fun/gai. Resizes a single image to explicit width and height using ImageMagick. Use when the user wants image resize, scale a sprite/texture, resize a UI asset or icon, or mentions ImageMagick resize — target size must be specified before running.
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Game Development. The repository describes itself as: A lightweight AI agent and skill workflow framework built with Godot. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit aa1ac71. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonmagickgitFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
imagemagick.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Image Resize loads about 1.3k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 482 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from godot-fun/gai at commit aa1ac71, republished under its MIT licence (© godot-fun). 482 words, ~1,262 tokens.
.claude/skills/image-resize/SKILL.md (or your agent's skills folder).Resize one image file to a user-specified width and height via ImageMagick. Both dimensions are required — do not run this skill until the user (or task) provides target pixel size.
When this skill applies, read and follow skill-dependency-manager — run scripts as documented, install missing tools into .dependency/.
--image; directories are not supported.resize.py through the bundled script — do not hand-write magick -resize commands.image-resize/ (or --output) by default.populated: false for imagemagick is not a reason to skip. Install first, set populated: true, retry the same command.Download ImageMagick portable build from imagemagick.org and extract to .dependency/imagemagick/.
Windows result example: .dependency/imagemagick/magick.exe
Register in .dependency/manifest.json:
"imagemagick": {
"populated": true,
"bin": ".dependency/imagemagick/magick.exe"
}Use bin/magick on Unix (no .exe).
Both --width and --height are required:
.dependency/python/python .ai/image-resize/resize.py --image assets/sprites/hero.png --width 128 --height 128Example: assets/ui/icon.png → assets/ui/image-resize/icon.png at 64×64
Custom output path:
.dependency/python/python .ai/image-resize/resize.py --image assets/icons/badge.png -o assets/icons_64 --width 64 --height 64| Mode | Flag | Behavior |
|---|---|---|
fit (default) | --mode fit | Fit inside WxH, preserve aspect ratio (letterbox area unused) |
fill | --mode fill | Cover WxH, center-crop overflow |
exact | --mode exact | Force WxH, ignore aspect ratio |
# Fit within 128×128 (default — no distortion)
.dependency/python/python .ai/image-resize/resize.py --image assets/hero.png --width 128 --height 128
# Cover 128×128, crop center
.dependency/python/python .ai/image-resize/resize.py --image assets/hero.png --width 128 --height 128 --mode fill
# Stretch to exactly 128×128
.dependency/python/python .ai/image-resize/resize.py --image assets/hero.png --width 128 --height 128 --mode exact| Option | Default | Notes |
|---|---|---|
--image | Required | Single supported image file |
--width / --height | Required | Must be positive integers |
--mode | fit | fill or exact when user needs crop or stretch |
| Output | <source-dir>/image-resize/<source-name> | Use --output for custom file or directory |
| Format | Same as source | Extension preserved (.png, .jpg, etc.) |
Supported inputs: .jpg, .jpeg, .png, .webp, .gif, .bmp, .tif, .tiff, .avif, .ico.
fit; use fill for square thumbnails from non-square art; use exact only when the user accepts distortion.image-resize/ next to that file by default.git restore; sources are never modified..dependency/ per skill-dependency-manager, retry same command.| Issue | Fix |
|---|---|
imagemagick missing in manifest | Follow Setup; update manifest |
Missing --width / --height | Ask user for target size; both flags are required |
Directory passed to --image | Run once per file; this skill accepts image files only |
| Output larger/smaller than expected | Check --mode — fit preserves aspect inside the box |
| Distorted sprite | Switch from exact to fit or fill |
| Animated GIF | Only first frame is processed by default ImageMagick behavior |
Copy-paste commands: cli/image-resize.md
© godot-fun, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/image-resize of godot-fun/gai.
Open the folder on GitHubat commit aa1ac71
Image Resize next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Image Resize this skillgodot-fun/gai | 182 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Image to Three.js Modelimg2threejs/img2threejs | 18k | 1 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 | |
| Web CloneJane-xiaoer/claude-skill-web-clone | 1k | 1 repos | ~2.7k | Automated safety check: Pass | MIT | |
| Threejs Game Directormajidmanzarpour/threejs-game-skills | 2.5k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Game Asset Generatorhtdt/godogen | 7.1k | — | ~2.8k | Automated safety check: Pass | MIT | |
| Threejs Gameplay Systemsvalkor-ai/loom | 1.2k | 1 repos | ~1.4k | Automated safety check: Pass | Apache-2.0 |
img2threejs/img2threejs
Rebuilds the object in a reference image as a procedural, animation-ready Three.js model written entirely in code, using staged sculpting with quality checks.
Jane-xiaoer/claude-skill-web-clone
网站复刻 / 克隆方法论。USE WHEN 用户说 复刻网站、克隆网站、clone website、抄个站、仿站、 照着这个站做一个、reproduce site、还原某个网页效果、把这个站搬下来改成我的、 复刻某个交互/WebGL/Canvas/Three.js 效果。提供「先拿真源码 → 判路径 → 逆向拆解 → 搭工程 → 替换内容」的可移植决策树,覆盖静态站 /…
majidmanzarpour/threejs-game-skills
Entrypoint for building, upgrading, and finishing Three.js browser games.
htdt/godogen
Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.
valkor-ai/loom
Build and iterate playable Three.js game systems: starter scaffold, architecture, design briefs, core loops, level and encounter design, entities, input, camera, collision and physics, scoring…
CyberAgentGameEntertainment/NovaShader
Execute C with Unity APIs when existing uloop tools cannot inspect or edit enough.
godot-fun/gai
Zero-shot text-to-speech with voice cloning via IndexTTS2 (index-tts).
godot-fun/gai
Reduces background noise in a single audio file using FFmpeg afftdn.
godot-fun/gai
Applies fade-in and fade-out at the start and end of a single audio file using FFmpeg.
godot-fun/gai
Normalizes a single audio file to consistent LUFS loudness with true-peak limiting using FFmpeg.
godot-fun/gai
Standardizes a single audio file to 44100 or 48000 Hz and exports 16-bit PCM WAV using FFmpeg.
godot-fun/gai
Splits a single audio file into two segments (part 1 before the split point, part 2 after) using FFmpeg.
Categories
Resizes a single image to explicit width and height using ImageMagick. Image Resize is an agent skill from godot-fun/gai. Resizes a single image to explicit width and height using ImageMagick.
Image Resize fits situations like: the user wants image resize; scale a sprite/texture; resize a UI asset; mentions ImageMagick resize — target size must be specified before running.
Run `npx skills add godot-fun/gai --skill image-resize -a claude-code`. Or copy the skill folder (.agents/skills/image-resize in godot-fun/gai) into .claude/skills/image-resize in your project. Claude Code loads it when a task matches its description.
Run `npx skills add godot-fun/gai --skill image-resize -a codex`. Or copy the skill folder (.agents/skills/image-resize in godot-fun/gai) into .agents/skills/image-resize in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add godot-fun/gai --skill image-resize -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-resize, .gemini/skills/image-resize, .github/skills/image-resize and .opencode/skills/image-resize in your project.
Going by SKILL.md and its folder, Image Resize needs the command-line tools its instructions call (python, magick and git). Our summary lists: Python 3.
SKILL.md names 1 domain. As links in the text: imagemagick.org. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Image Resize is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Image Resize: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Web Clone (Jane-xiaoer/claude-skill-web-clone, 1k stars), Threejs Game Director (majidmanzarpour/threejs-game-skills, 2.5k stars) and Game Asset Generator (htdt/godogen, 7.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
godot-fun (a GitHub organization) maintains it in godot-fun/gai, which has 182 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on October 9, 2026.
Source: godot-fun/gai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.