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.
git clone --depth 1 https://github.com/drolosoft/immich-photo-managerWrote 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.
[](https://agentmods.dev/commands/drolosoft/immich-photo-manager/cleanup)<a href="https://agentmods.dev/commands/drolosoft/immich-photo-manager/cleanup"><img src="https://agentmods.dev/badge/commands/drolosoft/immich-photo-manager/cleanup.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00010 | $0.00559 |
| Opus 5 | $0.00005 | $0.00280 |
| Sonnet 5 | $0.00002 | $0.00112 |
| Haiku 4.5 | $0.00001 | $0.00056 |
Grade A, and why
cleanup 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.
What it actually says
⚠️ Connection Required — ALWAYS CHECK FIRST
Before doing ANYTHING else in this skill, call ping on the Immich MCP server.
- If
pingsucceeds → proceed with the skill normally. - If
pingfails 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:
- Your Immich server URL (e.g.,
http://192.168.1.100:2283)- An Immich API key (how to create one)
- 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.
Run a cleanup scan on the Immich library. Scope determined by $ARGUMENTS:
screenshots— Find only screenshotsduplicates— Find only duplicate photosall— Full scan (default if no argument)
Follow the photo-cleanup skill workflow:
- Get library statistics first
- Run the requested scan type(s)
- Present findings as a summary report — NEVER delete anything automatically
- Ask the user what action to take: archive, delete, or skip
There is no dry-run mode — the safety mechanism is the workflow itself: present findings first, act only after the user explicitly confirms, and use delete_assets(asset_ids, force=False) so items go to the trash and remain recoverable. Never pass force=true during cleanup. Report results in this format:
🧹 Cleanup Scan Results
━━━━━━━━━━━━━━━━━━━━━━
Library: {total} assets ({size})
📱 Screenshots detected: {count} ({percentage}%)
High confidence: {count}
Medium confidence: {count}
Estimated space: {size}
🔄 Duplicates detected: {count} ({percentage}%)
Exact copies: {count}
Format duplicates: {count}
Estimated space: {size}
💾 Total recoverable: {size}
What would you like to do?
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.
- 8d ago First seen · 59 lines · 10 tokens per session scan A 275ac92dfac5
cleanup is a command published in the GitHub repository drolosoft/immich-photo-manager (47 stars, last pushed 4d ago), licensed MIT. It adds 10 tokens to every session and 559 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.
Other commands, from other repositories
skill-refresh
You are running inside a headless Claude Code session in the neo4j-skills repository. Goal: scan Neo4j release notes and deprecation pages, then update any SKILL.md and references/ files that are stale, outdated, or missing new features. Open no PRs or commits — output only file edits. The workflow will handle git and…
brand-setup
Configure a new brand profile with colors, fonts, logo, visual style, platforms, and compliance rules.
screens
Structures product UX screen design — inventory, flow, states, and reusable briefs for external design tools — without generating pixels or UI code.
review
Cold re-quiz on code that already shipped — your own session commits, not the change in front of you.
qa
Smoke or browser-walk a running app. Report only. Do not implement. Do not merge.
reset
Guided teardown of an organic-os site - what gets deregistered automatically, what you must delete or revoke yourself, and why.