/artcraft-skills:lightcraft-photosfrom artcraft-skills
Organises photo libraries and develops raw/JPEG photos non-destructively in LightCraft. Covers import, culling, rating, flagging, keywording, albums, stacks, smart albums, raw development, presets, HDR/panorama merge, batch export, contact sheets, and print layouts.
Ships in artcraft-skills. 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.
LightCraft is an open-source (alpha), non-destructive photo library and raw developer: library
(albums, folders, stacks, ratings, flags, labels, keywords, smart search), develop (light, colour,
curves, grading, detail, optics, geometry, masks, spots), presets/profiles, merge (HDR, panorama),
export (JPEG, PNG, TIFF, WebP, AVIF, JPEG XL, PSD flat, DNG, original + XMP), contact sheets, print
layouts, slideshows. Edits are a list of settings stored in the library catalog; the original files
are never rewritten. You drive it with the lightcraft MCP server (headless engine) or with
lightcraft-cli from Bash. This skill says what to do, in what order, and how to hand the result
to the user.
A shoot deserves its own look, not the feed's. Culling and organising are bookkeeping; the develop look is where you will drift to the preset average: one stock look pushed over every frame, milky blacks, a heavy vignette. A look that belongs to these photos comes from a reference outside photo apps, a limit on which controls you touch, virtual-copy alternatives the user chooses between, and a viewer who did not develop them. The photographer's own look or reference wins.
references/command-catalog.mdreferences/recipes.mdMCP tools (names as mcp__lightcraft__<tool>): helpers import, query_photos, select_photos,
list_controls, get_develop, set_develop, apply_preset, crop, render_preview,
render_photo, export, doc_inspect, and the generic list_commands (= command_list),
run_command (= command_run), command_batch. Every command is also a tool cmd_<id with . as _>
(~376 of them, e.g. cmd_photo_rate): ignore those, use run_command. All tools are deferred: load the
schemas you need with ToolSearch (select:mcp__lightcraft__run_command,mcp__lightcraft__list_commands,...
or query +lightcraft, max_results 30) before calling them.
list_commands {filter:"mask."} (or "keyword.", "album.",
"export.") returns id, label, params doc, enabled/disabled_reason. Never call it unfiltered
(376 commands). The params doc is authoritative; the installed build (0.15.x) can differ from docs.select_photos {ids, active}); set_develop/crop/export with an explicit id make that photo active and
replace the selection. get_develop, render_photo, render_preview don't change the selection.edit.undo/edit.redo, history.list); a slider burst is one step.isError:true with a readable message; a failed command changes nothing.
Params are strict: unknown or malformed values are errors (e.g. crop.aspect wants "16x9", not
"16:9"; develop.treatment takes {bw:true}; a wrong key like treatment is ignored and can
toggle instead, so read back with get_develop).activity.list when a desktop app is attached.Default registration: claude mcp add --scope user lightcraft -- /usr/bin/lightcraft-cli mcp (no --library).
Findings from the installed build (0.15.0):
--library means an in-memory session (library.info -> "persistent": false). Imports,
ratings, keywords and develop settings vanish when the MCP server exits. Fine for a one-off
"develop this photo and export it"; wrong for culling or organising work that must last.lightcraft-cli run --library DIR ... (CLI route,
below) or an MCP started with --library DIR. A library is a folder with catalog.snap,
catalog.log (append-only edit log), prefs.json, thumbnails; it references the photo files
in place (import mode:add, the default). The app's default library is ~/Pictures/LightCraft Library (seeded with demo photos on first launch). Never create or touch libraries the user did
not ask for: ask where the library should live, or whether the user already has one
(~/Pictures/LightCraft Library, or the last one the app opened). Tests and scratch work use a
library in a temp dir.--library blocks the CLI and the desktop app on that library, and
the other way round. To work with a library the app has open, the app must run with --control PORT
and the MCP/CLI must connect with --connect 127.0.0.1:PORT (not how the MCP is registered by default, so use
the CLI route, below, when the user wants the library seen in the app).export path, dir). Writes outside what the user can write give an OS
"Permission denied". export refuses to overwrite a catalogued original or its XMP sidecar.
Relative paths resolve against the server's working directory: always pass absolute paths.~/.config or ~/.cache (verified); settings folders only come from
the desktop app (LIGHTCRAFT_CONFIG_DIR relocates it).library.xmpPreferences {autoWrite}, off by default in a fresh library) or on request
(photo.saveMetadataToFile). Ask before writing sidecars into the user's photo folders.CLI route (persistent, scriptable, releases the library lock after each call):
LIB=/abs/path/to/library
lightcraft-cli run --library "$LIB" --import /abs/shoot \
library.selectAll photo.setMeta 'addKeywords=["trip","2026"]' \
library.select 'ids=[3]' develop.set control=light.exposure value=0.4 preset.apply id=lc.cinematic amount=60 \
app.export path=/abs/out/p3.jpg longEdge=1600 quality=85
Each word without = starts a command, key=value pairs follow (JSON when parseable, '{json}'
as a whole param object). One JSON line per command; exit status non-zero on a failure (--keep-going
continues). --script FILE takes JSON lines {"command":id,"params":{...}}. Selection state does
not survive between runs: select inside the same run. One-off: lightcraft-cli render IN -o OUT --set light.exposure=0.5 --preset lc.teal-orange --size 2000 develops and exports a single file with no
library at all (good for "just develop this raw").
mode:move
(it removes the originals after copying) or copy unless the user asked for that, and never
photo.rename (renames files on disk) or photo.deletePermanently / library.emptyRecentlyDeleted
without explicit consent. photo.delete only moves to Recently Deleted (reversible).photo.virtualCopy) that differ in tone, colour and contrast, put them in an album, show and open
it (section 7), then ask with the multiple-choice question tool (AskUserQuestion in Claude Code; else
a numbered list), multi-select for blends. Never pick for the user. This rule covers creative
directions, while technical options may carry a labelled recommendation. Inside a subagent, return
the options (album, virtual copy ids, preview paths, brief) to the orchestrator, which asks the user.
Sync only the chosen look.Scale the work: "brighten this photo" is set_develop + a preview, not a library project.
import {paths} (folders are scanned recursively, duplicates skipped, sidecars read).
Returns imported ids, duplicates, failed (a missing path is reported in failed, not as an
error). Check query_photos after importing mixed raw+JPEG folders: each file is a photo.query_photos to list (id, file, size, rating, flag, edited, keywords); look at
candidates with render_preview {id, max_side:900, format:"jpeg"} (small and cheap); then
photo.flag {flag:"pick"|"reject"|"none", ids}, photo.rate {rating:0..5, ids},
photo.label {label:"red|yellow|green|blue|purple|none", ids}. Pass ids explicitly (without it
the selection is used and advance may move it). Rejects are flags, not deletions.
library.findSimilar {id} groups near-duplicates; stack.auto {gap} stacks bursts by capture time
(preview:true first).photo.setMeta {ids, title, caption, creator, copyright, location, city, country, gps, keywords | addKeywords | removeKeywords}; keyword hierarchy via keyword.*
(keyword.create, keyword.rename, keyword.merge, keyword.suggest). Keep keywords specific
(subject, place, event), lower-case or consistently cased.album.create {name, folder:false, addSelected}, album.addPhotos {id, ids},
smart albums via album.createSmart + album.setRules (album.ruleFields lists fields).query_photos {filter}, or library.filter, which changes the app view):
{rating:3, ratingOp:"atLeast"|"exactly"|"atMost", flag:"pick", label, keyword, camera, lens, edited, kind, date, text}. Note minRating is not a filter key (silently ignored). text takes
the field syntax: rating:>3 flag:pick iso:>800 camera:x2 date:2026-04 keyword:mountains person:"Jane Doe". limit/offset page the result (default 200).library.source {kind:all|picks|recentlyAdded|album|libraryFolder|missing, id},
library.sort {key, ascending}. These change the view only.library.missing, photo.relink, library.findMissing; never assume a moved
folder means lost edits (edits live in the catalog).Controls are ids from list_controls (ranges in the catalogue): light.exposure (EV, -5..5),
light.contrast/highlights/shadows/whites/blacks (-100..100), wb.temp (Kelvin 2000..50000 for raw;
relative for JPEG) and wb.tint, color.vibrance/saturation, effects.texture/clarity/dehaze,
vignette.*, grain.*, detail.sharpen*/detail.nr*, optics.*, geometry.*, crop.angle,
mixer.<band>.hue|sat|lum, bw.<band>, grading.<zone>.hue|sat|lum. Set several at once with
set_develop {values:{...}}; deep-merge any partial settings JSON (as in get_develop) with
set_develop {settings:{...}, label}; reset with develop.resetControl/develop.resetSection/
develop.reset.
Order of operations (matches how the pipeline reads best and avoids fighting yourself):
crop {rect:[x0,y0,x1,y1], angle} or crop.aspect {aspect:"4x5"},
crop.autoStraighten, geometry.upright {mode} for architecture. Crop is just settings; reset with
crop {reset:true}.develop.profile {id:"lc.vivid"}, amount profile.amount), then
white balance (develop.wb {mode:"auto"|"asShot"|"daylight"|..., temp, tint}; neutralise casts
before stylising).develop.auto is a starting point (it can over-push: it gave contrast 68 on a plain
gradient), then exposure, highlights/shadows, whites/blacks. Recover blown highlights with
negative light.highlights (edge-aware, no halos) rather than lowering exposure.mixer.*; looks with grading.* (shadows/midtones/highlights wheels) or a preset at a reduced
amount (presets scale 0..200 %: apply_preset {preset:"lc.teal-orange", amount:60}).mask.add {kind:"linear|radial|brush|sky|subject|background|luminanceRange| colorRange"} then mask.adjust {id, values:{exposure,...}}; combine with mask.addComponent {op: add|subtract|intersect}, mask.invert; paint with mask.brushStroke {points,size,feather,erase}; Object/Describe kinds need an optional SAM 3 model that is
not bundled: they fail without it, tell the user instead of retrying). Spots: spot.findDust,
spot.add {mode:"remove|heal|clone|fill", points, size}; redeye.add.render_preview is downscaled; sharpening at full size is only visible in
an export), then vignette/grain as style.develop.treatment {bw:true} then bw.* mix (darken skies with bw.blue negative) and
grading for toning.develop.copy {groups} / develop.paste {ids, groups} or develop.sync (to the selection). Keep WB/exposure per photo, sync the look.
Exclude crop and masks unless they truly apply (default copy excludes crop, masks, spot removal).version.create {name} snapshots settings; photo.virtualCopy
gives an independent edit of the same file (e.g. colour + B&W) without duplicating pixels.lc.teal-orange or any
look preset at full amount; clarity, dehaze and shadows pushed together into grunge; masked skies more saturated than the light on the ground; lifted, milky blacks on every
frame; a heavy dark vignette by default; vibrance pumped until skin goes orange; one colour kept
on a black-and-white frame; develop.auto or one preset at 100 % across a shoot shot in different
light. Every slider you move should trace back to the brief, the reference or a limit.After each major step:
get_develop (confirm the values landed on the right photo: the active-photo
mix-up is the most common error), doc_inspect / library.state (selection, active, filter,
undo label), query_photos (rating/flag/keywords/edited).render_preview {id, max_side:1400, format:"jpeg"} returns an image you can see (png
default, max_side up to 4096); render_photo {id, size, path} also saves a file (path must not be a
catalogued original). Check clipped highlights/blocked shadows, halos around masks, banding in
skies, skin tones, colour casts, over-sharpening, noise, crop framing and horizon.beforeAfter.* in the app); fix with
edit.undo, develop.resetControl, or by adjusting the value; repeat.dir export (export {ids} is explicit and safest).--library DIR; each command is persisted to the catalog
log); in-memory sessions save nothing: export or write XMP before the session ends.export {path | dir, ids, format, longEdge|shortEdge|width+height|percent|megapixels, quality, colorSpace, bitDepth, metadata, naming, conflict, ppi, preset} (same as app.export):
jpeg quality 82-88, longEdge 1600-2400, colorSpace:"srgb", metadata:"copyright"
or "allExceptCamera" to strip location; webp/avif for smaller files.tiff 16-bit (bitDepth:16), colorSpace:"adobeRgb"/"proPhoto", longEdge:0 (full size),
ppi:300; soft proofing is not available, say so.format:"original" (copy + XMP sidecar with the edits), dng
(raw as DNG with edits embedded), rendereddng (baked 16-bit float DNG), psd (flat).longEdge:0 is full resolution; dontEnlarge
defaults to true. limitKb fits a JPEG under a size. Presets: export.presets (e.g. "JPEG
(Small)" 2048 q85, "JPEG (Large)" full q92, "Original + Settings").dir with naming:"{name}-web" (tokens {name} {seq:3} {date:%Y%m%d} {title} {camera} {rating}...), conflict:"unique" (default) | overwrite | skip. Result lists every file with
size and dimensions: report absolute paths.export.contactSheet {path, paper:"a4", columns, rows, captions} for a PDF proof sheet;
print.set / print.layout.autoLayout / print.exportPdf for print layouts.develop.hdr): hdr:true for gain-map JPEG / PQ AVIF.milan-0412-web.jpg), a dedicated output folder, never into the originals'
folder unless asked; a catalogued original is refused by design.merge.hdr, merge.panorama, merge.hdrPanorama write a DNG next to the first source
file (so a write into the user's photo folder: say so first).Every task ends here, after the verify loop and before final exports. The MCP/CLI session is headless, so the user cannot see the work until the real app opens the library it was saved in.
<project>/<job>-lightcraft-library). If you worked in an in-memory MCP session,
replay the final state with the CLI route (lightcraft-cli run --library DIR --import ...) or
export the result and say that edits themselves were not kept. Make sure no MCP session holds the
library lock (an MCP started with --library DIR does until it exits), otherwise the app cannot
open it. Also write flat previews/deliverable candidates if useful. Note the full absolute paths./usr/bin/lightcraft, lightcraft [OPTIONS] [FILES/FOLDERS...]; desktop entry ai.storyteller.lightcraft):
setsid lightcraft --library /abs/path/library >/dev/null 2>&1 &
Passing photo files or folders imports them into the opened library (so never pass the user's
originals with a different library than intended; with no --library the app opens its last or
default library, ~/Pictures/LightCraft Library, creating it with demo photos if absent).
Associated types (desktop entry): JPEG, PNG, TIFF, WebP, HEIC/HEIF, DNG and the Sony ARW, Canon
CR2/CR3, Nikon NEF, Fuji RAF, Olympus ORF, Panasonic RW2/RW, Pentax PEF raw MIME types; there is no
LightCraft-specific project file or MIME type, the library folder is the project. If the user
already has LightCraft running, a second launch on the same library fails with the lock message:
tell them the library is open there and, if edits were made by the CLI meanwhile, to reopen/refresh
it. Do not leave extra app instances you started running beyond the task if the user did not
ask for the app.--control), redo the verify loop for what changed, reopen/refresh, ask again.--library = in-memory: nothing persists. A library is open in one process at a time.~/Pictures
without being asked. import mode:move deletes originals after copying; photo.rename renames
files on disk; photo.deletePermanently and library.emptyRecentlyDeleted are irreversible.library.select/select_photos first, then verify with get_develop.develop.auto and presets are starting points; judge the preview and back off.previewOnly in query_photos); tell the user instead of promising raw quality.*.models.download, segment.model.download) without asking.edit.undo undoes the last action of any kind (ratings, metadata, albums, crop, develop): check the
undo label in doc_inspect before undoing.photo.moveToFolder, folder.create, photo.duplicate, photo.rename and merges write to disk
next to the originals: only on request.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dnviti/artcraft-skills --plugin artcraft-skills16 skills in this plugin
/artcraft-routerSelector for the ArtCraft skills: picks which ArtCraft skill(s) to load for a request and loads nothing else itself. Use when a creative request spans several ArtCraft apps (FigCraft, VectorCraft, DesignCraft, DeckCraft, PhotoCraft, LightCraft, FilmCraft, EffectCraft, SoundCraft, WordCraft, GridCraft, PdfCraft, CadCraft, SolidCraft) or when it is unclear which one fits: brand identity, landing page with custom icons, video with narration or animated titles, podcast from a script, magazine with retouched photos, report or deck with data, part plus drawing. Skip it when one skill clearly matches./cadcraft-drawingsDraft, dimension, annotate and plot 2D technical drawings in CadCraft (ArtCraft's AutoCAD-class 2D drafting app, driven through the `cadcraft` MCP server, tools mcp__cadcraft__*, or through `cadcraft-cli`). Use whenever the user mentions CadCraft or the cadcraft MCP tools, or asks for a 2D technical drawing: floor plan, site or room layout, elevation or section, mechanical/part drawing with dimensions, schematic or detail sheet, title block, layers, blocks, hatching, dimensions and annotations, plot or print to PDF at a scale (1:50, 1:100), or to open, inspect, fix, convert (DXF to DWG, SVG, PDF, PNG) or measure DXF/DWG files. Covers units and scale planning, layers, geometry, dimension styles, layouts and viewports, the render-and-verify loop, save/export and the mandatory show-and-approve phase. 3D parts (solid modelling, STEP/STL) belong to solidcraft-cad, vector artwork to vectorcraft-illustration, multi-page print layout to designcraft-layout./deckcraft-presentationsBuild and edit slide decks in DeckCraft (ArtCraft's PowerPoint-style presentation app, driven through the `deckcraft` MCP server, tools mcp__deckcraft__*). Use whenever the user mentions DeckCraft or the deckcraft MCP tools, or asks to create, design, restyle or edit a presentation, slide deck, pitch deck, keynote/talk, training or sales deck, or report-as-slides in/with DeckCraft (slides, layouts, themes, text, shapes, charts, tables, images, SmartArt, speaker notes, transitions, animations, .deckcraft/.pptx/.pdf output). Covers the outline, theme and layout choices, build, render-and-verify, save/export and the mandatory show-and-approve workflow. Not for cases where the user explicitly asked for another format or tool (a .pptx made with python-pptx, Google Slides, a Claude Slides artifact, PDF editing in PdfCraft, UI design in FigCraft)./designcraft-layoutLay out magazines, books, brochures, flyers, catalogues, designed annual reports and other multi-page print documents in DesignCraft (ArtCraft's InDesign-class layout app, via the `designcraft` MCP server or `designcraft-cli`). Use whenever the user mentions DesignCraft or the designcraft MCP tools, or asks for page layout or desktop publishing work: a magazine or book layout, spreads with facing pages, parent (master) pages, running heads and page numbers, columns and grids, paragraph/character styles, text flow across threaded frames, image placement, tables, table of contents, footnotes, bleed and crop marks, preflight, print-ready PDF/X, IDML/InDesign import/export, EPUB. Covers setup, parents, styles, content flow, render-and-verify and the mandatory show-and-approve phase. Single-flow documents (letters, reports, contracts) belong to wordcraft-documents, vector artwork and logos to vectorcraft-illustration, editing an existing PDF to pdfcraft-documents, UI design to figcraft-design./effectcraft-motionBuild motion graphics, animated titles, lower thirds, logo stings, kinetic typography, compositing and visual effects in EffectCraft (ArtCraft's After Effects-class compositor, via the `effectcraft` MCP server (mcp__effectcraft__*) or `effectcraft-cli`). Use whenever the user mentions EffectCraft or the effectcraft MCP tools, or asks for an animated composition, motion graphics, animated title/intro/lower third, keyframes, expressions, text animators, shape layers, particles, glow/blur/distortion, green-screen keying, rotoscoping, motion tracking, stabilizing, 3D cameras/lights, Lottie export, or to render a comp to MP4/ProRes/WebM/GIF/PNG sequence (with alpha); also .ecproj files. Covers comp, layers, keyframes, effects, frame-preview verify, render and the mandatory show-and-approve phase. Cutting/assembling footage on a timeline and colour grading belong to filmcraft-video, audio-only work to soundcraft-audio, still images to photocraft-images, static vector artwork to vectorcraft-illustration./figcraft-designDesign UI in FigCraft (ArtCraft's Figma-class design app, driven through the `figcraft` MCP server) and turn FigCraft designs into frontend code. Use whenever the user mentions FigCraft or the figcraft MCP tools, or asks to design a screen, app screen, mobile screen, landing page, dashboard, UI mockup, wireframe, design system, design tokens, color/text styles, variables, Light/Dark themes, components with variants, a clickable prototype or user flow; asks for a distinctive, unique, non-generic or 'not AI-looking' UI, a new product-UI visual direction, several divergent design directions to choose from or an art-director critique; or to implement, build, code up or hand off a FigCraft design (design to code, React, Tailwind, CSS variables, export assets/icons). Covers brief → divergent directions → tokens → anchor component → screens → screenshot-verify → adversarial review → prototype, with distinctive (non-generic) design as the default, and pixel-faithful implementation in the user's stack.Other plugins' skills for the same job