Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

nodetool-sketch

БесплатноБез исполняемых скриптовНе проверен

Build, edit or render a NodeTool sketch (image document): layers, blend modes, placed images, generation briefs, PNG and PSD output, version history.

nodetool-aiот nodetool-ai★ 674 звезды на GitHub

Об этом скилле

Work a NodeTool sketch

A sketch is an image document: a canvas, a stack of layers, and the bindings that say where a layer's picture comes from. It is the surface for composited stills, masks, overlays and the guided image brief. One finished image with no layers to keep is generate_image, not a sketch.

The document is layers and references. Headless tools never paint. Painting happens in an open editor (the ui_sketch_* tools below), generation happens in a workflow run or through the image tools. An image lands on a layer by reference, so nothing inlines a bitmap. render_sketch is the one headless tool that reads pixels: it composites the document and saves the result.

The loop

  1. Find it. list_sketches, then get_sketch. New one: create_sketch {name, width?, height?, background_color?, project_id?} gives a blank canvas (1024×1024, #ffffff by default).
  2. Edit the stack. edit_sketch {image_document_id, ops: [...]}. Operations run in order against the stored document and the result is saved. An open editor picks the change up live.
  3. Validate. validate_sketch {image_document_id} or an inline document.
  4. Look. render_sketch {image_document_id} and view_image the result.
  5. Snapshot before a destructive pass with create_sketch_version.

edit_sketch ops

Op Does
add_layer {name?, type?: "raster"|"mask", index?, image?, x?, y?, width?, height?}. An image field makes this one op instead of two
remove_layer, rename_layer, duplicate_layer, reorder_layer Stack management
select_layer Sets the active layer
set_layer_props opacity, blendMode, visibility, lock
set_layer_image Points a layer at an asset id, an asset:// locator, a data: URL or an http(s) URL
resize_canvas Positive integer width and height
set_setup The generation brief: brief, use_case, variations (1..8), stage. Renders nothing

target is a layer id, a layer name, or "active". Layer index 0 is the bottom of the stack. use_case is one of scene, product, portrait, key-art, social, logo, concept, texture, and it also sets the canvas size. stage is where the guided flow resumes: idea, useCase, review, look, or done for the plain editor.

An asset id that resolves to nothing is refused rather than stored, because a stored one shows up as an empty layer.

With the sketch open in a browser, the ui_sketch_* tools act on the live canvas, and only they touch pixels: ui_sketch_get_state, ui_sketch_place_image, ui_sketch_stroke, ui_sketch_fill, ui_sketch_gradient, ui_sketch_draw_shape, ui_sketch_adjust_layer, ui_sketch_transform, ui_sketch_crop, ui_sketch_merge_down, ui_sketch_flatten_visible, ui_sketch_get_layer_image, ui_sketch_generate and ui_sketch_render_to_asset.

Vector layers

The editor imports self-contained SVG files as vector layers. Each layer keeps its SVG source in the document. Use the vector inspector to edit SVG source, download it, or rasterize the layer for painting. Moving and transforming a vector layer preserves its source. Rasterization is undoable. Example sketches open with vector layers.

SVG scripts, embedded HTML, animations, external images, and stylesheets are removed on import. Use presentation attributes for fills, strokes, and text. The headless stack operations can preserve existing vector layers. Creating or editing SVG source currently requires the editor.

The guided brief

set_setup writes the one-line brief. refine_image_brief {image_document_id, provider?, model?} expands it into the five fields an image model needs (subject, composition, lighting, style words, and what to leave out) and stops at the review step. It creates no layer and starts no generation. It is the cheap text pass a person edits before anything is rendered.

Once the fields read right, put pixels on a layer in two calls: generate_image saves the result as an asset and returns its asset:// URI, then edit_sketch with add_layer {image} or set_layer_image {target, image} places it. Generation spends provider money, so confirm the count with the user before rendering several variations.

Rendering

render_sketch {image_document_id | document, format?, width?, height?, background?, layer_id?, mask?} composites the sketch with the editor's own rules (visibility and groups, opacity, blend modes, transforms, effects, vector layers, placed images) and saves an asset. format: "png" (the default) is the flattened image, transparent unless background is set. layer_id renders one layer alone, without its opacity or blend mode, and mask: true renders the inpainting mask. format: "psd" is a layered Photoshop file at the canvas size, one layer per sketch layer with groups kept. Each row of layers says whether the layer was drawn and, when an image could not be read, why.

To use the finished co

Полный SKILL.md на GitHub

Установить nodetool-sketch в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл nodetool-sketch?

Build, edit or render a NodeTool sketch (image document): layers, blend modes, placed images, generation briefs, PNG and PSD output, version history.

Как установить скилл nodetool-sketch?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл nodetool-sketch запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить nodetool-sketch с