# Generate Reusable Color LUTs With Photo Previews

Color-grading ideas are difficult to reuse consistently across photos and editing tools. Generate deterministic .cube LUTs with exact-file previews, saved recipes, and validation reports.

## Install

```bash
npx skillstore add kaiyihe699-max/generate-lut
```

## Metadata

- Status: approved
- Slug: kaiyihe699-max-generate-lut
- Version: 5.0.3
- Author version: 5.0.3
- Skillstore revision: r1
- Version status: valid
- Tree hash: cedf990cfaee9badc479faf7622bac8a47e5bfa60768022b2076e82b7276ce23
- Author: kaiyihe699-max
- GitHub username: kaiyihe699-max
- License: MIT
- Repository: https://github.com/kaiyihe699-max/codex-skills/tree/fd66ce63c565be666f5d1f5e8cf07cce348e7ffc/generate-lut
- Ref: 3913c2b9ae22544a87d4e12727218e854e68fcb2
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: env\_access, network, external\_commands, filesystem, scripts
- Quality score: 76
- Public page: https://skillstore.pages.dev/skills/kaiyihe699-max-generate-lut
- Manifest: https://skillstore.pages.dev/api/skills/kaiyihe699-max-generate-lut/manifest

## Capabilities

- Generate creative .cube LUTs from built-in presets or explicit contrast, saturation, warmth, exposure, curve, and RGB tint controls.
- Package a final LUT with exact-file photo previews, a replayable recipe, SHA-256 checks, validation results, and a ZIP archive.
- Blend normalized LUTs toward identity and apply a selected LUT to image folders while preserving source files.
- Bake ordered normalized LUT chains and generate technical transforms with explicit source and target color settings.
- Bake transforms from a user-supplied OpenColorIO configuration when PyOpenColorIO is installed.
- Check LUT structure and documented camera-profile constraints, including Panasonic DC-S9 Photo Style tags and card filename rules.

## Use Cases

- Create a Consistent Portrait Look: Build a restrained warm portrait grade, review the exact exported LUT on a sample photo, and save the recipe for later sessions.
- Compare Creative Looks for an Edit: Compare controlled LUT candidates on representative frames and bake a selected creative look after an explicitly defined technical conversion.
- Prepare a Camera LUT Handoff: Package a LUT with documented profile checks, Photo Style metadata, card filename validation, and an optional preview before testing camera import.

## Prompt Templates

### Try a Bundled Portrait

```
Use generate-lut on the bundled portrait sample. Create one soft warm look with a comparison, the exact previewed LUT, and its recipe.
```

### Grade a Personal Photo

```
Grade my supplied sRGB photo with warm highlights and slightly cool shadows. Keep skin restrained and export a size-33 LUT, previews, recipe, and validation.
```

### Compare and Reuse a Look

```
Create three variants from my saved recipe, varying only warmth and contrast. Compare them on my selected photo; package my chosen variant after review.
```

### Build a Camera Delivery Chain

```
Confirm the source and target encodings of my two supplied LUTs. Bake technical then creative, validate the result, and package it for DC-S9 FAT32 review.
```

## Limitations

- The default creative workflow handles ordinary 8-bit sRGB photos, not RAW development, automatic Log detection, or HDR grading.
- A single 3D LUT cannot encode grain, bloom, masks, or local adjustments, and cannot recover an exact reference-image grade.
- Numerical checks and camera profiles do not certify visual quality, accurate film emulation, or successful import on a physical camera.
- Photo previews require Python 3.10\+ and Pillow with LittleCMS; the optional OCIO workflow also requires PyOpenColorIO and a supplied configuration.

## Best Practices

- Confirm input encoding and destination settings before choosing a creative preset or technical transform.
- Review the exact exported LUT on representative photos at full application strength when strength is already baked in.
- Keep recipes and validation reports, inspect warnings, and use a new output name for each delivery.

## Anti Patterns

- Do not treat creative presets or Photo Style metadata as accurate camera conversion or official film emulation.
- Do not weaken only the preview while delivering the original stronger LUT.
- Do not treat synthetic charts, numerical validation, or profile checks as proof of visual quality or real-camera compatibility.

## Security Audit

- Audited at: 2026-11-13T07:29:29.287\+00:00
- Summary: All 121 static findings were adjudicated as false positives after contextual review. The three oversized LUTs were fully checked as normalized numeric data; other flags concern documentation, local packaging, image-format markers, and fixed test imports. No evidence found of credential theft, data exfiltration, malicious command execution, or prompt injection in the reviewed files.

## Stats

- Views: 0
- Downloads: 2
- Favorites: 0
- Popularity score: 0
