Skip to content

Configuration

Brook Li edited this page Oct 16, 2026 · 1 revision

Configuration

Environment variables

Variable Used by Effect
CODE_EDITOR Inspector (inspector.mjs) IDE command or absolute path; tried first, then cursor, then code, with -g file:line:1
HTML_PROTOTYPE_PACK_ROOT resolve/list/validate scripts Extra pack roots (path-delimiter list)
HTML_PROTOTYPE_PACK_REGISTRY install-pack.mjs Registry URL or local path
HTML_PROTOTYPE_PACK_SOURCE install-pack.mjs Tarball base URL (<base>/<ref>.tar.gz), e.g. a mirror

<skill-root>/.env

Read by the author server at startup; existing env vars win. Template: .env.example. Do not commit .env.

CODE_EDITOR=cursor
# CODE_EDITOR="C:\\Users\\you\\AppData\\Local\\Programs\\cursor\\Cursor.exe"

URL parameters (prototype page)

Param Effect
scene=<id> Activate a declared scenario
collapsed=1 Collapse the annotation rail
product-only=1 Hide all author overlays and badges

Sketch board: /sketch/?pack=<id>.

Files

  • Pack install metadata is written into the installed pack directory (origin local vs remote drives overwrite protection).
  • Registry: .html-prototype/packs/registry.json and the bundled fallback must stay identical to generator output.

Clone this wiki locally