Borrowing it
Nothing to install: this file belongs to chama-x/GroundRules. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/chama-x/GroundRules/master/.agents/archive/v3/skill_payload-ecommerce/SKILL.mdgit 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/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/chama-x/groundrules/skill_payload-ecommerce"><img src="https://agentmods.dev/badge/skills/chama-x/groundrules/skill_payload-ecommerce.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.00033 | $0.00256 |
| Opus 5.5 | $0.00013 | $0.00102 |
| Sonnet 5.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 3mo 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.
- 3mo 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 19d ago), licensed MIT. It adds 33 tokens to every session and 256 once invoked, about $0.0001 per session on Opus 5.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.
payload-ecommerce compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| payload-ecommercechama-x/GroundRules | Skill | 5 | 19d ago | MIT | A | 33 | Claude Code, Codex |
| agent-app-storeruvnet/ruflo | Skill | 83k | today | MIT | A | 16 | Claude Code |
| stripe-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 56 | Claude Code |
| dodo-payments-skillzeenie-ai/OpenCompany | Skill | 1.1k | 4d ago | MIT | A | 69 | Claude Code |
| returns-policystrands-agents/samples | Skill | 955 | 5d ago | Apache-2.0 | A | 36 | Claude Code |
| price-watcherPrompthon-IO/agent-systems-handbook | Skill | 316 | yesterday | none | A | 86 | Codex |
| orderclispinabot/brigade | Skill | 11k | 4d ago | MIT | A | 21 | Claude Code, Codex |