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.
npx skills add Lonsdale201/wp-agent-skills --skill wc-variation-gallerygit clone --depth 1 https://github.com/Lonsdale201/wp-agent-skillsWrote 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.
[](https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wc-variation-gallery)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wc-variation-gallery"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wc-variation-gallery/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.
<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/wc-variation-gallery"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/wc-variation-gallery.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00135 | $0.02467 |
| Opus 5 | $0.00068 | $0.01234 |
| Sonnet 5 | $0.00027 | $0.00493 |
| Haiku 4.5 | $0.00014 | $0.00247 |
Grade A, and why
wc-variation-gallery 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 204 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WooCommerce variation gallery
Use this skill when a plugin or theme needs to read, write, render, or audit WooCommerce native variation gallery images. This is separate from attribute swatches: swatches choose an attribute value; variation gallery controls the images shown after a variation is selected.
Source-verified status in 11.0.0
- Feature ID:
variation_gallery. - Feature option:
wc_feature_woocommerce_additional_variation_images_enabled. - Rollout: experimental. Explicit
yesornoin the option wins; when the option is absent, stores assigned to remote variant buckets 1–6 of 120 (5%) are enabled as a canary cohort. - Merged package slug:
woocommerce-additional-variation-images. - Native storage: variation
gallery_image_idsprop, stored in_product_image_galleryon theproduct_variationpost. - Primary image: still the variation image/thumbnail (
set_image_id(),_thumbnail_id, RESTimage). - Additional gallery images:
set_gallery_image_ids()/ RESTgallery_image_ids; these exclude the primary image. - Classic frontend data:
WC_Product_Variable::get_available_variation()returnsgallery_image_idsandgallery_images_htmlwhen the feature is enabled. - Legacy Additional Variation Images meta:
_wc_additional_variation_images; fallback is disabled by_wc_variation_gallery_legacy_fallback_disabled. - Migration completion option:
wc_variation_gallery_migration_completed_at.
Mental model
The admin UI shows one ordered gallery list for a variation, but storage is split:
Displayed ordered list: [ 101, 102, 103 ]
Primary image: 101 -> variation image (`_thumbnail_id`)
Gallery image IDs: 102,103 -> `_product_image_gallery`
Do not store the primary image again in gallery_image_ids. WooCommerce REST v3 removes the featured image from gallery_image_ids before saving.
Feature gate
Use WooCommerce's public feature API to decide whether storefront behavior should expect variation gallery swapping:
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.
- yesterday Changed e21f88a789ed
- 9d ago First seen · 204 lines · 135 tokens per session scan A cec5bccf6281
wc-variation-gallery is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 135 tokens to every session and 2,467 once invoked, about $0.0007 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-09-03.
Other skills, from other repositories
commerce-app-admin-ui
Add or modify Adobe Commerce Admin UI extensions on the commerce/backend-ui/2 extension point: custom grid columns, mass actions, order view buttons, and a custom Admin menu entry. Use whenever the user wants to extend the Commerce Admin — add a column to the order, product, or customer grid, add a bulk/mass action to…
shopify-developer
Complete Shopify development reference covering Liquid templating, OS 2.0 themes, GraphQL APIs, Hydrogen, Functions, and performance optimization (API v2026-01). Use when working with .liquid files, building Shopify themes or apps, writing GraphQL queries for Shopify, debugging Liquid errors, creating app extensions…
static-seo
Audits and improves SEO for static HTML sites. Use when the user asks to audit, set up, or improve SEO on a static site (Hugo, Jekyll, 11ty, Gatsby, Next.js static export, hand-rolled HTML, or wp-static-clone output), or mentions head metadata, structured data, JSON-LD, sitemaps, IndexNow, Open Graph images, schema…
wp-static-clone
Clones a live WordPress (or other CMS-driven) site into a static HTML site deployable on any static host (Cloudflare Pages, Netlify, Vercel, S3+CloudFront, plain Apache/nginx). Use when the user wants to "scrape", "freeze", "archive", "static-ify", or "move to [host]" a WordPress site, or asks to turn a sitemap into…
billing-sdk
Guide for building billing UI with BillingSDK - the open-source React component library for pricing tables, subscription management, usage meters, invoice history, and customer portal flows wired to Dodo Payments.
shopify-hydrogen
Hydrogen storefront implementation cookbooks. Some of the available recipes are: B2B Commerce, Bundles, Combined Listings, Custom Cart Method, Dynamic Content with Metaobjects, Express Server, Google Tag Manager Integration, Infinite Scroll, Legacy Customer Account Flow, Markets, Partytown + Google Tag Manager…