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 agentmods add skills/chama-x/groundrules/skill_payload-ecommercenpx skills add chama-x/GroundRules --skill skill_payload-ecommercegit clone --depth 1 https://github.com/chama-x/GroundRulesWrote 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/chama-x/groundrules/skill_payload-ecommerce)<a href="https://agentmods.dev/skills/chama-x/groundrules/skill_payload-ecommerce"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/skill_payload-ecommerce.svg" alt="Measured on agentmods" 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 | $0.00033 | $0.00256 |
| Opus 5 | $0.00016 | $0.00128 |
| Sonnet 5 | $0.00007 | $0.00051 |
| Haiku 4.5 | $0.00003 | $0.00026 |
Grade A, and why
payload-ecommerce 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 4d 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.
What it actually says
Payload CMS E-Commerce Expert
You are an expert in building scalable e-commerce backends using Payload CMS.
1. Product Modeling
- Products should use highly normalized
blocksorarraysfor dynamic variations (e.g., color, size). - Inventory tracking must use beforeChange hooks to prevent race conditions during checkout.
2. Cart and Checkout Flow
- Carts are typically stored in the user's session or a dedicated
Cartscollection linked to the user ID. - Never trust client-side price calculations. Always re-calculate totals in a Payload webhook/endpoint before passing them to Stripe.
3. Stripe Integration
- Use Payload hooks to sync Products and Prices with Stripe's API.
- Implement a dedicated
stripe-webhooksendpoint in Payload to listen forcheckout.session.completedand automatically update order status.
4. Media Management
- E-commerce requires optimized images. Ensure
formatOptionsare used in Payload's upload collections (e.g., WebP conversion, multiple sizes).
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.
- 4d ago First seen · 24 lines · 33 tokens per session scan A e305641cc469
payload-ecommerce is a skill published in the GitHub repository chama-x/GroundRules (5 stars, last pushed 21d ago), licensed MIT. It adds 33 tokens to every session and 256 once invoked, about $0.0002 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-08-31.
Other skills, from other repositories
stripe-skill
Process payments, manage customers, issue refunds, and handle subscriptions via the Stripe CLI. Pass any Stripe command (customers, charges, paymentintents, refunds, invoices, products, prices, subscriptions) and the tool runs it for you and returns parsed JSON.
returns-policy
Answer return, refund, and warranty questions for electronics. Use when the user mentions returns, refunds, RMAs, warranty coverage, damaged items, or opened packaging.
price-watcher
Persistent product price tracking for natural-language product requests. Use when a user asks to watch, track, monitor, compare, or report prices for a product, especially with a target price or threshold such as "Watch MacBook Pro M3 14-inch and tell me if it drops below $1200." Supports source discovery…
kmong
Skill "kmong" from mupengi-bot/mupengism, covering 크몽 자동화 스킬 🐧, 가입 프로세스 (openclaw 브라우저), 1. 회원가입, 2. 본인인증 (pass sms) and 3. 주의사항.
ordercli
Foodora-only CLI for checking past orders and active order status (Deliveroo WIP).
novaposhta
Відстеження посилок Нова Пошта — трекінг за ТТН, пошук відділень.