install-deps

install-deps is a skill for Claude Code from danielrosehill/Claude-Image-Production-Plugin. It costs 60 tokens per session (1,670 once invoked), scanned D, original, MIT.

A dependency-setup skill for installing command-line image tools and isolated Python utilities used by an image-processing plugin.

In plain words
What is it for?
Use it before image-processing commands that need tools such as ImageMagick, ExifTool, JPEG optimizers, format converters, or perceptual image matching.
Why use it?
It checks what is already installed and keeps Python packages in a plugin-owned environment, avoiding changes to the system Python installation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the image-production plugin — 29 skills, 19 commands shipped together

Good fit Use it before image-processing commands that need tools such as ImageMagick, ExifTool, JPEG optimizers, format converters, or perceptual image matching.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielrosehill/claude-image-production-plugin/install-deps
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 danielrosehill/Claude-Image-Production-Plugin --skill install-deps
Clone the repo
git clone --depth 1 https://github.com/danielrosehill/Claude-Image-Production-Plugin

Made for: Claude Code.

Or install image-production, the plugin that ships this one along with the rest of its 29 skills, 19 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 install-deps

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielrosehill/claude-image-production-plugin/install-deps/github.svg)](https://agentmods.dev/skills/danielrosehill/claude-image-production-plugin/install-deps)
Your own site
<a href="https://agentmods.dev/skills/danielrosehill/claude-image-production-plugin/install-deps"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-image-production-plugin/install-deps/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 install-deps

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielrosehill/claude-image-production-plugin/install-deps"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-image-production-plugin/install-deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,670 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 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.00060 $0.01670
Opus 5.5 $0.00024 $0.00668
Sonnet 5.5 $0.00012 $0.00334
Haiku 4.5 $0.00006 $0.00167

Measured 2mo ago against content hash 2f542271677c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

install-deps scanned grade D with 3 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 2mo 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.

allowed-tools: Bash(which *), Bash(command *), Bash(apt *), Bash(apt-get *), Bash(sudo *), Bash(uv *), Bash(curl *), Bash(python3 *), Bash(magick *), Bash(convert *), Bash(identify *), Bash(exiftool *), Bash(vips *), Bas

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(which *), Bash(command *), Bash(apt *), Bash(apt-get *), Bash(sudo *), Bash(uv *), Bash(curl *), Bash(python3 *), Bash(magick *), Bash(convert *), Bash(identify *), Bash(exiftool *), Bash(vips *), Bas
skills/install-deps/SKILL.md · 114 lines

How it starts

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

Install Dependencies

Two surfaces:

  1. System binaries — required: ImageMagick, exiftool. Optional: libvips-tools, libheif-examples, oxipng, pngquant, jpegoptim, mozjpeg, libavif-bin, libjxl-tools, realesrgan-ncnn-vulkan, darktable-cli.
  2. Python tools — imagehash, Pillow (perceptual dedupe). Installed into a plugin-owned uv venv at <data-dir>/venv/.

The plugin invokes Python via <data-dir>/venv/bin/python, so the user's system Python stays untouched and PEP 668 / externally-managed-environment errors never occur.

Resolve paths

PLUGIN_DATA_DIR="${CLAUDE_USER_DATA:-${XDG_DATA_HOME:-$HOME/.local/share}/claude-plugins}/image-production"
VENV_DIR="$PLUGIN_DATA_DIR/venv"

Procedure

1. Detect host

uname -s
which apt-get apt brew dnf pacman 2>/dev/null
which uv 2>/dev/null

Record what's available; this drives which install commands you propose.

2. Ensure uv is available

uv is the only hard prerequisite for the Python side. If missing, propose:

curl -LsSf https://astral.sh/uv/install.sh | sh

Ask before running. Fall back to system pip with --break-system-packages only if the user declines — prefer uv.

3. Walk the system-binary matrix

Tool Detect Required? Install (apt) Install (brew)
magick / convert / identify which magick || which convert required sudo apt install imagemagick brew install imagemagick
exiftool which exiftool required sudo apt install libimage-exiftool-perl brew install exiftool
fdupes which fdupes optional sudo apt install fdupes brew install fdupes
vips / vipsthumbnail which vips optional (recommended >500 images) sudo apt install libvips-tools brew install vips
heif-convert which heif-convert optional sudo apt install libheif-examples brew install libheif
oxipng which oxipng optional sudo apt install oxipng brew install oxipng
pngquant which pngquant optional sudo apt install pngquant brew install pngquant
jpegoptim which jpegoptim optional sudo apt install jpegoptim brew install jpegoptim
mozjpeg (cjpeg-mozjpeg) which cjpeg-mozjpeg optional cargo install mozjpeg-cli (or binary) brew install mozjpeg
avifenc which avifenc optional sudo apt install libavif-bin brew install libavif
cjxl / djxl which cjxl optional sudo apt install libjxl-tools brew install jpeg-xl
upscayl-bin which upscayl-bin || ls /opt/Upscayl/resources/bin/upscayl-bin 2>/dev/null optional install Upscayl from https://upscayl.org (deb / flatpak / appimage) install Upscayl from https://upscayl.org
realesrgan-ncnn-vulkan (fallback) which realesrgan-ncnn-vulkan optional binary release from upstream binary release from upstream
darktable-cli which darktable-cli optional sudo apt install darktable (GUI + CLI) brew install darktable
img2pdf which img2pdf optional uv tool install img2pdf (or sudo apt install python3-img2pdf) pipx install img2pdf

Read the full file on GitHub · 114 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. 2mo ago First seen · 114 lines · 60 tokens per session scan D 2f542271677c

Subscribe to this mod's changes

install-deps is a skill published in the GitHub repository danielrosehill/Claude-Image-Production-Plugin (21 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 1,670 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

install-deps compared with skills from other repositories

install-deps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
install-depsdanielrosehill/Claude-Image-Production-PluginSkill21yesterdayMITD60Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code