darktable-mcp CLAUDE.md

darktable-mcp CLAUDE.md is an instructions file for coding agents from Caleb68864/darktable-mcp. It costs 877 tokens per session, scanned A, original, MIT.

Um ficheiro de instruções para trabalhar no darktable-mcp, um projeto que permite a agentes controlar o darktable, editor aberto de fotografias RAW.

In plain words
What is it for?
Orienta consultas à biblioteca do darktable, alterações de metadados, aplicação de estilos, exportações sem interface e criação de notas de investigação no Obsidian.
Why use it?
Indica onde encontrar a investigação existente, quais convenções seguir e que integrações estudar antes de alterar o projeto.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/caleb68864/darktable-mcp/claude-md
Clone the repo
git clone --depth 1 https://github.com/Caleb68864/darktable-mcp

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 darktable-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/caleb68864/darktable-mcp/claude-md.svg)](https://agentmods.dev/instructions/caleb68864/darktable-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/caleb68864/darktable-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/caleb68864/darktable-mcp/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 877 This file is loaded in full into every session.
When invoked 877 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00877 $0.00877
Opus 5 $0.00439 $0.00439
Sonnet 5 $0.00175 $0.00175
Haiku 4.5 $0.00088 $0.00088

Measured 4d ago against content hash cfad8e241de0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

darktable-mcp CLAUDE.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 4d 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.

CLAUDE.md · 61 lines

How it starts

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

dark-table-mcp

Goal: build an MCP server that lets AI agents drive darktable — the open-source (GPL) non-destructive RAW photo editor — for library queries, metadata edits, style application, and headless exports.

Research notes — read these first

All darktable research lives in the Obsidian vault, NOT in this repo:

C:\Users\CalebBennett\Documents\Notes\Caleb's Vault\Software\DarkTable\

Start at DarkTable MOC.md — it indexes ~100 atomized notes (one concept per note, filenames like DarkTable - <Concept>.md). Most notes carry an "MCP relevance" line.

Note conventions (follow when adding findings)

Any NEW darktable finding made while working in this repo goes into that Notes folder, not into this repo's docs:

  • One concept per note, filename DarkTable - <Concept>.md
  • YAML frontmatter: tags: [darktable, research], source: <url>, created: <date>
  • 3–10 sentence self-contained body, wikilinks to related notes, [[DarkTable MOC]] at the bottom
  • Add an "MCP relevance" line when the concept affects MCP design
  • Add the new note to DarkTable MOC.md under the right section
  • Check for an existing note on the concept first — update it rather than duplicating

Key integration surfaces (details in the notes)

  • Lua API ([[DarkTable - Lua API Overview]], API v9.x): the primary automation surface — database, tags, styles, collection, export storage, events.
  • DBus Remote.Lua ([[DarkTable - Lua DBus Interface]]): send a Lua string to a live darktable session, get a string back — the leading MCP bridge candidate. Validated working on this machine (darktable 5.6.0, Lua API 9.7.0, Windows) — see [[DarkTable - DBus Validation (Local Install)]]. Use the bundled C:\Program Files\darktable\bin\gdbus.exe; the GUI must be running; Lua must require 'darktable' (the global isn't preset); replies come back as a tuple ('...',). Issue #17896 does NOT affect this build.
  • darktable-cli ([[DarkTable - darktable-cli]]): headless export/processing without a GUI.
  • Library database + XMP sidecars ([[DarkTable - Library Database]], [[DarkTable - XMP Sidecar Files]]): library.db is SQLite but single-instance locked ([[DarkTable - Database Locking]]) and takes precedence over XMPs — never write to it while darktable runs; prefer the Lua/DBus path or XMP + startup sync.
  • Companion Lua script ([[DarkTable - Lua Startup Scripts (luarc)]]): the MCP server will likely ship a Lua helper loaded via luarc/script manager.

Read the full file on GitHub · 61 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. 4d ago First seen · 61 lines · 877 tokens per session scan A cfad8e241de0

Subscribe to this mod's changes

darktable-mcp CLAUDE.md is an instructions file published in the GitHub repository Caleb68864/darktable-mcp (1 stars, last pushed 2mo ago), licensed MIT. It adds 877 tokens to every session, about $0.0044 per session on Opus 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-31.

Related

Other instructions, from other repositories