Sweety Image Privacy logo

Sweety Image Privacy

Community
threerocks
sweety-image-privacy

Use when sanitizing image privacy metadata, removing GPS/source traces, auditing macOS xattrs, or preparing images with iPhone-like camera metadata before publishing or AI-detection checks.

Overview

Publisherthreerocks
Repositorysweety-skills
Skill namesweety-image-privacy
Stars
42
Forks
5
Bundled files
2
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by threerocks on GitHub. Read the source before you install it.

Installation

Install the Sweety Image Privacy AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/threerocks/sweety-skills/tree/main/skills/sweety-image-privacy
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/threerocks/sweety-skills.git /tmp/sweety-skills
mkdir -p .claude/skills
cp -r /tmp/sweety-skills/skills/sweety-image-privacy .claude/skills/sweety-image-privacy
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sweety Image Privacy in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sweety Image Privacy on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sweety Image Privacy is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Image Privacy Sanitizer

Sanitizes image privacy metadata before publishing or detector testing. It removes GPS and origin/source fields, clears macOS download/source extended attributes when possible, and writes an iPhone 16 Pro Max camera metadata profile.

This does not guarantee an image will pass AI-generation detectors. Metadata can support a real-camera workflow, but detectors can still use pixels, compression artifacts, model fingerprints, and other signals.

Script Directory

Scripts are in the scripts/ subdirectory. {baseDir} = this SKILL.md file's directory path. Resolve ${BUN_X} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bun. Replace {baseDir} and ${BUN_X} with actual values.

ScriptPurpose
scripts/main.tsCLI for privacy sanitization, iPhone-like camera metadata, and JSON audit reports

Usage

bash
${BUN_X} {baseDir}/scripts/main.ts <input> [options]

When <input> is a directory, all supported image files within the directory (and subdirectories) are processed recursively.

Options

OptionShortDescription
<input>File or directory
--output-oOutput file path (only for single file input)
--keep-kKeep original file when processing in place
--recursive-rProcess directories recursively (default for directories)
--jsonEmit JSON report
-h, --helpShow help

Notes

  • Requires sharp to be available in the runtime environment.
  • If sharp is not installed, the script will prompt to install it with bun add sharp or npm install sharp.
  • For safe in-place overwrite, the script writes to a temporary file then atomically replaces the original.
  • With exiftool, the script removes all embedded metadata first, then writes an iPhone 16 Pro Max profile: Make, Model, HostComputer, LensModel, focal length, 35mm focal length, aperture, exposure program, metering mode, flash, white balance, and color space.
  • GPS and source/origin fields are removed. The JSON report audits whether GPS, source EXIF, and required macOS source xattrs remain.
  • On macOS, the script clears Finder "Where from" and quarantine metadata. com.apple.provenance may be system-managed and can reappear locally; treat it as an audit signal, not a guaranteed blocker for web upload bytes.
  • Do not claim a generated image is a real camera photograph merely because metadata was rewritten.

Examples

bash
# Process single image, overwrite original
${BUN_X} {baseDir}/scripts/main.ts photo.jpg

# Process single image, keep original
${BUN_X} {baseDir}/scripts/main.ts photo.jpg --keep

# Process directory recursively (default behavior)
${BUN_X} {baseDir}/scripts/main.ts /user/tmp/

# Process directory, keep originals
${BUN_X} {baseDir}/scripts/main.ts /user/tmp/ --keep

# JSON audit output
${BUN_X} {baseDir}/scripts/main.ts /user/tmp/ --json

Output:

/user/tmp/photo1.jpg → /user/tmp/photo1.jpg (exiftool)
/user/tmp/subdir/photo2.png → /user/tmp/subdir/photo2.png (exiftool)

JSON output includes:

  • camera: written/observed camera profile fields.
  • privacy.gpsPresent: whether GPS remains.
  • privacy.sourceExifPresent: whether source/origin EXIF fields remain.
  • privacy.requiredMacSourceXattrsPresent: required macOS source attributes that still remain.

Extension Support

Custom configurations via EXTEND.md. See Script Directory section for the expected base directory.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sweety Image Privacy AI skill do?

Use when sanitizing image privacy metadata, removing GPS/source traces, auditing macOS xattrs, or preparing images with iPhone-like camera metadata before publishing or AI-detection checks.

Why use Sweety Image Privacy on TypingMind?

Because you install it once and use it with any model. Sweety Image Privacy is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sweety Image Privacy in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/threerocks/sweety-skills/tree/main/skills/sweety-image-privacy. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sweety Image Privacy?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sweety Image Privacy?

As many as you like. As long as a model supports skills, you can use Sweety Image Privacy with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sweety Image Privacy AI skill free?

It is published on GitHub by threerocks. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇