Agent skill

Image Optimization

by bonny in bonny/WordPress-Simple-History

Compresses PNG, JPEG, and GIF images before they are committed (pngquant + oxipng pipeline, jpegoptim/mozjpeg, vips, gifsicle).

No licenceAuto-check passedFrontend & Design

Install Image Optimization

skills CLI
$ npx skills add bonny/WordPress-Simple-History --skill image-optimization -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bonny/WordPress-Simple-History image-optimization --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bonny/WordPress-Simple-History.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/image-optimization .claude/skills/image-optimization && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
image-optimization
GitHub stars
317
Token cost
~535 tokens
SKILL.md length
206 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
None found

At a glance

Compresses PNG, JPEG, and GIF images before they are committed (pngquant + oxipng pipeline, jpegoptim/mozjpeg, vips, gifsicle).

  • Updating any image in the repo
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Such as wordpress.org screenshots

What it does

Image Optimization is an agent skill from bonny/WordPress-Simple-History. Compresses PNG, JPEG, and GIF images before they are committed (pngquant + oxipng pipeline, jpegoptim/mozjpeg, vips, gifsicle). Use when adding or updating any image in the repo, such as wordpress.org screenshots, banners, teaser images, or OG share cards.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design, covering Web performance. It works with WordPress. The repository describes itself as: 🔍🕵️♀️ WordPress audit log that track user changes in WordPress admin using a nice activity feed.

When your agent uses it

  • Updating any image in the repo
  • Such as wordpress.org screenshots

Example prompts

  • “Use the image-optimization skill to compress PNG, JPEG, and GIF images before they are committed (pngquant + oxipng pipeline, jpegoptim/mozjpeg…”
  • “/image-optimization”

What it can do on your machine

Read from SKILL.md and the folder at commit 24f337f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Image Optimization loads about 535 tokens when it runs. Until then it costs about 69 tokens; SKILL.md has 206 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~535

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 206 words (~535 tokens).

“Every PNG committed to the repo — wordpress.org screenshots and banners, teaser images, OG share cards, avatars, icons — goes through compression before it lands. These files ship to users and are served from wordpress.org's CDN, so bytes matter.”

— opening of SKILL.md by bonny
name
image-optimization

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/image-optimization of bonny/WordPress-Simple-History.

Open the folder on GitHubat commit 24f337f

Compare with similar skills

Image Optimization next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Image Optimization compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Image Optimization this skillbonny/WordPress-Simple-History317—~535Automated safety check: PassNone
Vercel React Best Practicesgambitph/Stackable350—~2kAutomated safety check: PassMIT
React Doctormakeplane/plane61k12 repos~657Automated safety check: PassAGPL-3.0
Fixing Motion Performanceibelick/ui-skills9.5k5 repos~1.4kAutomated safety check: PassMIT
GSAP Performance Tuninggreensock/gsap-skills16k4 repos~1kAutomated safety check: PassMIT
React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase10k2 repos~2.9kAutomated safety check: PassMIT

Similar skills

  • Vercel React Best Practices

    gambitph/Stackable

    React performance optimization guidelines from Vercel Engineering.

    350 GitHub stars~2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • React Doctor

    makeplane/plane

    Scans React code for lint, accessibility, bundle size and architecture issues, reports a health score and checks that changes do not lower it.

    61k GitHub starsUsed in 12 repos~657 tokens
    Frontend & DesignAuto-check passed
  • Fixing Motion Performance

    ibelick/ui-skills

    Audits and fixes web animation performance: layout thrashing, work that belongs on the compositor, scroll-linked motion and costly blur effects.

    9.5k GitHub starsUsed in 5 repos~1.4k tokens
    Frontend & DesignAuto-check passed
  • GSAP Performance Tuning

    greensock/gsap-skills

    Guides the agent to keep GSAP animations smooth by animating transforms and opacity, batching DOM reads and writes, and avoiding layout-heavy properties.

    16k GitHub starsUsed in 4 repos~1k tokens
    Frontend & DesignAuto-check passed
  • React Frontend Development Guidelines

    diet103/claude-code-infrastructure-showcase

    Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.

    10k GitHub starsUsed in 2 repos~2.9k tokens
    Frontend & DesignAuto-check passed
  • Web Quality Audit

    addyosmani/web-quality-skills

    Run an evidence-led web quality audit covering performance, accessibility, SEO, best practices, and agentic browsing.

    2.9k GitHub stars~2.6k tokensUpdated 1 mo ago
    Frontend & DesignAuto-check passed

More from bonny/WordPress-Simple-History

All 21 skills in this repo
  • Blueprint

    bonny/WordPress-Simple-History

    A skill your agent uses when the deliverable is WordPress Playground Blueprint JSON or a Blueprint bundle, including creating, editing, reviewing, validating schema keys, choosing steps/resources…

    317 GitHub starsUsed in 1 repo~4k tokens
    Auto-check passed
  • Action Links

    bonny/WordPress-Simple-History

    Guides implementation of structured action links on log events.

    317 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Changelog

    bonny/WordPress-Simple-History

    Adds changelog entries to readme.txt following keepachangelog format.

    317 GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Code Quality

    bonny/WordPress-Simple-History

    Runs linting and static analysis on PHP/CSS/JS using phpcs, phpstan, and rector.

    317 GitHub stars~519 tokensUpdated today
    Auto-check: notes
  • Create Logger

    bonny/WordPress-Simple-History

    Guides creation of custom loggers for Simple History. An agent skill from bonny/WordPress-Simple-History.

    317 GitHub stars~3.7k tokensUpdated today
    Auto-check: notes
  • Logger Messages

    bonny/WordPress-Simple-History

    Enforces active voice for logger messages and the Event Details API.

    317 GitHub stars~2k tokensUpdated today
    Auto-check passed

Works with

Questions about Image Optimization

What does Image Optimization do?

Compresses PNG, JPEG, and GIF images before they are committed (pngquant + oxipng pipeline, jpegoptim/mozjpeg, vips, gifsicle). Image Optimization is an agent skill from bonny/WordPress-Simple-History. Compresses PNG, JPEG, and GIF images before they are committed (pngquant + oxipng pipeline, jpegoptim/mozjpeg, vips, gifsicle).

When should I use Image Optimization?

Image Optimization fits situations like: updating any image in the repo; such as wordpress.org screenshots.

How do I install Image Optimization in Claude Code?

Run `npx skills add bonny/WordPress-Simple-History --skill image-optimization -a claude-code`. Or copy the skill folder (.claude/skills/image-optimization in bonny/WordPress-Simple-History) into .claude/skills/image-optimization in your project. Claude Code loads it when a task matches its description.

How do I install Image Optimization in Codex?

Run `npx skills add bonny/WordPress-Simple-History --skill image-optimization -a codex`. Or copy the skill folder (.claude/skills/image-optimization in bonny/WordPress-Simple-History) into .agents/skills/image-optimization in your project. Codex loads it when a task matches its description.

Can I use Image Optimization in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bonny/WordPress-Simple-History --skill image-optimization -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image-optimization, .gemini/skills/image-optimization, .github/skills/image-optimization and .opencode/skills/image-optimization in your project.

What does Image Optimization need to run?

SKILL.md names no scripts, command-line tools or credentials: Image Optimization is instructions for the agent only.

Does Image Optimization access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Image Optimization safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Image Optimization use?

No licence was found for Image Optimization or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Image Optimization use?

About 535 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Image Optimization?

Skills that share tags, products or a category with Image Optimization: Vercel React Best Practices (gambitph/Stackable, 350 stars), React Doctor (makeplane/plane, 61k stars), Fixing Motion Performance (ibelick/ui-skills, 9.5k stars) and GSAP Performance Tuning (greensock/gsap-skills, 16k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Image Optimization?

bonny (a GitHub user) maintains it in bonny/WordPress-Simple-History, which has 317 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 7, 2026.

Source: bonny/WordPress-Simple-History on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.