# Create Lut

> Programmatically generate or bake cinematic 3D LUTs (.cube).

- Skill: `majiayu000/create-lut` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/create-lut`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/create-lut/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/create-lut

---


---
name: create-lut
description: >
  Generate or bake cinematic 3D LUTs (.cube) from reference/source pairs or presets.
triggers:
  - create lut
  - generate lut
  - bake lut
  - 3d lut
allowed-tools:
  - Bash
  - Python
metadata:
  short-description: Create cinematic 3D LUTs (.cube)

provides:
  - create-lut
composes: [, task-monitor]
---

# create-lut

Programmatically generate or bake cinematic 3D LUTs (.cube).

## Usage

```bash
./run.sh bake --ref ref.png --source src.png --output match.cube
./run.sh generate --preset "fujifilm_sim" --size 33
```

## Contract

- **Input**: Image pairs (reference/source) or procedural parameters.
- **Output**: Single `.cube` (3D LUT) file.
- **Dependencies**: `colour-science`, `numpy`, `opencv-python`.

## Features

- **Match Grade**: Calculate a color transform between a reference frame (learned from a movie) and a generated frame.
- **Procedural Simulation**: Apply standard film stock mathematical models (e.g., Kodak 2383).
- **Identity Export**: Generate a clean neutral LUT for pipeline testing.

