set-metadata

set-metadata is a skill for Claude Code from danielrosehill/Claude-Image-Production-Plugin. It costs 46 tokens per session (1,384 once invoked), scanned B, original, MIT.

An image-metadata skill for writing information such as creator, copyright, description, keywords, camera details, and location into image files.

In plain words
What is it for?
Use it on individual images or folders when preparing photos for distribution, adding missing GPS data, updating descriptions, or correcting camera information.
Why use it?
It makes image credits, search terms, ownership details, and other embedded file information easier to add or correct.

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 on individual images or folders when preparing photos for distribution, adding missing GPS data, updating descriptions, or correcting camera information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danielrosehill/claude-image-production-plugin/set-metadata
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 set-metadata
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 set-metadata

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielrosehill/claude-image-production-plugin/set-metadata"><img src="https://agentmods.dev/badge/skills/danielrosehill/claude-image-production-plugin/set-metadata.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,384 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.00046 $0.01384
Opus 5.5 $0.00018 $0.00554
Sonnet 5.5 $0.00009 $0.00277
Haiku 4.5 $0.00005 $0.00138

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

Security

Grade B, and why

set-metadata 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 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.

command -v exiftool || echo "exiftool not installed — install with: sudo apt install libimage-exiftool-perl"
skills/set-metadata/SKILL.md · 151 lines

How it starts

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

Write Metadata to Images

Set metadata tags on image files using exiftool. Supports EXIF, IPTC, and XMP metadata, with automatic backup of original files.

When to use

  • Adding copyright and artist information to a photo before distribution.
  • Manually setting GPS coordinates if they were not captured.
  • Batch-updating descriptions or keywords across multiple images.
  • Fixing incorrect camera model or lens metadata.

Inputs to gather

  • Input file or directory — single image or folder.
  • Metadata key-value pairs — ask the user for the tags and values they want to set. Common fields:
    • Artist — photographer or creator name.
    • Copyright — copyright statement (e.g., "© 2026 Daniel Rosehill").
    • Description / ImageDescription — image description text.
    • Keywords — comma-separated keywords.
    • LensModel — lens description (if not auto-detected).
    • GPSLatitude / GPSLongitude / GPSAltitude — GPS coordinates.
    • DateTimeOriginal — capture date/time (format: YYYY:MM:DD HH:MM:SS).
  • Backup before write? Default: yes. exiftool creates _original sidecars; offer an explicit backup copy for safety.

Procedure

1. Check tooling

command -v exiftool || echo "exiftool not installed — install with: sudo apt install libimage-exiftool-perl"

Abort if missing.

2. Validate tag names

Ask the user to confirm the exiftool tag names. Common mappings:

User-facing exiftool tag
Artist Artist
Creator Creator
Copyright Copyright
Description ImageDescription
Keywords Keywords
Lens LensModel
Camera model Model

Gotcha: EXIF, IPTC, and XMP may use different tag names for the same logical field. exiftool auto-detects the appropriate target; document which format will be used:

exiftool -a -G1 "<sample.jpg>" | grep -i copyright

This shows which groups (EXIF, IPTC, XMP) currently carry copyright info on the sample file.

3. Confirm metadata and scope

Read the full file on GitHub · 151 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 · 151 lines · 46 tokens per session scan B 06bab1f3a977

Subscribe to this mod's changes

set-metadata is a skill published in the GitHub repository danielrosehill/Claude-Image-Production-Plugin (21 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,384 once invoked, about $0.0002 per session on Opus 5.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.

Related

set-metadata compared with skills from other repositories

set-metadata next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
set-metadatadanielrosehill/Claude-Image-Production-PluginSkill21yesterdayMITB46Claude 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