lightcraft
БесплатноБез исполняемых скриптовНе проверенHeadless photo/RAW development with LightCraft (Lightroom-style develop controls, presets, export), provisioned on demand by pi-craft - exposure, colour…
от BlackBeltTechnology★ 357 звёзд на GitHubОб этом скилле
LightCraft — headless photo development
LightCraft is ArtCraft's RAW developer: non-destructive develop sliders plus an export encoder. pi-craft
provisions the headless lightcraft-cli on first use (no desktop app). Choosing between apps, the
discover → execute → save → verify loop and the MCP policy live in craft-studio.
What it is for / formats
Develops one photo → one exported file. Reads camera RAW (DNG, ARW, NEF, RAF…) and also plain png jpg tif
(verified with png and with DNGs from synth-merge; no real camera RAW was available here — use ffmpeg-made
images or synth-merge to try things). Exports jpg png tif webp avif jxl psd dng
(chosen by the -o extension). Edits live in a LightCraft library, not in a project file. Pixel editing
(layers, masks, compositing) is PhotoCraft; vector art is VectorCraft.
CLI dialect
pi-craft lightcraft exec <args…> passes the arguments to lightcraft-cli verbatim.
There is no describe and no --cmd flag — the dialect has two routes:
lightcraft-cli render <IN> -o <OUT> [--set CONTROL=VALUE]… [--settings F.json] [--preset ID] [--size N] [--quality Q] [--opt KEY=VALUE]…
lightcraft-cli run [--import PATH]… | [--demo] | [--library DIR] <command> [key=value | '{json}']… [<command> …]…
lightcraft-cli commands [--json] # every command id + params (626 lines)
lightcraft-cli controls [--json] # every develop slider id + range/default (122)
lightcraft-cli merge hdr|panorama|hdr-panorama [--preview OUT.png] FILES… # writes <first>-HDR.dng next to the inputs
lightcraft-cli synth-merge hdr|panorama -o DIR # synthetic DNG brackets / overlapping PNGs
renderis the one-shot route: develop one file, export it.--setis repeatable;--size Nis the long edge (default full size);--quality1–100 (default 92) for jpg/avif/jxl;--optpasses anyapp.exportoption (--opt colorSpace=displayP3,--opt bitDepth=16,--opt shortEdge=1080).runis the command route: a word without=starts the next command;key=valueare its parameters (JSON when parsable). It prints one JSON line per command and exits non-zero on failure. Chaindevelop.set control=<id> value=<n>,develop.auto, thenapp.export path=<abs> longEdge=<n>.- Presets are applied with
--preset ID(ids fromrun --demo presets.list, e.g.lc.bw-high-contrast,lc.warm-glow,lc.teal-orange) or thepreset.applycommand.--settings F.jsonmerges a partial settings object whose shape isdevelop.getoutput ({"light":{"exposure":1.5}}).
State between invocations
render keeps nothing: it reads <IN>, writes <OUT>, the original is never modified. run --import is also
throw-away; run --library DIR opens or creates a persistent library and saves edits there. Prefer render
and keep the slider values in your own notes/--settings file so a result is reproducible.
Discovery first
Slider ids and preset ids are data — read them, don't guess.
pi-craft lightcraft exec controls | grep -i -E "exposure|saturation|temp" # id label range (default)
pi-craft lightcraft exec commands | grep -A2 "^preset.apply" # command + params
pi-craft lightcraft exec run --demo presets.list # preset ids (JSON)
pi-craft lightcraft exec run --demo develop.get # settings object shape for --settings
Traps
- Out-of-range
--setvalues are clamped silently (light.exposure=99exits 0 and renders at the cap 5.0). Check the range incontrols. An unknown control id or preset id exits 1 (unknown control,unknown preset). --set light.exposure=0is a no-op: the result is pixel-identical to a render without--set. If a--frame-diff … >check fails, the edit changed nothing.-ois required and its extension must be a known one;render in.png out.jpgand-o noextfail withunexpected argument/unknown extension.- Without
--sizeyou get the full-size image (possibly cropped by the photo's own crop). pi-craft verify --frame-diffcompares luma: a pure colour shift (saturation, hue) or a B&W conversion of an image with similar luminance can read as ~0 % different. Prove colour edits with exposure/contrast, or by checking a derived property (see thebw-presetrecipe).mergewithout--previewwrites<first>-HDR.dngnext to the first input — copy inputs to a work dir first.--preview OUT.pngwrites only a ≤1024 px preview (nothing next to the inputs).runpaths:app.export path=wants an absolute path. The README mentions--connect/snapshot/UI methods: those need a running desktop app or a window — out of scope here.
MCP route (opt-in)
pi-craft lightcraft mcp --register writes a craft-lightcraft entry into .pi/mcp.json. The server is
unconfined (reads/writes any path), so it needs --allow-unconfined, and it exposes
Установить lightcraft в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл lightcraft?
Headless photo/RAW development with LightCraft (Lightroom-style develop controls, presets, export), provisioned on demand by pi-craft - exposure, colour grading, B&W, denoise, HDR/panorama merge, export to jpg/png/tif/webp. Use for "develop this RAW", "brighten this photo and export a jpg", "apply a black and white preset", "make an HDR from these brackets".
Как установить скилл lightcraft?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lightcraft запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic