/layer:layer-workflow-importfrom Layer
Imports workflows from other tools into Layer Blueprint format. Handles exported files, node-graph JSON, screenshots, or prose descriptions by translating intent into Layer nodes.
Ships in Layer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read what the source does, rebuild it from Layer's node kinds, and hand the whole graph to
import_workflow. The result is always private; sharing is a separate step in the Layer app. To run
a workflow that already exists, use layer-workflows. The spend gate and polling rules live in the layer skill.
If a sibling skill named here is missing from your available skills, ask the user to install it
(npx skills add layerai/skills --skill <name>); unattended, proceed from tool schemas and flag the
gap.
Other tools expose the machinery; Layer exposes the task. A low-level text-to-image graph is a model loader, a text encoder per prompt, an empty latent, a sampler and a decoder. In Layer that is one generate node. Read what goes in, what each step does, and what comes out, then use the fewest Layer nodes that do the same job.
How to read an unfamiliar source, and what common node patterns mean, is in references/sources.md.
| Step | Tool | Notes |
|---|---|---|
| Learn the parts | get_blueprint_system_config | Node kinds, their ports and value schemas. Call once, reuse. |
| Pick models | list_base_models, get_base_model | Discover by use case. Never copy the source's model name. |
| Sample files | request_file_upload_url or upload_file | Only for the proof run: a file input's value is a file_id. |
| Check the graph | import_workflow with validate_only: true | Creates nothing. Fix every problem it reports. |
| Import | import_workflow | Publishes privately by default so it can run. |
| Prove it runs | estimate_workflow_price, execute_workflow | Run shape as in layer-workflows. Poll get_workflow_run. |
| File it | list_projects, then project_id on import | Optional: land the workflow in a project for review. |
graph is an open object with three maps: inputs (parameter key to input parameter), nodes (node
id to node) and outputs (parameter key to output parameter). No public surface defines the fields
inside them, so do not assume a shape. Node kinds, port keys, port types and value schemas come from
get_blueprint_system_config; validate_only names whatever is missing or misnamed.
There is no edge list. Whatever is fed names its source in refs, {"_default": [...]}, holding
nodes::<node id>[<kind key>]::<port key> for a node output or blueprint::<input key> for a
workflow input.
An output of type A may feed an input of type B only when A equals B or (A, B) is a casting rule. A
rule carrying a transformer is blocked, not allowed: insert the named transformer node kind between
the two and wire through it.
Static values must conform to their type's JSON schema in the system config. Where a port selects a
model, discover it with list_base_models filtered by the use case that node serves.
get_blueprint_system_config for the workspace.import_workflow with validate_only: true. The result groups problems by
node, input and output. Fix and repeat until is_valid is true.import_workflow for real, with a clear name and a description that says where it came from.
Pass project_id when the user wants it filed in a project.estimate_workflow_price, confirm above 20 CUs, then
execute_workflow with a session_name and poll. A graph that validates can still produce the
wrong thing; look at the output.publish: false keeps a draft instead of a runnable workflow, and is accepted even with validation
problems. Use it only when the user wants to finish the graph by hand in the editor.
"Import this workflow." The user attaches a node-graph JSON: a top-level nodes list and a links
list of [link, from node, from slot, to node, to slot].
get_blueprint_system_config, then pick generate-image and upscale node kinds whose ports fit. If
the generate kind has a style port, check list_reference_sets for a pixel-art set; otherwise
fold the style into the prompt.list_base_models with the text-to-image use case; take the first result for the generate node.prompt; the generate node's prompt port refs blueprint::prompt; the upscale
node's image port refs nodes::<generate id>[<generate kind>]::<image port>; an output refs the
upscale node's output.validate_only reports the upscale node's image port as the wrong type. The casting rule for that
pair carries a transformer, so it is blocked: insert that transformer node kind and wire through it.session_name and a sample prompt, poll, and check the
image is upscaled and pixel-styled.base_model_id.graph instead of taking them from the system config and validation.transformer instead of routing through that node kind.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub layerai/skills --plugin layer32 skills in this plugin
/layerUse when generating or editing game and entertainment assets on Layer through MCP: images, video, 3D meshes, audio, sprites, textures, or marketing creative. Also when choosing a Layer base model, pricing a run in Creative Units before spending them, uploading reference files, polling a generation, applying a trained style, or recovering from MODEL_NOT_FOUND, INSUFFICIENT_BALANCE, RATE_LIMITED, or a silently degraded reference set./layer-3dUse when producing 3D assets with Layer: generating a mesh from text or an image, retopologising or remeshing, retexturing an existing mesh, rigging a character, or animating a rigged mesh. Also when choosing between quad and triangle output, setting a polygon budget, or asking for PBR textures for a game engine. Keywords: 3D, mesh, model, text to 3D, image to 3D, remesh, retopology, retexture, rig, skeleton, animate, PBR, quad mesh, poly count, glTF, FBX./layer-art-directionOther plugins' skills for the same job