본문으로 건너뛰기
cccskills
무료GitHub에 공개

open-model-workbench

Open a ready-to-use local 3D model composition workbench for GLB or GLTF files. Use when the user says "打开模型工作台", asks to place, rotate, scale, arrange, or frame one or more 3D models, or needs a clean composition screenshot before website or Image 2 design. If the user has not supplied a model, request GLB/GLTF files first; after models are available, generate the workspace, start its localhost server, and open it automatically.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(25)

  • SKILL.md3.3 KB
  • .gitignore65 B
  • agents/openai.yaml293 B
  • assets/workbench/composer.css8.4 KB
  • assets/workbench/composer.js18.5 KB
  • assets/workbench/index.html6.1 KB
  • assets/workbench/vendor/controls/TransformControls.js48.2 KB
  • assets/workbench/vendor/draco/draco_decoder.js702.5 KB
  • assets/workbench/vendor/draco/draco_decoder.wasm279.0 KB
  • assets/workbench/vendor/draco/draco_wasm_wrapper.js57.4 KB
  • assets/workbench/vendor/loaders/DRACOLoader.js17.4 KB
  • assets/workbench/vendor/loaders/GLTFLoader.js112.2 KB
  • assets/workbench/vendor/LUCIDE-LICENSE.txt3.1 KB
  • assets/workbench/vendor/lucide.min.js388.1 KB
  • assets/workbench/vendor/THREE-LICENSE.txt1.1 KB
  • assets/workbench/vendor/three.core.min.js372.0 KB
  • assets/workbench/vendor/three.module.min.js346.8 KB
  • assets/workbench/vendor/utils/BufferGeometryUtils.js34.7 KB
  • references/config-schema.md2.1 KB
  • scripts/generate_workbench.py14.3 KB
  • scripts/launch_workbench.py9.2 KB
  • scripts/serve_workbench.py1.8 KB
  • tests/browser_check.mjs11.6 KB
  • tests/test_generate_workbench.py5.2 KB
  • tests/test_launch_workbench.py2.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Open Model Workbench

Turn user-provided GLB/GLTF files into a self-contained desktop composition workspace. Keep this task separate from point-cloud rendering or landing-page generation.

Activation Flow

  1. Inspect the current request, attachments, and explicit local paths for .glb or .gltf files.
  2. If no model is available, ask only: 请提供一个或多个 GLB/GLTF 模型文件。 Stop until the user provides them. Do not create placeholders and do not ask for design details.
  3. Once at least one model is available, choose an output folder outside the model source and the installed Skill. Prefer <project>/model-workbench-output.
  4. Run the launcher with every supplied file or one directory containing the models:
python "<skill-dir>/scripts/launch_workbench.py" "<model-or-directory>" --output "<output-dir>"
  1. Read WORKBENCH_URL from stdout. Confirm it returns HTTP 200 before reporting success.
  2. The launcher opens the system browser by default. When a browser-control surface is already available, pass --no-open and navigate that browser to WORKBENCH_URL instead.
  3. Return the clickable URL and the generated output path. Do not continue into website design unless the user asks.

Interaction Contract

  • Drag the selected model directly in translate mode.
  • Press E to toggle translate and local-axis rotate modes.
  • Press F to move the selected model to the stage center while preserving rotation.
  • Press G to restore the selected model's initial rotation while preserving position.
  • Use the object list to select among multiple models.
  • Use numeric position/rotation controls and the scale slider for precise placement.
  • Export a clean PNG capture and model-workbench-layout.json from the top toolbar.

Input Rules

  • Accept one or more .glb or .gltf files and directories containing them.
  • Copy source models and local GLTF dependencies; never modify, rename, or delete the originals.
  • When one directory contains composer.json, honor it. Otherwise discover all models automatically and spread them along the X axis.
  • For custom initial transforms or capture dimensions, read references/config-schema.md.

Runtime Rules

  • Serve only on 127.0.0.1; never expose the workbench to the network by default.
  • Use HTTP, not file://, because ES modules and GLTF loading require a local server.
  • Reuse a healthy existing server for the same output directory. Choose a free port when starting a new server.
  • Do not claim the workbench is open until its URL responds successfully.
  • Keep the generated workspace self-contained and offline: models, Three.js, loaders, Draco, controls, and icons must all be local.

Direct Generation

Generate files without launching a server only when explicitly requested:

python "<skill-dir>/scripts/generate_workbench.py" "<input-dir>" "<output-dir>"

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

이 스킬의 문제 신고