layer-workflow-import
Layer Workflow Import
Overview
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.
Translate intent, not nodes
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.