Logo Kiln Author Asset

Kiln Author Asset

Tổ chức
instruktlabs
kiln-author-asset

Create a procedural 3D asset with Kiln JavaScript, review useful camera views, refine saved source, and export a GLB.

Tổng quan

Nhà phát hànhinstruktlabs
Kho mãkiln
Tên kỹ năngkiln-author-asset
Sao
292
Bản fork
24
Tệp đi kèm
7
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 7 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được instruktlabs công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Kiln Author Asset trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/instruktlabs/kiln/tree/main/skills/kiln-author-asset
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/instruktlabs/kiln.git /tmp/kiln
mkdir -p .claude/skills
cp -r /tmp/kiln/skills/kiln-author-asset .claude/skills/kiln-author-asset
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Kiln Author Asset trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Kiln Author Asset ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Kiln Author Asset với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Author a Kiln asset

Match the user's scope. A standalone asset needs no project, inventory or design profile. Omitted project selection stays standalone unless KILN_PROJECT was explicitly configured (kiln_discover capabilities shows it); CLI --no-project or MCP projectId: null overrides that default. For project configuration or library materials, including standalone material use, read the project and material workflow, and use the same exact pins on later render, edit, inspect and save calls: a programRef alone selects no project and reconstructs no material context. Project preferences do not establish trusted requirements.

Live Review observes standalone and project operations without controlling the agent. When kiln_review is available, its save action retains the exact completed operation using the displayed expectedRevision, without another evaluation; pinning does not pause execution, and review annotations are not QA acceptance. Consult the tools' current schemas; optional host capabilities must not be assumed present.

Read the program contract when writing source. kiln_discover({}) gives a compact orientation: current families and tags, the starting createRoot/createPart signatures and six entry summaries. Search with kiln_discover({ query }) in ordinary modeling language (curved hollow tube, slats along a line, braced legs, cast iron): the catalog indexes operations, assemblies, recipes and materials rather than object classes, so name the parts and materials. Fetch complete contracts and examples with { ids: ["loftProfiles", "createPart", "createClip"] }, up to six exact, case-sensitive IDs or executable names; copy recipe IDs from results (recipe:material-wood-v1 or material-wood-v1), and a material recipe's summary names the materialRecipe("kiln.material.wood.v1") call to use. Narrow with family, kind: "operation" | "assembly" | "recipe" or tags from the overview, and follow nextOffset with offset. Request { capabilities: true } separately for the runtime, source, export and camera contract. Read the contract before treating a search match as support; a match in explanatory text can concern a limitation. Recipes are optional guidance, and custom geometry remains available.

Make the asset

Take subject, scale, style and destination constraints from the request, not examples or recipes. Build a recognizable silhouette and meaningful construction details. Name parts by their role. Use metres, +X forward, +Y up, +Z right; ground contact normally sits at Y=0. Forward is the direction the object faces: a bench's sitter faces +X, so its backrest sits toward -X. Part rotation is in degrees and follows the right-hand rule in this frame: [0, 90, 0] turns forward (+X) toward -Z, the object's left; [0, 0, 90] tips +X up to +Y; [90, 0, 0] rolls +Y toward +Z.

Unless exact reconstruction is requested, use reference images to align silhouette, materials and art direction alongside the written brief, not as a requirement to copy every detail. Resolve functional dimensions explicitly. For usable openings, seats and articulated joins, use the interface guidance in geometry recipes.

For Blender, Unity or an FBX handoff, read the engine handoff guide, references/engine-handoff.md in the kiln-qa-asset skill. Prefer direct GLB import; the established exporter remains the default, and the guide explains when an explicitly identified experimental comparison is useful. Preserve the baseline output, report the selected backend and destination checks, and do not change global host settings silently.

Write ordinary JavaScript with meta and build(). Keep dimensions that should change together in named parameters. Use geometry recipes for freeform surfaces, deformations, lofts, Boolean materials, or repeated parts. A model can author its own equations and topology; it does not need to assemble everything from boxes. Build one tier unless the brief asks for level-of-detail tiers; when it does, name and declare them as levels of detail describes.

For connected assemblies, derive mating points from shared dimensions in the same local frame. Identify the intended neighbor at each end of a support, and separate those joints from nearby parts that need clearance. beamBetween uses the endpoints you supply; it does not find the frame (Discovery's joined-frame recipe shows the pattern). A centerline wheel uses side: 'center'; wheel side describes placement identity, not single- or double-sided fork design.

Submit code once to kiln_render or kiln_validate, then retain its programRef, including on a failed build; in a generated asset workspace, node kiln.mjs source asset.kiln.js imports a file directly. Copy the returned reference exactly for later views and edits: built-in stores return short handles such as p_7c94a132b8e0, and full SHA-256 references also work. Do not construct a handle or retransmit the program. A rejected build names its cause when Kiln can tell it and adds Source check: with the codes and lines kiln_validate finds (TEMPORAL_DEAD_ZONE, MATERIAL_RECIPE_OVERRIDE, UNSAFE_GLOBAL_ACCESS and others); fix those lines first.

For CLI camera files and PNG export, use camera commands.

Review what matters

For the joints or gaps the brief depends on, use kiln_inspect with measure: { mode: 'surface', from: { subject: { path: A } }, to: { subject: { path: B } } }, substituting exact returned part paths. Check each end of a support against its intended neighbor, including the fittings that attach it to the body; a fitting touching a cable or pin does not establish that the fitting itself is mounted. Check required gaps separately. Read measurement.status and the closest points alongside an in-context view. Zero can mean touching or intersecting, and a whole-assembly minimum may find an unrelated contact; keep unmeasured interfaces unverified even when structural QA passes. Batch up to 12 intended pairs with surfacePairs: [[A, B], [C, D]]. Each entry is an exact listParts path such as /Park%20Bench[0]/Bench[0]/Mesh_Seat[0], or an unambiguous node name as measure takes; createPart("Seat", ...) names its mesh Mesh_Seat. Read every surfaceMeasurements.results entry; status: partial includes failed or unfinished checks. Set image: false and omit camera controls for numeric checks after reviewing a relevant image.

Choose views that answer a question: a broad sheet establishes shape; a part-local view reveals a seam, underside or hidden attachment. Use the camera recipes for image count, exact part framing, explicit cameras and separate images. Read returned part paths instead of constructing them. The render response lists the first 24 part paths (every path that fits only with detail: "full") and partsTruncated when there are more; then use kiln_inspect({ programRef, image: false, listParts: { query: "part name" } }), which searches nested names and paths, and follow partListing.nextOffset with the same reference and query. Omit the query to list everything; add placement: true for world position, rotation, scale and bounds per part. A missing preview entry does not mean the part failed to export.

Inspect the actual images. Render on the default neutral grey backdrop first; only when a sheet you have seen shows a part merging with it, add backdrop to capture: light when the merging part is darker than the grey (near-black iron, dark wood), dark when it is lighter (near-white, pale grey, emissive), and read the echoed capture.backdrop. Check silhouette, proportion, orientation, attachment, and ground contact. If the request calls for a finished asset, repair concrete gaps visible at its intended viewing distance rather than stopping at a blockout. Do not repeat the same render without a new question or change.

Do not darken albedo to compensate for review lighting; preserve the intended material colour and check material-faithful GPU views and the destination renderer. Base colour is the factor multiplied by the texture; tinting both can darken the colour twice, so keep one neutral or choose the factor so their product in linear colour space equals the intended albedo.

For specified openings and travel limits, measure usable space including protruding teeth, fasteners or trim; nominal plate spacing alone does not establish clearance. For overall dimensions, use the rendered revision's bounds.size in metres, including projections and attached parts, and state separately when a measurement describes only a body or centerline. Source parameters are not measured extents.

viewFidelity.materialFaithful: false means geometry evidence, not verified PBR appearance; check the camera and fallback receipts too, and a GPU connection alone is not evidence that the requested view was used. In auto mode the first view that needs PBR shading starts a compatible local render service on demand, so node kiln.mjs service status showing no listener before that view is expected. Animation needs intermediate-pose review and interiors may need cutaway views. Use kiln_screenshot_animation for clip sampling, or in a CLI workspace node kiln.mjs animation RETURNED_REF --clip CLIP_NAME --phases 0,0.017,0.31,0.68,1 --views motion.png --render gpu --json (--render cpu for geometry only) and read the PNG; phases are fractions of clip duration and sample the exported animation without editing posed copies into source. Check poseBounds against requested ground clearance and dimensions at those poses, including tread and other protrusions; choose phases inside a geometric repeat, since quarter turns of 16 repeated lugs all show the same alignment. Sampled bounds do not prove continuous contact or collision safety.

Revise and deliver

CLI saves accept --model, --harness and --author for the same declared attribution as MCP. Keep requested and confirmed thinking effort distinct, identify any later model that refines the asset, and check the saved manifest's attribution and exact revision rather than the run log. A correction is a new saved child; the original record and history stay.

Report QA acceptance separately from delivery, including incomplete checks and unverified material appearance. Never use an unrendered edit or a previous image as evidence for the selected revision.

Read the export profile guide when choosing delivery files: the default editable ZIP for continued authoring, or the opt-in runtime GLB and metadata sidecar when its measured size benefit is useful. MCP kiln_export returns descriptors; kiln_export_to (if advertised) or node kiln.mjs export ASSET_ID REVISION_ID --format glb --out asset.glb writes files (--profile runtime for the runtime pair). Report the actual choices and preserve the canonical source; neither option establishes scene performance.

Read a bounded source region with kiln_source({ programRef, query: "dimensionOrPart" }). Copy an exact anchor into kiln_edit, batch related replacements, and continue with its new programRef. Rendering is on by default, and capture can keep the relevant framing. An applied edit can still fail to build, so inspect render.ok separately. The result opens with the new programRef and its parentRef, then ok, applied, what changed and next; its render is compact like kiln_render's and is enough to decide the next edit; ask detail: "full" only as a second look when every instance of a grouped finding matters.

When the collection tools are available, use them for delivery. A finished asset is not delivered until its accepted final reference is saved. The user chooses the destination when they name one; kiln_assets({ action: "collections" }) lists the configured IDs. Use project only as the fallback when the user gave no destination; use library for an explicitly requested cross-workspace library. Then call kiln_save({ programRef, name, collection, brief, description, attribution: { model, harness } }), passing the same backdrop as the sheet you accepted. The saved preview.png is the default six-view sheet drawn on the same route as kiln_render (preview.fidelity says which); capture shots are not saved with it, so keep the capture JSON that reproduces them, and a Live Review save keeps its reviewed capture instead. Record the actual model and harness when known, and omit unknown attribution rather than guessing. Saving returns the asset ID, revision ID and download resources for the exact GLB, source, preview and ZIP bundle; return those links through the host's resource interface and do not transcribe binary data.

After saving, call kiln_present when available with the exact collection, asset ID and revision ID; when the host confirms it rendered the interactive result, the handoff is complete. Otherwise hand over the returned download URLs or kiln:// resources through the host's resource reader. The local viewer, node kiln.mjs view --collection COLLECTION --asset ASSET_ID --revision REVISION_ID, is optional and for a person who is present: offer it, or start it when the user asks and you have a terminal, never as a step of a headless or unattended run, since a viewer process keeps the session open. Never invent HTTPS URLs or claim native attachment support without evidence.

Save at meaningful completion points, not after each draft or camera change. Retain source revisions while working. For direct filesystem exports without collection tools:

sh
node kiln.mjs source RETURNED_REF --out asset-v1.kiln.js
node kiln.mjs render RETURNED_REF --out asset-v1.glb --views asset-v1.png

Replace RETURNED_REF with the final reference returned by Kiln. Keep .kiln/programs, including its mappings, while using saved references. Pass --out whenever you want a GLB: render with neither --out nor --views writes out.glb in the current directory.

Use render --json for the source reference, requirements, paths, fidelity and compact review (--detail full only for a closer look). Read images separately. Check ok and files on every export, even when redirected; a later command can hide failure. Deliver source, GLB and bundles from the same final reference or revision.

To save a chosen camera view, write the capture object to cameras.json and run node kiln.mjs render RETURNED_REF --capture cameras.json --views hero.png, the same camera schema and pipeline as MCP; the CLI is the route that writes review PNGs to disk. With "output": "separate" it writes hero.shot-01.png, hero.shot-02.png and so on and lists each in files; add --backdrop light or dark when the grey hides the silhouette. Do not copy image base64 into shell commands.

Source export refuses to overwrite a file. Report the source and GLB, important design choices, what you reviewed, and any unresolved limitation. Validation does not establish visual quality or destination-runtime performance. There is no default triangle target; measure geometry, draw calls, textures, and loading against the user's actual constraints. In render metrics, materials counts material slots (one per mesh, roughly the draw count) and distinctMaterials counts the materials themselves.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Kiln Author Asset làm được gì?

Create a procedural 3D asset with Kiln JavaScript, review useful camera views, refine saved source, and export a GLB.

Vì sao nên dùng Kiln Author Asset trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Kiln Author Asset là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Kiln Author Asset trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/instruktlabs/kiln/tree/main/skills/kiln-author-asset. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Kiln Author Asset?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Kiln Author Asset với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Kiln Author Asset với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Kiln Author Asset có miễn phí không?

Có. Kỹ năng này được instruktlabs phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇