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 polylang-wc-compatibilitygit 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/polylang-wc-compatibility)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/polylang-wc-compatibility"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/polylang-wc-compatibility/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/polylang-wc-compatibility"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/polylang-wc-compatibility.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.00180 | $0.02734 |
| Opus 5 | $0.00090 | $0.01367 |
| Sonnet 5 | $0.00036 | $0.00547 |
| Haiku 4.5 | $0.00018 | $0.00273 |
Grade A, and why
polylang-wc-compatibility 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 — 246 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Polylang for WooCommerce Compatibility
Use this skill when WooCommerce code must work correctly on a shop using Polylang for WooCommerce.
Polylang WC is not just "Polylang applied to products". It adds Woo-specific data stores, variation sync, stock sync, SKU checks, order language behavior, HPOS handling, Woo REST integration, and Woo settings string translation.
Detect and guard
if ( ! class_exists( 'PLLWC_Data_Store' ) || ! function_exists( 'pll_current_language' ) ) {
return;
}
Local source checked: Polylang for WooCommerce 2.2.2, minimum Polylang 3.7, WooCommerce required, Woo REST module requires Polylang Pro 3.8+.
Product language store
Use the Woo-aware language store for products and variations:
$store = PLLWC_Data_Store::load( 'product_language' );
$lang = $store->get_language( $product_id );
$fr_id = $store->get( $product_id, 'fr' );
$translations = $store->get_translations( $product_id );
The product store wraps Polylang's post model, but centralizes Woo-specific behavior. Prefer it in Woo integration code.
When creating products programmatically:
$product = new WC_Product_Simple();
$product->set_name( 'Coffee' );
$product->set_regular_price( '12.00' );
$product_id = $product->save();
$store = PLLWC_Data_Store::load( 'product_language' );
$store->set_language( $product_id, 'en' );
After creating a translation, save the group:
$store->set_language( $fr_product_id, 'fr' );
$store->save_translations( array(
'en' => $product_id,
'fr' => $fr_product_id,
) );
product and product_variation are added to translated post types but hidden from Polylang settings. Do not let users toggle these manually from your plugin.
Product queries and lang
Polylang filters Woo product queries by current language unless lang is explicitly set.
Use:
$products = wc_get_products( array(
'status' => 'publish',
'lang' => 'fr',
) );
For all languages, pass an explicit empty string:
What ships with it
1 file 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.
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 · -1 lines ea0f5440f2ed
- 8d ago First seen · 247 lines · 180 tokens per session scan A b3492bb3854f
polylang-wc-compatibility is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed yesterday), licensed MIT. It adds 180 tokens to every session and 2,734 once invoked, about $0.0009 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
localized-pricing
Guide for implementing localized pricing, adaptive currency, and purchasing power parity with Dodo Payments.
humanizar-texto-es
Elimina patrones de escritura típicos de IA en textos en español de España para que suenen naturales y humanos. Aplica esta skill siempre que generes, edites o revises textos en español: artículos, guías, tutoriales, emails, copy comercial, publicaciones en redes sociales, documentación, informes o cualquier prosa.…
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
shopify-international
Shopify Markets — multi-currency, translation, duties/taxes, localized pricing, market-specific content.
amazon-global-selling
Evaluate and plan Amazon marketplace expansion across countries and regions. Use when a seller asks which Amazon marketplace to enter, how to compare international demand and economics, what tax, product-compliance, logistics, localization, account, or launch workstreams to investigate, or how to build a gated…
muapi-amazon-product-listing
Generate a complete Amazon product listing image set — hero image, lifestyle shot, infographic with features, and comparison/detail closeups optimized for Amazon standards.