image-audit-skill
v0.2.0
Published
Install the Image Audit skill and Claude Code command for safe repo image optimization.
Downloads
231
Maintainers
Readme
Image Audit
Audit repo images and apply only the safe fixes.
Repo: https://github.com/Saamael/image-audit-skill
Install
Claude Code:
npx image-audit-skill install --claudeThen inside a repo, run:
/imageauditApply safe fixes explicitly:
/imageaudit fixCodex:
npx image-audit-skill install --codexThen ask Codex:
Use the image-audit skill to audit this repo.Use the image-audit skill to apply safe image fixes in this repo.
What it does
- audits repo images, references, duplicates, and oversized assets
- classifies safe WebP wins vs manual-review files
- uses the best image tool already available on the machine
- keeps originals
- updates references only when the replacement is exact and safe
Safe by default
/imageauditis audit-only/imageaudit fixis explicit apply mode- logos, icons, screenshots, alpha-heavy PNGs, and SVG candidates are not blindly converted
Backends it can use
In order:
- repo-native tooling like
sharp cwebpmagickpythonwith Pillowffmpeg
If none are available, it still audits the repo and tells you what is missing.
This package does not ship a bundled optimizer script. The agent uses what the repo or machine already has.
Other install options
Claude Code, current project only:
npx image-audit-skill install --claude --project .Codex:
npx image-audit-skill install --codexCodex, current project only:
npx image-audit-skill install --codex --project .Claude Code usage
/imageaudit/imageaudit src/imageaudit fix/imageaudit fix src/imageaudit supabase blog-imagesSupabase audits expect:
SUPABASE_URLSUPABASE_SERVICE_ROLE_KEY
Codex usage
After install, ask Codex to use the skill directly:
Use the image-audit skill to audit this repo and tell me what is safe to optimize.Use the image-audit skill to apply safe image fixes in this repo.
Summary
- Install:
npx image-audit-skill install --claude- Run:
/imageaudit- Fix:
/imageaudit fix