Stats
Actions
Tags
From light-process
Add a node to a light-process workflow. Use when the user wants to create a new container step, define I/O schemas, edit .node.json, or regenerate lp.d.ts helpers.
How this skill is triggered — by the user, by Claude, or both
Slash command
/light-process:add-nodeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A node is a Docker container with code files, an image, an entrypoint, and an optional I/O JSON Schema.
A node is a Docker container with code files, an image, an entrypoint, and an optional I/O JSON Schema.
{
"id": "fetch-data",
"name": "Fetch data",
"image": "node:22-alpine",
"entrypoint": "node index.js",
"setup": ["npm install --omit=dev"],
"timeout": 60000,
"input": {
"type": "object",
"properties": { "url": { "type": "string" } },
"required": ["url"]
},
"output": {
"type": "object",
"properties": { "data": { "type": "object" } }
}
}
entrypoint - shell command run inside the containersetup - commands run once before entrypoint (caches when possible)timeout - milliseconds, max 1h. 0 means use light-runner's 20-minute defaultinput / output - JSON Schema for editor autocomplete and runtime validationlight node info <dir> - show node configlight node register <dir> - add the node to its parent workflow.jsonlight node helpers <dir> - regenerate lp.d.ts from the I/O schema (run after manual edits to .node.json)light node schema <dir> - interactive prompts to edit input/output schema (also regenerates lp.d.ts)light node dev <dir> - generate .devcontainer/devcontainer.json from .node.json and open VS Code in the same image used in production. Add --force to regenerate<workdir>/.lp-output.json (JSON only). The helper (lp.js / lp.py) handles this.<workdir>/.lp-input.json (JSON-encoded by light-run, seeded as a file before the container starts). The helper exposes it pre-parsed as input.workdir defaults to /app. Override only if the image needs a different working directory.image required, 1-300 charsfiles required, at least 1 entry, keys relative, no .., max 1024 chars each (always populated by Node.setCode() / loadDirectory())entrypoint optional, 1-2048 charssetup <= 50 entriesLIGHT_RUN_BODY_LIMIT bumped on the runner sidenpx claudepluginhub enixcode/plugins --plugin light-processGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.