spree-customization

spree-customization is a skill for Claude Code, Codex from spree/agent-skills. It costs 142 tokens per session (2,356 once invoked), scanned A, original, MIT.

A decision guide for choosing how to add custom behavior to Spree Commerce, an online-shop platform. It maps common changes to suitable extension approaches and more specific guidance.

In plain words
What is it for?
Use it when adding behavior, changing settings, extending models, connecting outside services, or deciding between approaches such as decorators and subscribers.
Why use it?
It addresses the common problem of putting custom code in the wrong place or choosing an approach that is hard to maintain during upgrades. It helps distinguish configuration, event handling, and deeper extensions.

Skill for Claude CodeCodex

Part of the spree plugin — 26 skills, 2 commands, 1 agent, 2 hooks shipped together

Install

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.

agentmods
npx agentmods add skills/spree/agent-skills/spree-customization
Any agent
npx skills add spree/agent-skills --skill spree-customization
Clone the repo
git clone --depth 1 https://github.com/spree/agent-skills

Made for: Claude Code, Codex.

Or install spree, the plugin that ships this one along with the rest of its 26 skills, 2 commands, 1 agent, 2 hooks.

Wrote 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.

agentmods badge for spree-customization

README.md
[![agentmods](https://agentmods.dev/badge/skills/spree/agent-skills/spree-customization.svg)](https://agentmods.dev/skills/spree/agent-skills/spree-customization)
Your own site
<a href="https://agentmods.dev/skills/spree/agent-skills/spree-customization"><img src="https://agentmods.dev/badge/skills/spree/agent-skills/spree-customization.svg" alt="Measured on agentmods" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00142 $0.02356
Opus 5 $0.00071 $0.01178
Sonnet 5 $0.00028 $0.00471
Haiku 4.5 $0.00014 $0.00236

Measured 5d ago against content hash 47bd83f4c218, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spree-customization 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 5d 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.

skills/spree-customization/SKILL.md · 199 lines

How it starts

The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Spree Customization — Where Does My Code Belong?

Commands below use the Spree CLI form (spree …, Docker). On a classic Rails app without the CLI (typical pre-5.4), use the native mapping in the spree-project skill — bin/rails / bundle exec rake from the app root, paths without the backend/ prefix.

Spree is heavily customizable. The work of any Spree project is mostly customization — wiring in external services, adding custom models, tweaking behavior, extending the admin. The thing that's hard isn't how to customize; it's which pattern fits a given problem.

This skill is a decision tree. It maps a customization need to the right specific skill — read those for the deep dive. Walk the table top to bottom; the higher options are simpler and survive upgrades better than the lower ones.

The decision tree

What you're trying to do Reach for Deep-dive skill
Change merchant-facing settings (currencies, languages, tax zones, shipping methods, payment methods) Admin Settings UI
Tweak Spree's runtime behavior globally Spree.config block (config.<setting> = …) in config/initializers/spree.rb; read anywhere via Spree::Config[:key] (configuration is straightforward — see docs link below)
React to something happening in Spree (order completed, product updated, customer registered, stock changed) Events subscriber spree-events-webhooks
Notify an external service (ERP, CRM, fulfillment, analytics, Slack) when something happens Events subscriber OR outbound webhook spree-events-webhooks
Replace how a core service computes (cart add, tax calculation, search, checkout flow, ability checks) Dependency injection via Spree.dependencies spree-dependencies
Add a menu item / nav entry to the admin Spree.admin.navigation.sidebar.add spree-admin
Add a section / form field to an existing admin page Spree.admin.partials.<page> << '...' spree-admin
Customize an admin table (columns, sort) Spree.admin.tables.<key>.add ... spree-admin
Make a new attribute searchable / filterable in the API or admin Spree.ransack.add_attribute(Class, :attr) spree-api-v3
Customize the checkout flow (skip a step, add a step, change validation) checkout_flow block on a Spree::Order decorator spree-checkout
Add a brand-new model + API endpoint (Brand, Vendor, etc.) spree:api_resource generator spree-resource
Add a Spree model with no API surface (internal record, lookup table, supporting model) spree:model generator spree-resource
Add an association / validation / scope / method to an existing Spree model Decorator via spree:model_decorator spree-decorators
Add a before_action / new action / override existing action on an existing controller Decorator via spree:controller_decorator spree-decorators
Pull in a third-party gem (Stripe, Adyen, search, i18n, social login) gem 'spree_x' + install generator spree-extensions
Package customization to share across multiple Spree apps Build an extension (Rails engine as a gem) spree-extensions

Read the full file on GitHub · 199 lines

Changes

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.

  1. 5d ago First seen · 199 lines · 142 tokens per session scan A 47bd83f4c218

Subscribe to this mod's changes

spree-customization is a skill published in the GitHub repository spree/agent-skills (4 stars, last pushed 2mo ago), licensed MIT. It adds 142 tokens to every session and 2,356 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-08-31.

Related

Other skills, from other repositories

nemoclaw-contributor-implement-issue

Implement an accepted NemoClaw GitHub issue in the current checkout. Use when a user asks to pick up an issue for implementation, implement or fix a named issue, or add the issue's tests. Confirm accepted scope, deliver the smallest independently valuable capability slice, and record validation and remaining gates…

NVIDIA/NemoClaw · 134 tokens

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

shopify-functions

Shopify Functions allow developers to customize the backend logic that powers parts of Shopify. Available APIs: Discount, Cart and Checkout Validation, Cart Transform, Pickup Point Delivery Option Generator, Delivery Customization, Fulfillment Constraints, Local Pickup Delivery Option Generator, Order Routing Location…

Shopify/Shopify-AI-Toolkit · 61 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens