my-travels

my-travels is a command for Claude Code from drolosoft/immich-photo-manager. It costs 13 tokens per session (515 once invoked), scanned A, original, MIT.

A command that analyzes an Immich photo library to find geographic locations represented in its photos. It uses GPS data to group nearby photos into city, region, and country clusters.

In plain words
What is it for?
Use it to discover travel destinations, count photos by location, and create a travel-oriented summary of the library.
Why use it?
It reveals where photos were taken without requiring the user to inspect the library album by album.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

Good fit Use it to discover travel destinations, count photos by location, and create a travel-oriented summary of the library.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/drolosoft/immich-photo-manager/my-travels"><img src="https://agentmods.dev/badge/commands/drolosoft/immich-photo-manager/my-travels.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 515 The whole file, excluding the scripts and references it only reads on demand.
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.00013 $0.00515
Opus 5 $0.00006 $0.00258
Sonnet 5 $0.00003 $0.00103
Haiku 4.5 $0.00001 $0.00052

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

Security

Grade A, and why

my-travels 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 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.

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.

commands/my-travels.md · 59 lines

What it actually says

⚠️ Connection Required — ALWAYS CHECK FIRST

Before doing ANYTHING else in this skill, call ping on the Immich MCP server.

  • If ping succeeds → proceed with the skill normally.
  • If ping fails or the MCP tools are not available → STOP. Do not continue. Tell the user:

Immich is not connected. This plugin needs a running Immich MCP server to work.

Run /setup-immich-photo-manager to configure your Immich connection. You'll need:

  1. Your Immich server URL (e.g., http://192.168.1.100:2283)
  2. An Immich API key (how to create one)
  3. The MCP server configured (see /setup-immich-photo-manager)

Nothing in this plugin will work until the connection is configured.

Do NOT skip this check. Do NOT try to run any other tool first. Always ping, always block if it fails.

Analyze the Immich library to discover all geographic locations where photos were taken.

  1. Search for all assets that have GPS data
  2. Cluster by location (group photos within 30km of each other)
  3. Identify the city/region/country for each cluster
  4. Count photos per cluster
  5. Sort by photo count (most photos first)

Present as a travel map:

🗺️ Your Travel Destinations
━━━━━━━━━━━━━━━━━━━━━━━━━━━
Found photos from {count} distinct locations across {countries} countries.

🇮🇹 Italy
   📍 Roma — {count} photos ({date_range})
   📍 Cinque Terre — {count} photos ({date_range})
   📍 Venezia — {count} photos ({date_range})

🇪🇬 Egypt
   📍 Cairo & Luxor — {count} photos ({date_range})

🇲🇽 Mexico
   📍 Oaxaca — {count} photos ({date_range})

[... more destinations ...]

📊 {no_gps_count} photos have no GPS data ({percentage}%)

Want me to create albums for these destinations?

After presenting, offer to create geographic albums using the album-manager skill.

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 · 59 lines · 13 tokens per session scan A 14e22c754023

Subscribe to this mod's changes

my-travels is a command published in the GitHub repository drolosoft/immich-photo-manager (47 stars, last pushed 8d ago), licensed MIT. It adds 13 tokens to every session and 515 once invoked, about $0.0001 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-30.