remove-ai-image-metadata

remove-ai-image-metadata is a skill for Codex from jqaisystems/jqai-ai-skills. It costs 109 tokens per session (895 once invoked), scanned A, original, MIT.

An image-file cleanup workflow that finds and removes embedded AI-generator and provenance details, such as EXIF, XMP, C2PA, or Content Credentials metadata. It can preserve the picture data when the file format allows it.

In plain words
What is it for?
Use it to inspect and clean PNG, JPEG, WebP, and GIF files, either into a separate output folder or in place. It can target individual files or folders and optionally create backups.
Why use it?
It helps remove labels or hidden records that identify an image as AI-generated without unnecessarily changing how the image looks. It also supports inspecting proposed changes before writing them.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to inspect and clean PNG, JPEG, WebP, and GIF files, either into a separate output folder or in place. It can target individual files or folders and optionally create backups.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jqaisystems/jqai-ai-skills/remove-ai-image-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 jqaisystems/jqai-ai-skills --skill remove-ai-image-metadata
Clone the repo
git clone --depth 1 https://github.com/jqaisystems/jqai-ai-skills

Made for: Codex.

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 remove-ai-image-metadata

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jqaisystems/jqai-ai-skills/remove-ai-image-metadata"><img src="https://agentmods.dev/badge/skills/jqaisystems/jqai-ai-skills/remove-ai-image-metadata.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 895 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.00109 $0.00895
Opus 5 $0.00055 $0.00447
Sonnet 5 $0.00022 $0.00179
Haiku 4.5 $0.00011 $0.00089

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

Security

Grade A, and why

remove-ai-image-metadata 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.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/clean_image_metadata.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/remove-ai-image-metadata/SKILL.md · 72 lines

How it starts

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

Remove AI Image Metadata

Remove explicit embedded AI provenance or generator metadata using a format-aware workflow. Preserve encoded image content and rendering data whenever possible.

Workflow

  1. Resolve the exact files or folder in scope and identify each real file format from its contents.

  2. Inspect before writing. For PNG, JPEG/JPG, WebP, and GIF, use the bundled cleaner without a write option:

    python "<skill-folder>\scripts\clean_image_metadata.py" "<file-or-folder>" --recursive
    
  3. Review every proposed removal. Default mode removes C2PA/Content Credentials blocks and metadata fields that contain known AI-generator markers.

  4. Choose a write mode:

    • Prefer verified copies when replacement was not explicitly requested:

      python "<skill-folder>\scripts\clean_image_metadata.py" "<file-or-folder>" --recursive --output-dir "<clean-folder>"
      
    • Use --in-place only when the user wants the originals changed. Add --backup-dir "<folder-outside-the-publish-folder>" when a backup is useful.

    • Add --all-metadata only when the user asks to remove all removable non-rendering metadata. Preserve color profiles and functional animation data.

  5. Confirm every changed file reports PASS. The cleaner reparses the written container and confirms that encoded PNG, JPEG, WebP, or GIF image payloads are unchanged.

  6. Inspect the cleaned output again when extra verification is appropriate.

  7. Report the number of files processed, exact output path, formats handled, and metadata removed.

Format Routing

  • Use the bundled script for byte-preserving PNG, JPEG/JPG, WebP, and GIF cleanup.
  • For TIFF, HEIC/HEIF, AVIF, SVG, PSD, or another format, inspect available format-aware tools such as ExifTool or c2patool. Work on copies unless in-place replacement was requested. Verify the result with the same tool plus a decoder.
  • If no safe handler is available, stop and report the unsupported format. Do not generically re-save or convert the image merely to strip metadata; that may alter pixels, animation, orientation, color, or compression.

Read the full file on GitHub · 72 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 72 lines · 109 tokens per session scan A cf25b7c3d82d

Subscribe to this mod's changes

remove-ai-image-metadata is a skill published in the GitHub repository jqaisystems/jqai-ai-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 109 tokens to every session and 895 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-31.

Related

Other skills, from other repositories

reins

Drive the user's real, logged-in browser from the shell via the reins CLI. Because it's their actual browser, every site is already authenticated — so you can scrape behind logins, read cookies/tokens/localStorage, watch and replay live API traffic, call a site's own API as the signed-in user, and…

karnstack/reins · 98 tokens

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

skill-curator

A Chinese-language evaluator for deciding whether developer tools and agent resources are suitable for a curated collection. It checks real repositories, installation paths, activity, duplicates, and security boundaries using evidence.

laolaoshiren/claude-code-skills-zh · 75 tokens

git-workflow

A guide for handling Git repository work safely, including status checks, branches, commits, pushes, pull requests, and rebasing. Git is a version-control system that records code changes and coordinates work between developers.

laolaoshiren/claude-code-skills-zh · 73 tokens

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens

review-plan

Review a plan by running internal reviews and a peer review in parallel and returning combined findings. Use when the user asks to "review my plan", "check my plan", "critique my plan", or wants feedback on a plan.

tobihagemann/turbo · 50 tokens