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.
git clone --depth 1 https://github.com/Comfy-Org/comfy-skillsWrote 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.
[](https://agentmods.dev/commands/comfy-org/comfy-skills/generate-3d)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
-
Look for a template first. Call
search_templateswithtag: "Image to 3D"(image-to-3D is the common case), and/orq: "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. -
If no template fits, discover nodes structurally - do not free-text guess. Use
search_nodeswith its typed filters, which match against the live catalog:output_type: "FILE_3D_GLB"(alsoMESH,FILE_3D_OBJ) to find nodes that produce a 3D file.category: "3d"orcategory: "partner/3d"to browse the 3D nodes.input_type: "IMAGE"to find what accepts an image, for image-to-3D.
Use
search_modelsfor any checkpoints the chosen nodes require. Do not paste in remembered model or node names - query for them, because the set changes. -
If the user provides a reference image (image-to-3D),
upload_fileit first. -
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.titlethat 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. -
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.
-
Call
submit_workflow. 3D generation can take longer than image generation. -
Poll
get_job_statusevery 5 seconds until completed, showing brief status updates while waiting. If the user asks to cancel, usecancel_jobwith the prompt_id. -
Call
get_outputto retrieve the result. Pass a shortdescription(for example "red sports car 3d model") so the saved file gets a descriptive name. -
Tell the user where the files were saved. 3D outputs may include mesh files (.obj, .glb), textures, or rendered preview images.
-
If the user asked to BUILD or CREATE a workflow (not just for an output), after the run completes call
save_workflowwith the same JSON, a descriptivename, andoverwrite: false— on a name collision choose a new name rather than replacing the user's existing workflow. Then callget_workflow_canvas_urlwith theworkflow_idfrom the save result; if the save result omitsworkflow_id, find it withlist_saved_workflows— never pass the filename (saved_workflow_filenamepublishes a PUBLIC share snapshot). If you ran a template withrun_template, callget_template, apply the sameinput_overridesyou ran with to that body (same node ids or slot paths; inputs you did not override keep the template defaults), andsave_workflowthe result instead, so the canvas matches the run. If you adjusted the run withsubmit_workflow+from_prompt_idreruns, apply each rerun'sinput_overrideson 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).
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.
- 20d ago Changed db05e4704801
- 21d ago Changed · +2 lines f52924382796
- 1mo ago Changed · +2 lines 9ed4dc66dc15
- 3mo ago First seen · 39 lines · 10 tokens per session scan A 3e053ef7f976
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.
generate-3d compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generate-3dComfy-Org/comfy-skills | Command | 274 | today | MIT | A | 10 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 153k | today | MIT | A | 14 | Claude Code |