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 finsilabs/awesome-ecommerce-skills --skill woocommerce-blocksgit clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-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/finsilabs/awesome-ecommerce-skills/woocommerce-blocks)<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/woocommerce-blocks"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-blocks/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/finsilabs/awesome-ecommerce-skills/woocommerce-blocks"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/woocommerce-blocks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00027 | $0.03105 |
| Opus 5 | $0.00014 | $0.01553 |
| Sonnet 5 | $0.00005 | $0.00621 |
| Haiku 4.5 | $0.00003 | $0.00311 |
Grade A, and why
woocommerce-blocks 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 9d ago.
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 — 383 lines — stays where its author put it; the contents beside it link to each section on GitHub.
WooCommerce Blocks
Overview
WooCommerce Blocks replaces the classic shortcode-based cart and checkout with React-powered Gutenberg blocks. Custom plugins can extend the Checkout Block by registering inner blocks (custom fields inside checkout steps), using SlotFills (inject UI into predefined injection points), and extending the Store API to save and retrieve custom data. The block-based checkout is the default for new WooCommerce stores since version 8.3.
When to Use This Skill
- When adding custom fields to the checkout form (gift message, delivery date picker, VAT number)
- When injecting promotional content or upsell banners into the cart or checkout block
- When creating a custom checkout step with additional business logic
- When replacing the legacy shortcode checkout on existing WooCommerce sites
- When building a plugin that extends checkout behavior without modifying core templates
Core Instructions
-
Register a Checkout Inner Block
Inner blocks are React components that render inside a checkout step. They require PHP block registration + a JS/React frontend:
<?php // my-checkout-fields/my-checkout-fields.php add_action('woocommerce_blocks_loaded', function () { if (!class_exists('Automattic\WooCommerce\Blocks\Integrations\IntegrationInterface')) { return; } require_once __DIR__ . '/class-my-checkout-integration.php'; add_action( 'woocommerce_blocks_checkout_block_registration', function ($integration_registry) { $integration_registry->register(new My_Checkout_Integration()); } ); });<?php // class-my-checkout-integration.php use Automattic\WooCommerce\Blocks\Integrations\IntegrationInterface; class My_Checkout_Integration implements IntegrationInterface { public function get_name() { return 'my-checkout-fields'; } public function initialize() { $this->register_block_frontend_scripts(); $this->register_inner_block(); } private function register_block_frontend_scripts() { wp_register_script( 'my-checkout-fields-frontend', plugin_dir_url(__FILE__) . 'build/frontend.js', ['wc-blocks-checkout', 'wp-element'], filemtime(plugin_dir_path(__FILE__) . 'build/frontend.js'), true ); } private function register_inner_block() { register_block_type(plugin_dir_path(__FILE__) . 'build/blocks/gift-message/block.json'); } public function get_script_handles() { return ['my-checkout-fields-frontend']; } public function get_editor_script_handles() { return []; } public function get_script_data() { return []; } }
What ships with it
7 files 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.
- evals/build-configuration-and-client-side-chec/criteria.json 2.7 KB
- evals/build-configuration-and-client-side-chec/task.md 1.8 KB
- evals/inner-block-registration-and-store-api-p/criteria.json 3.6 KB
- evals/inner-block-registration-and-store-api-p/task.md 1.7 KB
- evals/slotfill-ui-injection-and-cart-data-acce/criteria.json 2.6 KB
- evals/slotfill-ui-injection-and-cart-data-acce/task.md 1.6 KB
- tile.json 211 B
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.
- 9d ago First seen · 383 lines · 27 tokens per session scan A 693b18ac6a01
woocommerce-blocks is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (52 stars, last pushed 6mo ago), licensed MIT. It adds 27 tokens to every session and 3,105 once invoked, about $0.0001 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
wordpress-block-editor-fse
Modern WordPress block development and Full Site Editing with theme.json, block themes, and custom blocks for WordPress 6.7+.
e-commerce
E-commerce platforms, payment processing, and shopping cart patterns.
cart-management
A shopping-cart assistant for checking products before an order is placed. It works when reviewing prices, stock, or the contents of a cart.
angular-developer
Generates Angular code and provides architectural guidance. Trigger when creating projects, components, services, or HTTP communication, or for best practices on reactivity (signals, linkedSignal, resource, httpResource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component…
compiler-port
Port a compiler pass from TypeScript to Rust. Gathers context, plans the port, implements in a subagent with test-fix loop, then reviews.
migrate-oxlint
Guide for migrating a project from ESLint to Oxlint. Use when asked to migrate, convert, or switch a JavaScript/TypeScript project's linter from ESLint to Oxlint.