{"slug": "show-hn-a-cli-and-agent-skill-that-writes-film-recipes-to-a-fujifilm-x100vi", "title": "Show HN: A CLI and agent skill that writes film recipes to a Fujifilm X100VI", "summary": "Developer Volodymyr Smirnov released an open-source repository containing `x100vi`, a single self-contained binary for macOS, Linux and Windows that reads, writes and previews film-simulation recipes on a Fujifilm X100VI (tested on firmware 1.31) over a USB-C data cable, plus an agent skill for Claude Code and OpenAI Codex that drives the tool from natural-language requests. Previews are developed by the camera's own image processor from the user's RAW files rather than imitated on the computer, and recipes can be written to the camera's live settings or to custom slots C1–C7, with every write read back and compared. The tool requires the camera be set to MENU > NETWORK/USB SETTING > CONNECTION MODE > USB RAW CONV./BACKUP RESTORE, cannot control ISO, exposure compensation, aperture, shutter, focus, drive mode, metering or flash because the camera does not expose them over USB, and is installed via `npx skills add volodymyrsmirnov/x100vi-skill -g` (Node.js 22.20 or later).", "body_md": "📝 Blog post: [Fujifilm X100VI AI skill: film recipes over USB with Claude Code and Codex](https://volodymyr.smirnov.im/writing/x100vi-skill/)\n\nCreate film-simulation recipes for a **Fujifilm X100VI** by describing the look you want, see them\ndeveloped from your own RAW files by the camera's processor, and save the ones you like into the camera's\ncustom settings (C1-C7), all over a USB cable.\n\nIt is two things in one repository:\n\n- \n**`x100vi`** , a command-line tool that reads, writes and previews recipes on the camera. It is a single\nself-contained binary for macOS, Linux and Windows.\n- \n**An agent skill** for[Claude Code](https://code.claude.com) and[Codex](https://github.com/openai/codex) that drives the tool for you, so you can say:I'm going to Dubai and want cool photos of deserts. Show me three options on this RAF and put the best one in C3.\n\n**Previews are developed by the camera itself.** The RAF is sent to the camera over USB, the camera's own\nimage processor develops it with the recipe applied, and the result comes back. Nothing on the computer\nimitates Fujifilm's processing, so what you see is what the camera would have produced.\n\nNo firmware is touched. The tool reads and writes the same settings you can change in the camera's menu, and uses the camera's built-in RAW conversion.\n\nImportant\n\n**Put the camera in the right USB mode before you connect it.** On the camera:\n**MENU > NETWORK/USB SETTING > CONNECTION MODE > USB RAW CONV./BACKUP RESTORE**, then plug in the cable.\n\nNothing here works in any other mode, and software cannot change the mode for you. In USB CARD READER\nmode, which is what most cameras are set to, the camera hides all of its settings. See [Set up the camera](#set-up-the-camera-required).\n\n| Read | The current shooting settings and C1-C7, as JSON recipes. | \n| Write | A recipe to the live settings or to any of C1-C7, including its name. Every write is read back and compared. | \n| Preview | Develop RAFs on the camera with one or more recipes, as JPEG (with a contact sheet), HEIF, or full-size 8/16-bit TIFF. Nothing is stored on the camera afterwards. | \n| Back up | C1-C7 and the live settings as JSON, or the camera's own settings file with every menu setting, and restore either. | \n| Design | With the skill: turn a description, a list of settings, or a recipe web page into a recipe. | \n\nWhat a recipe controls: film simulation, grain, colour chrome effect, colour chrome FX blue, smooth skin, white balance (mode, Kelvin, red/blue shift), dynamic range, D-range priority, highlight, shadow, colour, sharpness, noise reduction, clarity, monochromatic tint, and optionally image quality, image size, colour space and lens modulation optimizer.\n\nWhat it cannot control, because the camera does not expose it over USB: ISO, exposure compensation,\naperture, shutter, focus and AF settings, drive mode, metering, flash. Recipes carry these as `notes` for\nyou to set on the body.\n\nYou need a Fujifilm **X100VI** (tested on firmware 1.31) and a USB-C **data** cable. Optional:\n[exiftool](https://exiftool.org), only for `x100vi verify` and `preview --verify`.\n\nWith the [skills](https://www.npmjs.com/package/skills) CLI (needs Node.js 22.20 or later):\n\n```\nnpx skills add volodymyrsmirnov/x100vi-skill -g\n```\n\nIt asks which agents to install for. To skip the questions:\n\n```\nnpx skills add volodymyrsmirnov/x100vi-skill -g -a claude-code -a codex -y\n```\n\n`-g` makes the skill available in every project; leave it out to install into the current project only.\nStart a new agent session afterwards.\n\n**That is all you need.** The first time the agent uses the skill, its launcher downloads the `x100vi`\nbinary for your system from the [latest release](https://github.com/volodymyrsmirnov/x100vi-skill/releases/latest),\nchecks it against the release's checksums, and keeps it in a cache folder. Ask the agent to update the\ntool (or run the launcher with `--self-update`) to fetch the newest release.\n\nOther ways to get the skill:\n\n- **Claude Code plugin** :`/plugin marketplace add volodymyrsmirnov/x100vi-skill` , then`/plugin install x100vi@x100vi-skill` .\n- **From the tool** :`x100vi install-skill --claude --codex` , or`--dir SKILLS_FOLDER` for any agent that\nreads`SKILL.md` folders.\n\nDownload the binary for your system from the\n[latest release](https://github.com/volodymyrsmirnov/x100vi-skill/releases/latest) and put it on your\nPATH as `x100vi` (`x100vi.exe` on Windows):\n\n| System | File | \n|---|---|\n| macOS (Apple silicon and Intel) | `x100vi-darwin-universal` | \n| Linux x64 / arm64 | `x100vi-linux-amd64` /`x100vi-linux-arm64` | \n| Windows x64 | `x100vi-windows-amd64.exe` | \n\nFor example on macOS:\n\n```\ncurl -fL -o /usr/local/bin/x100vi https://github.com/volodymyrsmirnov/x100vi-skill/releases/latest/download/x100vi-darwin-universal\nchmod +x /usr/local/bin/x100vi && x100vi --version\n```\n\nA file downloaded with a web browser instead is quarantined by macOS; clear that with\n`xattr -d com.apple.quarantine /usr/local/bin/x100vi`. `SHA256SUMS` in each release lists the checksums.\nEvery push to `main` publishes a new release.\n\nDo this on the camera body **before** connecting. It has to be done by hand: the mode cannot be changed\nover USB.\n\n1. Press **MENU/OK** and open**NETWORK/USB SETTING** .\n2. Choose **CONNECTION MODE** , then**USB RAW CONV./BACKUP RESTORE** .\n3. Connect the camera to the computer with the USB-C cable and switch it on.\n4. If the cable was already plugged in when you changed the mode, unplug it and plug it back in.\n\nThe camera keeps this setting, so you only repeat it if you switch to another mode in between (for example USB CARD READER to copy photos). The X100VI has no tether mode; this is the only USB mode that exposes settings.\n\nCheck it:\n\n```\nx100vi doctor\nX100VI firmware 1.31\nUSB mode: USB RAW CONV./BACKUP RESTORE\nbattery: about 80%\nready\n```\n\nIn the wrong mode nothing is read or written, and you are told what to change:\n\n```\nnot ready: the camera is in USB CARD READER, so its settings are not reachable\n  On the camera: MENU > NETWORK/USB SETTING > CONNECTION MODE > USB RAW CONV./BACKUP RESTORE. Then unplug\n  and replug the USB cable.\n```\n\nWhile connected in this mode the camera shows a USB screen and its controls are locked; unplug it to shoot. Switch CONNECTION MODE back when you are done if you normally use another.\n\nWith the camera in **USB RAW CONV./BACKUP RESTORE** mode and connected, just ask. If the mode is wrong, the\nagent stops and tells you how to change it. Examples of what the skill handles:\n\n- \"Make me a moody black-and-white street look and show it on `DSCF4158.RAF` .\"\n- \"Use this recipe: . Put it in C2 and call it PORTRA.\"\n- \"What's in my C1 to C7? Save them to `my-camera.json` .\"\n- \"Here are three RAFs from Dubai; show me how they'd look with a warm desert look and a muted one.\"\n\nIt asks before writing to the camera, never replaces a custom setting that already holds a recipe without your say-so, and tells you when a preview could not show a setting because of how the photo was taken.\n\nCodex (and Claude Code, if you turned its sandbox on) can run commands in a sandbox, and a sandbox hides\nUSB devices. The camera commands therefore have to run **outside** it. The skill tells the agent to ask for\nthat, and the tool reports `sandboxed` instead of a misleading \"no camera found\", so normally you just\napprove the request when it appears.\n\nTo stop being asked, run this once in a terminal:\n\n```\nx100vi sandbox-help\n```\n\nIt prints ready-made settings for your machine: a Codex rules file (`--write-codex-rules` saves it to\n`~/.codex/rules/x100vi.rules`; restart Codex afterwards) and a `sandbox.excludedCommands` fragment for\nClaude Code's `~/.claude/settings.json`. With the Codex rules, reading and previewing run without a\nprompt, while `set` and `restore` still ask before each run.\n\nEvery command that talks to the camera (`doctor`, `get`, `set`, `backup`, `restore`, `preview`) needs it\nconnected in **USB RAW CONV./BACKUP RESTORE** mode. `recipes`, `validate`, `verify` and `schema` work without\na camera.\n\n```\nx100vi recipes                               # bundled starter recipes\nx100vi validate my-look.json                 # check a recipe, no camera needed\nx100vi get all                               # live settings and C1-C7 as JSON\nx100vi get C3 -o c3.json                     # one custom setting to a file\nx100vi set C3 my-look.json                   # save a recipe (refuses if C3 is occupied)\nx100vi set C3 my-look.json --overwrite       # replace it; the old one is saved first\nx100vi set live desert-gold                  # apply a starter recipe to the current settings\nx100vi backup -o my-camera.json              # live settings and C1-C7 as JSON\nx100vi restore my-camera.json --yes          # write C1-C7 back\nx100vi backup --full -o camera.dat           # the camera's own settings file: every menu setting too\nx100vi restore camera.dat --yes              # put every setting back\nx100vi preview shot.RAF --as-shot -r desert-gold street-mono my-look.json\nx100vi sandbox-help                          # how to let an agent reach the camera from its sandbox\n```\n\nAdd `--json` to any command for machine-readable output. `x100vi COMMAND --help` lists every option.\n\n```\n{\n  \"name\": \"DESERT GOLD\",\n  \"description\": \"Warm, sun-baked sand under a deep blue sky.\",\n  \"notes\": \"Exposure compensation +1/3 to +2/3 on bright sand. ISO auto up to 3200.\",\n  \"film_simulation\": \"classic_chrome\",\n  \"dynamic_range\": \"200\",\n  \"grain\": { \"strength\": \"weak\", \"size\": \"small\" },\n  \"color_chrome_effect\": \"strong\",\n  \"color_chrome_fx_blue\": \"strong\",\n  \"white_balance\": { \"mode\": \"kelvin\", \"kelvin\": 6200, \"shift_r\": 2, \"shift_b\": -3 },\n  \"highlight\": -1,\n  \"shadow\": 1,\n  \"color\": 2,\n  \"sharpness\": 0,\n  \"noise_reduction\": -4\n}\n```\n\nEvery field, its range and the camera's rules: [skills/x100vi/references/recipe-schema.md](https://github.com/volodymyrsmirnov/x100vi-skill/blob/main/skills/x100vi/references/recipe-schema.md).\n`x100vi schema` prints the JSON Schema. The bundled starter recipes are original starting points, not\nemulations of any film stock.\n\n```\nx100vi preview DSCF4103.RAF DSCF4158.RAF --as-shot -r desert-gold desert-dusk street-mono\nDSCF4103.RAF: shot as classic_chrome, DR200, D-range priority weak\n  x100vi-previews/DSCF4103__as-shot.jpg\n  x100vi-previews/DSCF4103__desert-gold.jpg\n  x100vi-previews/DSCF4103__desert-dusk.jpg\n    not applied as written - dynamic_range: asked for 400, rendered with 200 (this frame was shot at\n    DR200; a RAF cannot be developed above its own dynamic range. On the camera the recipe will use\n    the full value when ISO allows it)\n  ...\ncontact sheet: x100vi-previews/contact-sheet.jpg\n```\n\n- **The conversion runs on the camera, not on the computer.** The tool uploads the RAF, tells the camera\nwhich settings to use, waits while the camera develops it, and downloads the result. That is why the\ncamera must be connected and switched on, why it uses the camera's battery, and why the output matches\nan in-camera JPEG.\n- The RAF must come from an X100VI. It is uploaded once and developed once per recipe.\n- Output is half size by default; `--full` gives full resolution.`--ev 0.67` adds exposure compensation\n(-2 to +3 EV in 1/3 steps; the camera ignores anything outside that when developing).\n- `--d-range-priority weak|strong|plus|off` previews with that D-range priority instead of the recipe's.\nIt is the way to preview a recipe set to Auto.`plus` is an extra level beyond strong that only the\nconversion offers; the camera cannot shoot with it.\n- `--format heif` makes HEIF files.`--format tiff` (8-bit) and`--format tiff16` need`--full` , because\nthe camera makes TIFF only at full resolution: about 125 MB and 245 MB per image. The contact sheet is\nmade for JPEG previews only.\n- A preview shows colour and tone on a frame you already shot. It cannot show what a different ISO or exposure at capture would have done.\n\nThe tool uses each system's own interface for cameras, so there are no drivers or libraries to install:\n\n|  | Interface | Status | \n|---|---|---|\n| macOS | ImageCaptureCore, the system camera service. | Tested on a real X100VI. | \n| Windows | Windows Portable Devices, with Windows' own driver. The camera also stays visible in Explorer. | Built and unit-tested in CI; **not yet tested on a camera** . Reports welcome. | \n| Linux | The kernel's USB device interface (usbfs). Unmount the camera if your desktop auto-mounts it, and give your user access to USB vendor `04cb` (udev rule) or use`sudo` . Only one program can hold the camera at a time. | Built and unit-tested in CI; **not yet tested on a camera** . Reports welcome. | \n\nWhile an `x100vi` command runs, do not use other camera programs (X RAW Studio, X Acquire, Lightroom,\nCapture One, Image Capture imports): another program's images could be mistaken for a preview. A second\n`x100vi` command waits for the first.\n\nOn Windows a request that hangs inside the driver is not timed out by the tool: if a command stops responding, switch the camera off and on.\n\nIf you once replaced the camera's Windows driver with WinUSB (for example with Zadig), switch it back in Device Manager: uninstall the camera device with \"Attempt to remove the driver for this device\" (or \"Delete the driver software for this device\") ticked, then unplug and replug the camera.\n\n- **No firmware operations.** The tool has no code that updates or modifies firmware.\n- **Checks before it acts** : wrong camera model, wrong USB mode, another program or another`x100vi` command using the camera, an invalid recipe, a RAF from another body, a JPEG instead of a RAF. Each stops\nwith an explanation and a fix.\n- **Writes are verified.** After saving a recipe the whole custom setting is read back; if the camera holds\nanything else, or changed a setting the recipe did not mention, the command fails and says what differs.\n- **Your recipes are not overwritten silently.**`set` refuses an occupied custom setting unless you pass`--overwrite` , and saves the previous contents first.`restore` needs`--yes` and backs up first.\nAutomatic backups live in`~/.local/state/x100vi/backups` (Windows:`%LOCALAPPDATA%\\x100vi\\backups` ).\n- **Full settings files are checked before they are restored** : they must come from an X100VI, match the\nsize the camera's firmware uses, and come from the same body (`--other-body` overrides the last check).\nThe camera's current file is saved first and the restore is read back. Keep these files private: they\ncontain the camera's ID and network settings.\n- **Untested firmware** produces a warning, not a refusal; verification still applies.\n- A RAW conversion that never finishes can leave the camera unresponsive until it is switched off and on. The tool never starts another conversion after one timed out, and tells you when to power-cycle.\n\n`x100vi doctor` names the problem and the fix. The full list of errors and exit codes is in\n[skills/x100vi/references/troubleshooting.md](https://github.com/volodymyrsmirnov/x100vi-skill/blob/main/skills/x100vi/references/troubleshooting.md).\n\nThe tool is written in Go. You need the Go version in `go.mod`; on macOS also the Xcode command-line tools\n(the ImageCaptureCore bridge uses cgo).\n\n```\ngit clone https://github.com/volodymyrsmirnov/x100vi-skill\ncd x100vi-skill\ngo test ./...          # tests against a software camera; no hardware needed\ngo build -o x100vi ./cmd/x100vi\n```\n\nTests against a real camera are opt-in and restore what they change:\n\n```\nX100VI_HARDWARE=1 X100VI_TEST_RAF=/path/to/shot.RAF go test ./internal/hardware -v\n```\n\nTo try the skill from a checkout, point its launcher at your build, then install the skill from the local folder:\n\n```\nexport X100VI_BIN=\"$PWD/x100vi\"\nnpx skills add ./ -g -a claude-code -a codex -y\n```\n\n`claude --plugin-dir .` loads it as a plugin for one Claude Code session instead.\n\nHow the camera is addressed, the measured property map and the evidence behind each value are in\n[docs/protocol.md](https://github.com/volodymyrsmirnov/x100vi-skill/blob/main/docs/protocol.md). Contributor notes: [AGENTS.md](https://github.com/volodymyrsmirnov/x100vi-skill/blob/main/AGENTS.md).\n\n- The RAW-conversion sequence and profile layout follow the public notes in\n[zgrimz/fujifilm-ptp-reference](https://github.com/zgrimz/fujifilm-ptp-reference) .\n- Settings in output files are checked with [ExifTool](https://exiftool.org) by Phil Harvey.\n\nThis project isn't affiliated with FUJIFILM Corporation. FUJIFILM, X RAW Studio, and camera model names are trademarks of FUJIFILM Corporation, used here only to identify the hardware described.\n\nUse it at your own risk.", "url": "https://wpnews.pro/news/show-hn-a-cli-and-agent-skill-that-writes-film-recipes-to-a-fujifilm-x100vi", "canonical_source": "https://github.com/volodymyrsmirnov/x100vi-skill", "published_at": "2026-11-24 10:13:32+00:00", "updated_at": "2026-11-24 10:42:34.095983+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools"], "entities": ["Fujifilm X100VI", "Volodymyr Smirnov", "Claude Code", "OpenAI Codex", "x100vi", "exiftool", "Node.js"], "also_reported_by": [], "takeaway": "The `x100vi` CLI and its Claude Code/Codex skill let an agent write film-simulation recipes to the X100VI's C1–C7 slots and preview them by having the camera itself develop RAW files over USB, but only in USB RAW CONV./BACKUP RESTORE mode and with no control over ISO, exposure compensation, aperture", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-a-cli-and-agent-skill-that-writes-film-recipes-to-a-fujifilm-x100vi", "markdown": "https://wpnews.pro/news/show-hn-a-cli-and-agent-skill-that-writes-film-recipes-to-a-fujifilm-x100vi.md", "text": "https://wpnews.pro/news/show-hn-a-cli-and-agent-skill-that-writes-film-recipes-to-a-fujifilm-x100vi.txt", "jsonld": "https://wpnews.pro/news/show-hn-a-cli-and-agent-skill-that-writes-film-recipes-to-a-fujifilm-x100vi.jsonld"}}