setup-immich-photo-manager

setup-immich-photo-manager is a command for Claude Code from drolosoft/immich-photo-manager. It costs 25 tokens per session (1,596 once invoked), scanned B, original, MIT.

A setup command for connecting the photo-management tools to Immich, a self-hosted photo manager. It checks the server connection and verifies or updates the API key used for access.

In plain words
What is it for?
Use it for first-time setup, API-key changes, connection checks, and confirming that the Immich integration is authenticated.
Why use it?
It provides the required connection before other photo tools can work and helps diagnose missing or invalid credentials.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the immich-photo-manager plugin — 13 skills, 5 commands shipped together

Good fit Use it for first-time setup, API-key changes, connection checks, and confirming that the Immich integration is authenticated.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/drolosoft/immich-photo-manager/setup-immich-photo-manager
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.

Clone the repo
git clone --depth 1 https://github.com/drolosoft/immich-photo-manager

Made for: Claude Code.

Or install immich-photo-manager, the plugin that ships this one along with the rest of its 13 skills, 5 commands.

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 setup-immich-photo-manager

README.md
[![agentmods](https://agentmods.dev/badge/commands/drolosoft/immich-photo-manager/setup-immich-photo-manager/github.svg)](https://agentmods.dev/commands/drolosoft/immich-photo-manager/setup-immich-photo-manager)
Your own site
<a href="https://agentmods.dev/commands/drolosoft/immich-photo-manager/setup-immich-photo-manager"><img src="https://agentmods.dev/badge/commands/drolosoft/immich-photo-manager/setup-immich-photo-manager/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 setup-immich-photo-manager

Your own site · 80×15
<a href="https://agentmods.dev/commands/drolosoft/immich-photo-manager/setup-immich-photo-manager"><img src="https://agentmods.dev/badge/commands/drolosoft/immich-photo-manager/setup-immich-photo-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,596 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00025 $0.01596
Opus 5 $0.00013 $0.00798
Sonnet 5 $0.00005 $0.00319
Haiku 4.5 $0.00003 $0.00160

Measured 12d ago against content hash 39b526ed6d64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

setup-immich-photo-manager scanned grade B with 1 finding 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 12d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Then reload: `sudo nginx -s reload`
commands/setup-immich-photo-manager.md · 170 lines

How it starts

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

Immich Photo Manager — Setup

Guide the user through connecting their Immich instance to this plugin. This skill handles both first-time setup and credential updates (e.g. API key rotation).

Prerequisites Check

Before starting, verify these are available:

  1. Immich instance — Ask the user for their Immich server URL (e.g., http://192.168.1.100:2283 or https://photos.example.com)
  2. Immich API key — The user needs to generate one from Immich → User Settings → API Keys. Link: https://immich.app/docs/features/command-line-interface#obtain-the-api-key

Setup Workflow

Step 1: Check if MCP server is already running

Call ping to test if the MCP server is already up.

  • If ping succeeds → the MCP server is running. Proceed to Step 2 to verify the API key works.
  • If ping fails → the MCP server is not running or not configured. Ask the user to check their plugin installation.

Step 2: Test if credentials are valid

Call get_statistics or search_metadata (any authenticated endpoint).

  • If it succeeds → credentials are valid. Jump to Step 5 (show summary).
  • If it returns 401 Unauthorized → the API key is invalid or expired. Go to Step 3.

Step 3: Get new credentials from the user

Ask the user:

  • What is your Immich server URL? (e.g., https://photos.example.com)
  • What is your new API key? (guide them to create one if needed: Immich → User Settings → API Keys)

Step 4: Update credentials via MCP tool

Use the update_credentials tool to update the connection in-place:

update_credentials(base_url="https://photos.example.com", api_key=<user-provided-key>)

This tool will:

  1. Validate the new credentials against Immich (an authenticated call, a wrong key is rejected)
  2. Persist them to .mcpb-cache/config.json (survives session restarts)
  3. Hot-swap the live connection (no restart required)

If update_credentials succeeds → proceed to Step 5. If it fails → tell the user the credentials didn't work, ask them to double-check.

Read the full file on GitHub · 170 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. 12d ago First seen · 170 lines · 25 tokens per session scan B 39b526ed6d64

Subscribe to this mod's changes

setup-immich-photo-manager is a command published in the GitHub repository drolosoft/immich-photo-manager (47 stars, last pushed 8d ago), licensed MIT. It adds 25 tokens to every session and 1,596 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.