generate-3d

generate-3d is a command for Claude Code from Comfy-Org/comfy-skills. It costs 10 tokens per session (1,696 once invoked), scanned A, original, MIT.

A command for creating a three-dimensional model from a user's description through Comfy Cloud, an online service for running media-generation workflows.

In plain words
What is it for?
Use it to generate 3D models from descriptions, or from reference images when an image-to-3D workflow is available. It can also use a named provider when a matching service node exists.
Why use it?
It provides a defined process for finding a suitable model-generation workflow and using available providers or templates. This avoids relying on an assumed, possibly outdated list of options.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the comfy-cloud plugin — 12 skills, 12 commands, 1 MCP server shipped together

Good fit Use it to generate 3D models from descriptions, or from reference images when an image-to-3D workflow is available. It can also use a named provider when a matching service node exists.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/comfy-org/comfy-skills/generate-3d
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.

Clone the repo
git clone --depth 1 https://github.com/Comfy-Org/comfy-skills

Made for: Claude Code.

Or install comfy-cloud, the plugin that ships this one along with the rest of its 12 skills, 12 commands, 1 MCP server.

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 generate-3d

README.md
[![agentmods](https://agentmods.dev/badge/commands/comfy-org/comfy-skills/generate-3d/github.svg)](https://agentmods.dev/commands/comfy-org/comfy-skills/generate-3d)
Your own site
<a href="https://agentmods.dev/commands/comfy-org/comfy-skills/generate-3d"><img src="https://agentmods.dev/badge/commands/comfy-org/comfy-skills/generate-3d/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 generate-3d

Your own site · 80×15
<a href="https://agentmods.dev/commands/comfy-org/comfy-skills/generate-3d"><img src="https://agentmods.dev/badge/commands/comfy-org/comfy-skills/generate-3d.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,696 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.00010 $0.01696
Opus 5.5 $0.00004 $0.00678
Sonnet 5.5 $0.00002 $0.00339
Haiku 4.5 $0.00001 $0.00170

Measured 20d ago against content hash db05e4704801, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

generate-3d 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 20d ago.

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.

claude-code/commands/generate-3d.md · 43 lines

How it starts

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

Generate a 3D model using Comfy Cloud based on the user's description: $ARGUMENTS

Approach: prefer a ready-made template over hand-building, and discover the current options with the tools rather than assuming a fixed catalog. Model, node, and template availability changes over time, so let the tools tell you what exists right now.

Step 0 - Partner-API shortcut. If the user named a provider or capability (Meshy, Tripo, Rodin, Tencent, and so on), find the matching node with search_nodes filtered by category: "partner/3d" (optionally add a q for the provider name). partner_generate returns only the output, never a workflow: if the user asked to BUILD or CREATE a workflow (not just for an output), skip partner_generate and continue to Step 1, wiring the matching partner node into the workflow you build. If a matching partner/3d/... node exists, try partner_generate first with type: "3d" and that provider's model slug, plus prompt and any optional fields (seed, medias[]). On success, return the artifact URL(s) and stop. If it returns "unknown model" or "not yet implemented", or says it "does not serve type" (3D has no partner_generate persist path today), continue below — the template path in step 1 does generate 3D on Comfy Cloud.

  1. Look for a template first. Call search_templates with tag: "Image to 3D" (image-to-3D is the common case), and/or q: "3d" for the broader set. If a suitable template comes back, clone it as your base workflow: swap in the user's input (such as the reference image) and adjust settings instead of building from scratch. Cloning a template is almost always faster than hand-wiring nodes, so spend real effort here before falling through to step 2.

  2. If no template fits, discover nodes structurally - do not free-text guess. Use search_nodes with its typed filters, which match against the live catalog:

    • output_type: "FILE_3D_GLB" (also MESH, FILE_3D_OBJ) to find nodes that produce a 3D file.
    • category: "3d" or category: "partner/3d" to browse the 3D nodes.
    • input_type: "IMAGE" to find what accepts an image, for image-to-3D.

    Use search_models for any checkpoints the chosen nodes require. Do not paste in remembered model or node names - query for them, because the set changes.

  3. If the user provides a reference image (image-to-3D), upload_file it first.

  4. Build a ComfyUI API-format workflow JSON, or edit the cloned template. A 3D workflow generally chains an input, a 3D generation or reconstruction node, and a 3D save/output node. Give EVERY node a _meta.title that names its role in plain words (e.g. "Load driving video", "Remove background", "Overlay graphic 1", "Save video"). The canvas shows these titles; without them the user sees only class names.

  5. Validate inputs and outputs before submitting. Confirm the workflow has:

    • at least one input node carrying the user's intent (a text prompt node, or LoadImage for image-to-3D), and
    • at least one save/output node wired to the final mesh. If you are unsure of the exact node, find it with search_nodes output_type: "FILE_3D_GLB".

    API and partner nodes often produce an output but include no save node by default. Add and wire one, or the job runs and produces nothing retrievable, wasting compute. Do not skip this check.

  6. Call submit_workflow. 3D generation can take longer than image generation.

  7. Poll get_job_status every 5 seconds until completed, showing brief status updates while waiting. If the user asks to cancel, use cancel_job with the prompt_id.

  8. Call get_output to retrieve the result. Pass a short description (for example "red sports car 3d model") so the saved file gets a descriptive name.

  9. Tell the user where the files were saved. 3D outputs may include mesh files (.obj, .glb), textures, or rendered preview images.

  10. If the user asked to BUILD or CREATE a workflow (not just for an output), after the run completes call save_workflow with the same JSON, a descriptive name, and overwrite: false — on a name collision choose a new name rather than replacing the user's existing workflow. Then call get_workflow_canvas_url with the workflow_id from the save result; if the save result omits workflow_id, find it with list_saved_workflows — never pass the filename (saved_workflow_filename publishes a PUBLIC share snapshot). If you ran a template with run_template, call get_template, apply the same input_overrides you ran with to that body (same node ids or slot paths; inputs you did not override keep the template defaults), and save_workflow the result instead, so the canvas matches the run. If you adjusted the run with submit_workflow + from_prompt_id reruns, apply each rerun's input_overrides on top, in run order, to whichever JSON you save (the built workflow or the template body), so the saved workflow matches the latest run rather than the first one. Give the user the canvas link. Mention that the saved layout is auto-generated and may need tidying. If you ran a subgraph template instead, tell the user the canvas shows one collapsed subgraph node and how to open it (double-click the node body, not its title, to step inside it, or right-click it and choose Unpack Subgraph to flatten it onto the canvas).

Read the full file on GitHub · 43 lines

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. 20d ago Changed db05e4704801
  2. 21d ago Changed · +2 lines f52924382796
  3. 1mo ago Changed · +2 lines 9ed4dc66dc15
  4. 3mo ago First seen · 39 lines · 10 tokens per session scan A 3e053ef7f976

Subscribe to this mod's changes

generate-3d is a command published in the GitHub repository Comfy-Org/comfy-skills (274 stars, last pushed today), licensed MIT. It adds 10 tokens to every session and 1,696 once invoked, about $0.0000 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-30.

Related

generate-3d compared with commands from other repositories

generate-3d next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
generate-3dComfy-Org/comfy-skillsCommand274todayMITA10Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code