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.
Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI.
$ npx skills add partcad/partcad --skill gen-part -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install partcad/partcad gen-part --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/partcad/partcad.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-agents/common/skills/gen-part .claude/skills/gen-part && 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 "gen-part" agent skill from https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/gen-part into .claude/skills/gen-part/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-part", 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/partcad/partcad/tree/devel/ai-agents/common/skills/gen-partType 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 partcad/partcad --skill gen-part -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install partcad/partcad gen-part --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/partcad/partcad.git skills-src && mkdir -p .agents/skills && cp -r skills-src/ai-agents/common/skills/gen-part .agents/skills/gen-part && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "gen-part" agent skill from https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/gen-part into .agents/skills/gen-part/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-part", 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 partcad/partcad --skill gen-part -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install partcad/partcad gen-part --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/partcad/partcad.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/ai-agents/common/skills/gen-part .cursor/skills/gen-part && 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 "gen-part" agent skill from https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/gen-part into .cursor/skills/gen-part/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-part", 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/partcad/partcad.git --path ai-agents/common/skills/gen-part--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 partcad/partcad --skill gen-part -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install partcad/partcad gen-part --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/partcad/partcad.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/ai-agents/common/skills/gen-part .gemini/skills/gen-part && 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 "gen-part" agent skill from https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/gen-part into .gemini/skills/gen-part/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-part", 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 partcad/partcad gen-partInstalls 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 partcad/partcad --skill gen-part -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/partcad/partcad.git skills-src && mkdir -p .github/skills && cp -r skills-src/ai-agents/common/skills/gen-part .github/skills/gen-part && 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 "gen-part" agent skill from https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/gen-part into .github/skills/gen-part/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-part", 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 partcad/partcad --skill gen-part -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install partcad/partcad gen-part --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/partcad/partcad.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/ai-agents/common/skills/gen-part .opencode/skills/gen-part && 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 "gen-part" agent skill from https://github.com/partcad/partcad/tree/devel/ai-agents/common/skills/gen-part into .opencode/skills/gen-part/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "gen-part", 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.
gen-partGenerate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI.
Gen Part is an agent skill from partcad/partcad. Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI. Use for /pc:gen-part or when the user asks to generate, create, or model a single mechanical part.
Its SKILL.md is about 1.9k 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, covering 3D graphics and WebGL. It works with Python. The repository describes itself as: Package manager for things. Start designing modular hardware! PartCAD is the standard for documenting manufacturable physical products (a.k.a. Digital Thread or TDP). It comes… The licence is Apache-2.0.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit e08683a. 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:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From 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.
Gen Part loads about 1.9k tokens when it runs. Until then it costs about 70 tokens; SKILL.md has 1,049 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 partcad/partcad at commit e08683a, republished under its Apache-2.0 licence (© partcad). 1,049 words, ~1,917 tokens.
.claude/skills/gen-part/SKILL.md (or your agent's skills folder).Generate one PartCAD part. The text after the command ($ARGUMENTS) is the
part description — what to build. You author the CAD script yourself and prove
it works with the PartCAD CLI; do not use any built-in ai-* part type or
generation pipeline. Hard requirement: the finished part passes pc test (its
geometry instantiates cleanly).
Steps 4–7 are the reference flow — the same shape the legacy pc add part --ai
pipeline used (plan geometry → write script → validate → compare → refine). Treat
it as a strong default, not a script: skip, reorder, or replace steps as the part
warrants, but always finish by validating.
$ARGUMENTS is the description. Read it and any requirements, and view
reference images directly. Ask the user to clarify only genuinely load-bearing
ambiguities; otherwise proceed and state your assumptions.Resolve a command as /pc:init does (pc, then partcad, then
python -m partcad_cli.click.command). If none is found, stop and run
/pc:setup executable first.
Pick the script kind that best fits the part — you decide:
| Kind | Good for |
|---|---|
build123d | general parametric solids (recommended default) |
cadquery | fluent / CSG-style modeling |
scad (OpenSCAD) | simple constructive geometry, no Python |
sdf | organic / implicit shapes |
For anything non-trivial, sketch the constructive-solid-geometry plan first — coordinate system, primitives with dimensions/positions/orientations, then unions/differences/intersections and fillets/chamfers. This mirrors the legacy "CSG" step and usually cuts iterations. Skip it for simple parts.
Write the script file first from $ARGUMENTS (plain type — never ai-*),
then register it — pc add part requires the file to already exist:
pc --no-ansi add part --desc "<the description>" <kind> <name>.<ext> # e.g. build123d bracket.pyLanguage conventions for the script:
math and the library itself); call show_object(<result>) to expose the
part; do not export anything. For cadquery, avoid tetrahedron / hexahedron.Then mark the part not manufacturable in partcad.yaml — a generated part is
not a catalog/supplier item, and this is what lets pc test pass:
parts:
<name>:
type: <kind>
path: <name>.<ext>
desc: <the description>
manufacturable: falseIf the part was modelled from reference images — a drawing, a photo, a sketch —
name them under images: as well, as paths relative to the package. That is what
puts them beside the part in the README pc render writes, so a reader sees what
the model was made to match; nothing else reads them.
images:
- drawing.png
- photo.jpgIf you started the project with pc init, also delete the empty sketches: and
assemblies: sections it leaves — a null section crashes pc render on older
PartCAD (fixed in partcad/partcad#470).
pc test is the build gate: with manufacturable: false, its CAD check passes
only if the geometry instantiates cleanly, and the manufacturability checks are
skipped.
pc --no-ansi test <name>Three of its checks fail geometry that instantiates perfectly, and all three are
about a part that would look right in the pictures rendered below: shell (the
part is a surface rather than a body — the faces do not close, so it has no
inside and every boolean against it is meaningless), degenerate (it has no size
left in some direction) and solidity (its faces are oriented inward, so its
volume is negative). None of them can be turned off on the part — there is
no such setting, and inventing one is rejected by pc lint. Fix the geometry:
close the shape, keep the feature that collapsed, orient the faces outward. A
part that fails one of these is a part nothing downstream can compute with,
however good the picture of it looks.
pc test proves the geometry instantiates. It says nothing about whether the
geometry is the part that was asked for — that is decided by looking at it.
One picture is not enough to decide it. A projection hides everything behind it,
so a hole in the wrong face, a feature on the wrong side, a chamfer that never
got cut, or a shape that is right in outline and wrong in depth all survive the
one view that happens to conceal them. Render four: front, top and
right to read proportions and dimensions off, and iso to see how the features
go together. A rendered file is named after the object, so give each view a
directory of its own or they overwrite each other:
for view in front top right iso; do
mkdir -p /tmp/pc-render/$view # -O expects it to exist
pc --no-ansi render -t png --view $view -O /tmp/pc-render/$view <name>
doneThen view all four — /tmp/pc-render/<view>/<name>.png — and compare them
against the description and any reference images:
Add back, left or bottom whenever the part is not symmetric about the axis
in question: an asymmetric part has a face you have not seen, and a face you have
not seen is a face you are guessing about. When no named view shows the feature
you need to check, --viewport-origin X,Y,Z and --viewport-up X,Y,Z look from
an arbitrary direction. /pc:render covers these options in full.
Fix any error or mismatch, then re-test and re-render. Iterate until every view
matches — no fixed retry count. If the part is right and the numbers are what
need checking, /pc:describe renders a dimensioned drawing of it.
Summarize what you built — key dimensions and assumptions — and how to view it:
pc ide view <name>.
If the part is meant to connect to something — a bolt pattern, a plug, a rail —
say so and offer /pc:add-interfaces, which adds the ports and interfaces that
let PartCAD mate it automatically. Once it has them, --with-all draws them on
the very views you have been comparing against, so a port that is in the wrong
place or facing the wrong way is visible rather than inferred:
for view in front top right iso; do
mkdir -p /tmp/pc-render/ports/$view
pc --no-ansi render -t png --view $view -O /tmp/pc-render/ports/$view --with-all <name>
doneFour views again, and for the same reason: a port is a coordinate frame, and one
projection collapses the axis it is offset along just as it does for geometry.
--no-ansi because every port drawn is also named on stderr, which is where the
exact string to write in an ASSY file comes from. /pc:add-interfaces covers
reading these drawings in full.
© partcad, Apache-2.0. 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 ai-agents/common/skills/gen-part of partcad/partcad.
Open the folder on GitHubat commit e08683a
Gen Part 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 |
|---|---|---|---|---|---|---|
| Gen Part this skillpartcad/partcad | 503 | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Image to Three.js Modelimg2threejs/img2threejs | 18k | 1 repos | ~8.2k | Automated safety check: Pass | Apache-2.0 | |
| Bambu Studio AIheyixuan2/bambu-studio-ai | 220 | — | ~4.3k | Automated safety check: Pass | MIT | |
| Text To 3D AssetLaurentiuGabriel/unreal-game-assets-creation-skill | 148 | — | ~2.1k | Automated safety check: Pass | None | |
| Build123drawwerks/VibeCAD | 121 | — | ~1.4k | Automated safety check: Notes | MIT | |
| SimplecadapiPhySpace/SimpleCADAPI | 142 | — | ~2.5k | 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.
heyixuan2/bambu-studio-ai
End-to-end 3D printing for Bambu Lab printers. An agent skill from heyixuan2/bambu-studio-ai.
LaurentiuGabriel/unreal-game-assets-creation-skill
Generate a game-ready 3D asset by running the local AI pipeline sequentially: Fooocus (SDXL text-to-image) - Hunyuan3D-2 (image-to-textured-GLB) - optional Blender FBX convert + Unreal import.
rawwerks/VibeCAD
CAD modeling with build123d Python library. An agent skill from rawwerks/VibeCAD.
PhySpace/SimpleCADAPI
Build, assemble, inspect, reconstruct, and export parametric CAD models with the SimpleCADAPI Python SDK.
freshtechbro/claudedesignskills
Exports and optimizes Blender 3D models and animations for the web as glTF, covering batch Python scripting, texture baking, decimation and LOD generation for Three.js and Babylon.js.
partcad/partcad
Enrich an existing PartCAD part with connection interfaces and ports (mating metadata) so it can be mated to other parts automatically.
partcad/partcad
Convert a CAD file or a PartCAD object to another geometry format - STEP, BREP, STL, 3MF, OBJ, IGES, glTF, three.js, SVG, DXF, URDF, ASSY - with pc convert for an object a package declares (which…
partcad/partcad
Write a narratable, accessibility-oriented text description of an existing PartCAD part, assembly, or sketch from its measured bounding box and volume, from renders taken at several viewing angles…
partcad/partcad
Write a CAD file out of an object a PartCAD package declares - STEP, BREP, STL, 3MF, OBJ, IGES, glTF, three.js, URDF for 3D, SVG or DXF for a sketch, or a file type the package implements itself -…
partcad/partcad
Generate a PartCAD 2D sketch from a natural-language description by authoring the sketch (build123d / cadquery / dxf / svg / basic) and validating it with the PartCAD CLI.
partcad/partcad
Initialize a PartCAD package in the current directory by running the installed PartCAD CLI (pc init / partcad init).
Works with
Categories
Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI. Gen Part is an agent skill from partcad/partcad. Generate a PartCAD part from a natural-language description (and optional reference images/requirements) by authoring a CAD script and validating it with the PartCAD CLI.
Gen Part fits situations like: the user asks to generate; model a single mechanical part.
Run `npx skills add partcad/partcad --skill gen-part -a claude-code`. Or copy the skill folder (ai-agents/common/skills/gen-part in partcad/partcad) into .claude/skills/gen-part in your project. Claude Code loads it when a task matches its description.
Run `npx skills add partcad/partcad --skill gen-part -a codex`. Or copy the skill folder (ai-agents/common/skills/gen-part in partcad/partcad) into .agents/skills/gen-part 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 partcad/partcad --skill gen-part -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gen-part, .gemini/skills/gen-part, .github/skills/gen-part and .opencode/skills/gen-part in your project.
Going by SKILL.md and its folder, Gen Part needs the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. 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.
Gen Part is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.7k 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 Gen Part: Image to Three.js Model (img2threejs/img2threejs, 18k stars), Bambu Studio AI (heyixuan2/bambu-studio-ai, 220 stars), Text To 3D Asset (LaurentiuGabriel/unreal-game-assets-creation-skill, 148 stars) and Build123d (rawwerks/VibeCAD, 121 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
partcad (a GitHub organization) maintains it in partcad/partcad, which has 503 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 8, 2026.
Source: partcad/partcad on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.