rotate-photos

rotate-photos is a skill for Claude Code from drolosoft/immich-photo-manager. It costs 101 tokens per session (1,292 once invoked), scanned A, original, MIT.

A tool for changing how photos are displayed when they are sideways or upside down in Immich. The original image file is left unchanged, and the rotation can be undone.

In plain words
What is it for?
Use it to rotate individual photos or groups of photos, including entire albums, by 90-degree steps or other supported directions.
Why use it?
It fixes incorrect orientation without modifying or replacing the original files.

Skill 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 to rotate individual photos or groups of photos, including entire albums, by 90-degree steps or other supported directions.

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

Any agent
npx skills add drolosoft/immich-photo-manager --skill rotate-photos
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 rotate-photos

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/drolosoft/immich-photo-manager/rotate-photos"><img src="https://agentmods.dev/badge/skills/drolosoft/immich-photo-manager/rotate-photos.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,292 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00101 $0.01292
Opus 5 $0.00051 $0.00646
Sonnet 5 $0.00020 $0.00258
Haiku 4.5 $0.00010 $0.00129

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

Security

Grade A, and why

rotate-photos 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 8d 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.

skills/rotate-photos/SKILL.md · 124 lines

How it starts

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

Rotate Photos

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.

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

How It Works

Rotation uses Immich's non-destructive edits API. The original file is never modified. Immich stores the rotation as a display transform that is applied when serving thumbnails and previews.

Key Architecture Details

Concept Detail
API endpoint PUT /assets/{id}/edits
Storage Server-side, persists in Immich database forever
Original file Never touched
Thumbnails Served rotated via ?edited=true query parameter
Accumulation Each PUT replaces all edits, so the tool must read the current angle and add
Full circle 360° → edits are deleted entirely (isEdited returns to false)

MCP Tools

Tool Purpose
rotate_assets Rotate by album_id or asset_ids. Accumulates with existing rotation.
revert_asset_edits Remove all edits (rotation, crop, mirror), back to original.
  1. In Immich web UI: Browse library, spot wrongly-rotated photos
  2. Multi-select the rotated photos and add them to an album (e.g., "Fix Rotation")
  3. Use this skill: rotate_assets(album_id="...", angle=90)
  4. Verify in the Immich web UI: photos should appear rotated
  5. If wrong direction: call again (rotation accumulates) or revert_asset_edits(album_id="...")
  6. Clean up: Delete the temporary album when done (photos are not affected)

Rotation Angles

Read the full file on GitHub · 124 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. 8d ago Changed a62512214a6b
  2. 9d ago Changed · +1 lines 16798f8d0910
  3. 13d ago First seen · 123 lines · 101 tokens per session scan A 775e992200bd

Subscribe to this mod's changes

rotate-photos is a skill published in the GitHub repository drolosoft/immich-photo-manager (47 stars, last pushed 8d ago), licensed MIT. It adds 101 tokens to every session and 1,292 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

ideogram-ultra

Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control.

artokun/comfyui-mcp · 68 tokens

model-compatibility

Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.

artokun/comfyui-mcp · 47 tokens

flux-txt2img

Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.

artokun/comfyui-mcp · 44 tokens

panel-node-pack-sync

Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates. Use this whenever the orchestrator was just updated (installcomfyui (action:"selfupdate"), npm i -g comfyui-mcp, a new version in the ENVIRONMENT line), when a panel/bridge command fails in a way…

artokun/comfyui-mcp · 206 tokens

civitai

Discover Civitai models with the BUILT-IN downloadmodel action:"searchcivitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

artokun/comfyui-mcp · 76 tokens

chief-revenue-officer

Owns the revenue engine end to end: sales, monetization, pricing, customer success, retention, and partnerships. Use this for pricing and packaging decisions, sales strategy and coverage, forecast and pipeline health, churn and expansion, partner and channel strategy, or when marketing-sourced demand is not…

cbrock84/headcount · 80 tokens