Lightroom-Presets: Instructions file for Codex

AGENTS.md

Lightroom-Presets AGENTS.md is an instructions file for Codex, OpenCode from peva3/Lightroom-Presets. It costs 2,299 tokens per session, scanned A, original, MIT.

A project guide for maintaining 48 Adobe Lightroom XMP presets, which are saved settings that change how photos are rendered. It documents known colour problems, including an unwanted near-black-and-white effect with one boosted colour, and the original working files.

In plain words
What is it for?
Understanding the preset categories, diagnosing colour and calibration problems, comparing changes with original XMP files, and maintaining the Lightroom preset collection.
Why use it?
It preserves the findings and fixes needed to avoid repeating preset changes that damage colour rendering. It also points maintainers to older files that still work correctly.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is peva3/Lightroom-Presets's own configuration. It tells Codex and OpenCode how to work on Lightroom-Presets itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Lightroom-Presets configures →

Reuse

Borrowing it

Nothing to install: this file belongs to peva3/Lightroom-Presets. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/peva3/Lightroom-Presets/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/peva3/Lightroom-Presets

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Lightroom-Presets AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/peva3/lightroom-presets/agents-md/github.svg)](https://agentmods.dev/instructions/peva3/lightroom-presets/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/peva3/lightroom-presets/agents-md"><img src="https://agentmods.dev/badge/instructions/peva3/lightroom-presets/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Lightroom-Presets AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/peva3/lightroom-presets/agents-md"><img src="https://agentmods.dev/badge/instructions/peva3/lightroom-presets/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,299 This file is loaded in full into every session.
When invoked 2,299 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.02299 $0.02299
Opus 5.5 $0.00920 $0.00920
Sonnet 5.5 $0.00460 $0.00460
Haiku 4.5 $0.00230 $0.00230

Measured 17d ago against content hash 6bdfcd771d44, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Lightroom-Presets AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 102 lines

How it starts

The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project: Lightroom Presets (peva3/Lightroom-Presets)

Overview

48 XMP Lightroom presets across 4 categories:

  • Color Negative (16): Film stock emulations — Portra, Gold, Ektar, Fuji, etc.
  • Black White (6): Tri-X, HP5, Delta 3200, Acros, T-Max 3200, Ricoh HC
  • Slide (4): Kodachrome 64, Velvia 50, Astia 100F, Ektachrome E100
  • Creative (22): Cinestill, bleach bypass, cyberpunk, VHS, WKW, etc.

Critical Findings: XMP Color Issues

The "B&W with one color" bug

Multiple presets were creating a selective-color effect (near-monochrome with one boosted hue). Root causes identified:

  1. Vibrance >> Saturation gap: When Vibrance - Saturation > 10, Lightroom desaturates globally (via Saturation) then selectively boosts midtones (via Vibrance), creating a selective-color effect. Fix: Keep Vibrance within 5 points of Saturation, or remove Vibrance entirely.

  2. Calibration panel (CalibrationRedHue/Sat, CalibrationGreenHue/Sat, CalibrationBlueHue/Sat): The original working XMPs had ZERO calibration values. Adding calibration shifts global primary interpretation, which compounds unpredictably with HSL + split toning. Fix: Remove calibration entirely unless absolutely needed.

  3. Temperature/Tint: Original XMPs had no WB adjustments. Adding WB shifts before HSL/split toning creates color conflicts. Fix: Use only for presets where WB is a defining characteristic (e.g., Ultramax's warm cast). Remove from generic film emulations.

  4. Extreme HSL saturation (> |60|): Nukes entire color channels. Fix: Cap at ±60.

The retuning disaster

The intermediate "retune all 48" commit (339fe11) made presets far too aggressive. The fuzzy-merge agents compounded this by adding Calibration, Temperature/Tint, and extreme Vibrance values from aggregated community recipes. The result was presets with 55-68 attributes that looked broken on real photos.

Original working XMPs (old/ folder)

The old/ directory contains the reference versions. They are SIMPLE — 8-15 attributes each, no calibration, no WB adjustments, no extreme values. They prioritize subtlety over "pop."

Read the full file on GitHub · 102 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +4 lines · +428 tokens per session 6bdfcd771d44
  2. 2mo ago First seen · 98 lines · 1,871 tokens per session scan A 459f5da82324

Subscribe to this mod's changes

Lightroom-Presets AGENTS.md is an instructions file published in the GitHub repository peva3/Lightroom-Presets (104 stars, last pushed 17d ago), licensed MIT. It adds 2,299 tokens to every session, about $0.0092 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Lightroom-Presets AGENTS.md compared with instructions from other repositories

Lightroom-Presets AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Lightroom-Presets AGENTS.mdpeva3/Lightroom-PresetsInstructions file10417d agoMITA2,299Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot